Skip to content

Support multiple methods for loading a swagger document. #100

@ashoda

Description

@ashoda

There are various requests around supporting loading swagger docs by different means.
Current behavior

  • Load JSON from a path relative to the application

Requested:

  • Load YAML from a path relative to the application
  • Load JSON from local file
  • JSON string

It'd make sense for us to look at the various request to determine the ideal approach to makes loading a swagger doc a bit more flexible.

My initial thought is to add support for a Hash or a JSON string in addition to what we currently support, which would afford people enough flexibility to decide how they'd like to load the swagger doc.

cc: @gwshaw @jreece1567

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions