Feature Pack 8

Disabling the Swagger UI

The Swagger UI relies on the WebShere Commerce REST Discovery API for functionality. This API is enabled by default on both developer and runtime environments. You can disable the Swagger UI by disabling the WebShere Commerce REST Discovery API.

Procedure

  • When you install JR53438.fep, the Discovery API is disabled. No additional file changes are required to disable the API. You can, however, disable the Discovery API without installing JR53438.fep.
  • The availability of the REST Discovery API is controlled by the ApiDiscoveryEnabled property. You can enable or disable this property within the wc-component.xml file for the foundation component. For more information about updating wc-component.xml files, see Changing REST configuration properties in the component configuration file (wc-component.xml).