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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content