Openapi Info Terms Of Service Error (Edit)

Require terms of service.

Rule Definition

openapi-info-terms-of-service-error.yaml
{ "openapi-info-terms-of-service-error": {"description":"Require terms of service.","message":"Terms of Service","severity":"error","given":"$.info","then":{"field":"termsOfService","function":"truthy"}} }

Back to All of the Rules