Skip to content

Can I pass json files with v1.2 spec in URL #908

@nikhiljindal

Description

@nikhiljindal

Hi,

I want to pass my json files with swagger spec as part of the URL to generate swagger UI for them.
I know that this is possible in Swagger 2.0 using the spec param (https://github.com/swagger-api/swagger-ui#parameters), but I want to know if there is way to do this in v1.2
I cant upgrade to 2.0, since some of the frameworks I use to generate the spec only support v1.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions