|
|
|
Change By:
|
Tobias Mattsson
(12/Nov/13 9:10 AM)
|
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.
|
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
----------------------------------------------------------------
For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <dev-list-unsubscr...@magnolia-cms.com>
----------------------------------------------------------------