Merge pull request #1956 from its0x08/patch-2

Created fastapi-docs template
patch-1
Sandeep Singh 2021-07-13 14:52:14 +05:30 committed by GitHub
commit 2393dd07a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 22 additions and 0 deletions

View File

@ -0,0 +1,22 @@
id: fastapi-docs
info:
name: FastAPI Docs
author: github.com/its0x08
severity: info
tags: fastapi,tech,panel
requests:
- method: GET
path:
- "{{BaseURL}}/docs"
- "{{BaseURL}}/redoc"
- "{{BaseURL}}/openapi.json"
matchers:
- type: word
words:
- "<title>FastAPI - Swagger UI</title>"
- "<title>FastAPI - ReDoc</title>"
- '{"title":"FastAPI"'
condition: or