Details
-
Type: Epic
-
Status: Resolved
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 3.6.0, 3.6.0.E
-
Component/s: manager server, sf API
-
Labels:
-
Epic Name:OpenAPI compliant spec for API
Description
As a system integrator I would like to have clear interface for all APIs provided by the platform so that I can design my integration points to specification.
Could potentially consider XML based approach with environment specific switches to disable UI in PROD systems:
<!-- Bean for generating docs --> <bean id="swagger2Config" class="springfox.documentation.swagger2.configuration.Swagger2DocumentationConfiguration"> </bean> <!-- UI resources --> <mvc:resources order="1" location="/resources/" mapping="/resources/**" /> <mvc:resources mapping="swagger-ui.html" location="classpath:/META-INF/resources/" /> <mvc:resources mapping="/webjars/**" location="classpath:/META-INF/resources/webjars/" />
Attachments
Issue Links
- linked from
-
YC-969 Enable swagger spec for Admin
- Resolved