Documentation

Trace:

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
applications:swagger_filter [2019/04/05 11:52]
admin created
applications:swagger_filter [2020/07/01 17:15] (current)
cduncan Edited for English grammar (capitalization, punctuation, correct verb conjugation)
Line 1: Line 1:
-If you use Swagger UI for REST API documentation,​ it's relevant to set the correct host and basePath in the json specification file. To use the current host and path, simply use the integrated ​Filter: +~~NOTRANS~~ 
-It will replace the **host** and **basePath** with current information:​+~~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> <file xml>
Line 8: Line 10:
     <​async-supported>​true</​async-supported>​     <​async-supported>​true</​async-supported>​
   </​filter>​   </​filter>​
 +  ​
   <​filter-mapping>​   <​filter-mapping>​
     <​filter-name>​RestApiFilter</​filter-name>​     <​filter-name>​RestApiFilter</​filter-name>​
Line 13: Line 16:
   </​filter-mapping> ​   </​filter-mapping> ​
 </​file>​ </​file>​
 +
 +The filter only supports **json** specification files.
This website uses cookies for visitor traffic analysis. By using the website, you agree with storing the cookies on your computer.More information