Uploaded image for project: 'Isis'
  1. Isis
  2. ISIS-1775

Context-Path support for SwaggerService

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Resolved
    • Affects Version/s: 1.15.1
    • Fix Version/s: 2.0.0-M1
    • Component/s: Core
    • Labels:
      None

      Description

      Let's say we deploy a web-app that has e.g. context path '/simple'.
      Then we would need to configure the IsisConfiguration property 'isis.services.swagger.restfulBasePath' (default = '/restful') to '/simple/restful', in order for the swagger-ui to work properly.

      We can instead implement o.a.i.c.m.services.SwaggerServiceDefault such that it automatically prefixes the swaggerBasePath with the app's context path (if present).

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                hobrom Andi Huber
                Reporter:
                hobrom Andi Huber
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: