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
spec SPEC Object={}. A JavaScript object describing the OpenAPI definition. When used, the url parameter will not be parsed. This is useful for testing manually-generated definitions without hosting them.
Q&A (please complete the following information)
Content & configuration
Example Swagger/OpenAPI definition:
Swagger-Editor configuration options:
Describe the bug you're encountering
I'm trying to pass the spec parameter in the url to the swagger editor to be able to open the API spec passed in the URL
https://editor.swagger.io/?spec={...}
as documented here:
https://swagger.io/docs/open-source-tools/swagger-ui/usage/configuration/
spec SPEC Object={}. A JavaScript object describing the OpenAPI definition. When used, the url parameter will not be parsed. This is useful for testing manually-generated definitions without hosting them.
but it seems that doesn't work, here the example
below the spec put in the link:
To reproduce...
Steps to reproduce the behavior:
Expected behavior
the swagger online editor should open the specification passed in the spec query parameter
Screenshots
Additional context or thoughts
The text was updated successfully, but these errors were encountered: