OpenAPI Info Description Script Tag Info (Edit)

Script tags MUST not be included in the description of an API, keeping descriptions to just the text that is needed, and relying on the rest of the OpenAPI to describe what is possible.

OpenAPIMetadataDefaultDocumentation

Rule Definition

openapi-info-description-script-info.yaml
{"openapi-info-description-script-info":{"description":"Script tags MUST not be included in the description of an API, keeping descriptions to just the text that is needed, and relying on the rest of the OpenAPI to describe what is possible.","message":"Info Description Does Not Have Script Tag","severity":"info","given":"$.info","then":{"field":"description","function":"pattern","functionOptions":{"match":"^\\b(<script)\\b"}}}}

Back to All of the Rules