arrow_back history picture_as_pdf This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ~~NOTRANS~~ ~~Title: REST API Filter~~ If you use [[https://swagger.io/tools/swagger-ui/|Swagger UI]] for REST API documentation, it's relevant to set the correct **host** and **basePath** in the specification file. To use the current host and path, simply use the integrated Filter. It will replace the **host** and **basePath** with current information: <file xml> <filter> <filter-name>RestApiFilter</filter-name> <filter-class>com.sibvisions.apps.server.http.RestApiFilter</filter-class> <async-supported>true</async-supported> </filter> <filter-mapping> <filter-name>RestApiFilter</filter-name> <url-pattern>*.json</url-pattern> </filter-mapping> </file>