OpenAPI Paths API (Edit)

There are very few situations where you actually want the acronym API in the path of your API, only when it is a resource.

OpenAPIPathsDefault

Rule Definition

openapi-paths-apis-error.yaml
{"openapi-no-api-in-path-error":{"description":"There are very few situations where you actually want the acronym API in the path of your API, only when it is a resource.","message":"The Word API SHOULD NOT Be in Path","severity":"error","given":"$.paths.*~","then":{"function":"pattern","functionOptions":{"match":"^\\b(API|api)\\b"}}}}

Back to All of the Rules