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
// Begin Swagger UI call regionconstui=SwaggerUIBundle({configUrl: "swagger-config",dom_id: '#swagger-ui'})// End Swagger UI call region
(I think) the problem is that when Swagger UI reads the configuration file, it doesn't know what format it's written in (see the documentation about Swagger UI parameters. The resulting Swagger UI is a blank page with "No API definition provided.".
When providing a
swagger-config-file
(for exampleswagger-config.yaml
), it's copied as aswagger-config
file (without an extension). This file is then used bySwaggerUIBundle
inindex.html
:(I think) the problem is that when Swagger UI reads the configuration file, it doesn't know what format it's written in (see the documentation about Swagger UI parameters. The resulting Swagger UI is a blank page with "No API definition provided.".
A solution would be to use
instead of
in swagger-ui-action.ts#L66.
The text was updated successfully, but these errors were encountered: