Merge pull request #6231 from 1F497/openapi-update

Updated openapi template
patch-1
Dhiyaneshwaran 2023-01-18 02:34:40 +05:30 committed by GitHub
commit a65353c613
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 6 deletions

View File

@ -2,7 +2,7 @@ id: openapi
info:
name: OpenAPI
author: pdteam
author: pdteam,ynnirc
severity: info
tags: exposure,api
@ -13,17 +13,19 @@ requests:
matchers-condition: and
matchers:
- type: word
words:
- application/openapi+json
part: header
- type: word
words:
- openapi
- paths
condition: and
- type: word
part: header
words:
- application/openapi+json
- application/json
condition: or
- type: status
status:
- 200