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
The SO question's sample has an additional issue with it that doesn't allow it to render properly, but once fixed, the issue is clear.
Sample spec to reproduce:
{"swagger": "2.0","info": {"title": "TITLE","description": "BLAH, BLAH, BLAH, ETC","version": "1.0b"},"host": "api.example.com","schemes": ["http"],"basePath": "/v1","produces": ["application/json"],"paths": {"/match.json": {"get": {"description": "Used for getting data about a match","parameters": [{"name": "id","in": "query","description": "The match ID of from a game","required": true,"type": "integer","format": "int32"},{"name": "key","in": "query","description": "API key used for authentication.","required": true,"type": "string"}],"responses": {"200": {"description": "Returns match data","schema": {"type": "string"}}}}}}}
The text was updated successfully, but these errors were encountered:
Following the question on SO - http://stackoverflow.com/questions/27046475/swagger-ui-2-1-stuck-fetching-resource-list - there's the UI will not expand if the path is
/match.json
when clicking on it. The same would apply for/match.hello
. Clicking onExpand Operations
will show the operation.The SO question's sample has an additional issue with it that doesn't allow it to render properly, but once fixed, the issue is clear.
Sample spec to reproduce:
The text was updated successfully, but these errors were encountered: