diff --git a/exposures/apis/openapi.yaml b/exposures/apis/openapi.yaml index 3b4952d152..a2dfe39728 100644 --- a/exposures/apis/openapi.yaml +++ b/exposures/apis/openapi.yaml @@ -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