Uploaded image for project: 'Causeway'
  1. Causeway
  2. CAUSEWAY-1775

Context-Path support for SwaggerService

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Resolved
    • 1.15.1
    • 2.0.0-M1
    • Core
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: