Skip to content

Specify multiple paths or folders for swagger options url #104

Open
@aniketstiwari

Description

@aniketstiwari

How to specify different paths or folders for swagger options.url. Right now swagger looks inside a single directory

GrapeSwaggerRails.options.url = "/api/services/swagger_doc.json"

What I am looking for If I have multiple directories how can I specify them? I have tried like the below but I get an error **Can't read swagger JSON from **

GrapeSwaggerRails.options.url = ["/api/services/swagger_doc.json", "/retailers/users/swagger_doc.json" ]

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions