Uploaded image for project: 'YesCart'
  1. YesCart
  2. YC-968

OpenAPI compliant spec for API

    Details

    • 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

            Activity

              People

              • Assignee:
                InspireSoftware InspireSoftware
                Reporter:
                InspireSoftware InspireSoftware
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: