How can I load a given ActiveDocs spec in Swagger UI 2.2.10?

Solution Verified - Updated -

Issue

  • I'm trying to upgrade to Swagger UI 2.2.10 and I need to load an ActiveDocs spec for a particular service. However, the below code does not work:
{% cdn_asset /swagger-ui/2.2.10/swagger-ui.js %}
{% cdn_asset /swagger-ui/2.2.10/swagger-ui.css %}
{% include 'shared/swagger_ui' services: "my-api" %}

Environment

  • Red Hat 3scale API Management Platform SaaS
  • Swagger UI 2.2.10

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.