Merge pull request #6618 from sbani/nemlio-docs

Add Nemlio API Docs Detection to Swagger Template
patch-1
pussycat0x 2023-01-27 15:11:24 +05:30 committed by GitHub
commit e2b0d6ce94
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 0 deletions

View File

@ -26,6 +26,7 @@ requests:
- "{{BaseURL}}/swagger/v1/swagger.json" - "{{BaseURL}}/swagger/v1/swagger.json"
- "{{BaseURL}}/swagger/v1/swagger.yaml" - "{{BaseURL}}/swagger/v1/swagger.yaml"
- "{{BaseURL}}/api/index.html" - "{{BaseURL}}/api/index.html"
- "{{BaseURL}}/api/doc"
- "{{BaseURL}}/api/docs/" - "{{BaseURL}}/api/docs/"
- "{{BaseURL}}/api/swagger.json" - "{{BaseURL}}/api/swagger.json"
- "{{BaseURL}}/api/swagger.yaml" - "{{BaseURL}}/api/swagger.yaml"
@ -39,6 +40,7 @@ requests:
- "{{BaseURL}}/api/apidocs/swagger.json" - "{{BaseURL}}/api/apidocs/swagger.json"
- "{{BaseURL}}/api/apidocs/swagger.yaml" - "{{BaseURL}}/api/apidocs/swagger.yaml"
- "{{BaseURL}}/api/swagger-ui/api-docs" - "{{BaseURL}}/api/swagger-ui/api-docs"
- "{{BaseURL}}/api/doc.json"
- "{{BaseURL}}/api/api-docs" - "{{BaseURL}}/api/api-docs"
- "{{BaseURL}}/api/apidocs" - "{{BaseURL}}/api/apidocs"
- "{{BaseURL}}/api/swagger" - "{{BaseURL}}/api/swagger"
@ -56,6 +58,11 @@ requests:
- "{{BaseURL}}/api/v1/swagger-ui/swagger.yaml" - "{{BaseURL}}/api/v1/swagger-ui/swagger.yaml"
- "{{BaseURL}}/swagger-resources/restservices/v2/api-docs" - "{{BaseURL}}/swagger-resources/restservices/v2/api-docs"
- "{{BaseURL}}/api/swagger_doc.json" - "{{BaseURL}}/api/swagger_doc.json"
- "{{BaseURL}}/docu"
- "{{BaseURL}}/docs"
headers:
Accept: text/html
stop-at-first-match: true stop-at-first-match: true
matchers-condition: and matchers-condition: and
@ -66,7 +73,9 @@ requests:
- "Swagger 2.0" - "Swagger 2.0"
- "\"swagger\":" - "\"swagger\":"
- "Swagger UI" - "Swagger UI"
- "loadSwaggerUI"
- "**token**:" - "**token**:"
- "id=\"swagger-ui"
condition: or condition: or
- type: status - type: status