Details
-
Improvement
-
Resolution: Won't Fix
-
Neutral
-
None
-
None
-
None
-
-
Empty show more show less
-
5.2-rc1
Description
If we were to configure instead '/.rest' on the module and then check if it starts with http:// or https:// and otherwise change it by prepending it with the context path we could make the module work out of the box without configuration.
The tools app would instead open '/.resources/swagger-ui/index.html?apiBasepath=/magnoliaAuthor/.rest' which works.
The result of calling 'http://localhost:8080/magnoliaAuthor/.rest/api-docs/properties/v1' however changes the 'basePath' property from being absolute with protocol and host to being absolute without protocol and host. I.e. /magnoliaAuthor/.rest as opposed to http://localhost:8080/magnoliaAuthor/.rest. Which might not work with other tools without reconfiguring.
Checklists
Acceptance criteria