You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A Swagger API spec in 1.2 would expect an API Declaration for each API you described in Resource Listing. For example, a valid Swagger 1.2 file structure can be something looks like:
resource_list.json # root document
pet.json # pet api
store.json # store api
user.json # user api
An example can be found in tests under this project.
Pyswagger appears to be expecting nested swagger.{json.yml} docs at each 'path' in the API tree for an API specified as a local files, (file://):
I have a swagger 1.2 doc, applications.json, handed to me from another team from which to develop a client.
(output truncated for brevity)
It's looking for additional swagger json/yml files for each path in the API doc.
I thought perhaps it was intended to work only for http:// API docs, but it does check for file:// as a valid URL type.
This is a swagger 1.2 doc.
I confirmed that this does not happen with a local copy of http://petstore.swagger.io/v2/swagger.json.
The text was updated successfully, but these errors were encountered: