When the SERVICE_NAME is changed in
{% active_docs version: "2.0" services: "SERVICE_NAME" %} after once being published, the change is not being picked up.
As a workaround the window.swaggerUi.options['url'] can be used if changing SERVICE_NAME, but then the active_docs tag needs to be removed.
Also the documentation doesn't mention the following lines, nor that the following lines must be below the active_docs tag, or else the Swagger spec won't be rendered:
{% cdn_asset /swagger-ui/2.2.10/swagger-ui.js %} {% cdn_asset /swagger-ui/2.2.10/swagger-ui.css %} {% include 'shared/swagger_ui' %}- is cloned by
-
THREESCALE-2597 Additional lines required after active_docs Liquid tag
- Closed