[
https://issues.apache.org/jira/browse/ISIS-1775?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16248937#comment-16248937
]
ASF subversion and git services commented on ISIS-1775:
-------------------------------------------------------
Commit aec3f286ca96381ba0c7e8e40cc95896408a5dba in isis's branch
refs/heads/dev/2.0.0/ISIS-1767-jee-7 from [~hobrom]
[ https://gitbox.apache.org/repos/asf?p=isis.git;h=aec3f28 ]
ISIS-1775 Honor web-app's context path when configuring swagger.
> Auto-Configure SwaggerServiceDefault if Web-App has a Context-Path
> ------------------------------------------------------------------
>
> Key: ISIS-1775
> URL: https://issues.apache.org/jira/browse/ISIS-1775
> Project: Isis
> Issue Type: Improvement
> Components: Core
> Affects Versions: 1.15.1
> Reporter: Andi Huber
> Assignee: Andi Huber
> Priority: Minor
> Fix For: 2.0.0
>
>
> 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).
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)