Merge pull request #6618 from sbani/nemlio-docs
Add Nemlio API Docs Detection to Swagger Templatepatch-1
commit
e2b0d6ce94
|
@ -26,6 +26,7 @@ requests:
|
|||
- "{{BaseURL}}/swagger/v1/swagger.json"
|
||||
- "{{BaseURL}}/swagger/v1/swagger.yaml"
|
||||
- "{{BaseURL}}/api/index.html"
|
||||
- "{{BaseURL}}/api/doc"
|
||||
- "{{BaseURL}}/api/docs/"
|
||||
- "{{BaseURL}}/api/swagger.json"
|
||||
- "{{BaseURL}}/api/swagger.yaml"
|
||||
|
@ -39,6 +40,7 @@ requests:
|
|||
- "{{BaseURL}}/api/apidocs/swagger.json"
|
||||
- "{{BaseURL}}/api/apidocs/swagger.yaml"
|
||||
- "{{BaseURL}}/api/swagger-ui/api-docs"
|
||||
- "{{BaseURL}}/api/doc.json"
|
||||
- "{{BaseURL}}/api/api-docs"
|
||||
- "{{BaseURL}}/api/apidocs"
|
||||
- "{{BaseURL}}/api/swagger"
|
||||
|
@ -56,6 +58,11 @@ requests:
|
|||
- "{{BaseURL}}/api/v1/swagger-ui/swagger.yaml"
|
||||
- "{{BaseURL}}/swagger-resources/restservices/v2/api-docs"
|
||||
- "{{BaseURL}}/api/swagger_doc.json"
|
||||
- "{{BaseURL}}/docu"
|
||||
- "{{BaseURL}}/docs"
|
||||
|
||||
headers:
|
||||
Accept: text/html
|
||||
|
||||
stop-at-first-match: true
|
||||
matchers-condition: and
|
||||
|
@ -66,7 +73,9 @@ requests:
|
|||
- "Swagger 2.0"
|
||||
- "\"swagger\":"
|
||||
- "Swagger UI"
|
||||
- "loadSwaggerUI"
|
||||
- "**token**:"
|
||||
- "id=\"swagger-ui"
|
||||
condition: or
|
||||
|
||||
- type: status
|
||||
|
|
Loading…
Reference in New Issue