OpenAPI Parameters Componentized Error (Edit)

Having all parameters using the central OpenAPI components parameters object helps increase the reusability of parameters across API operations, but it also help standardize parameter across all APIs

OpenAPIComponentsParameters

Rule Definition

openapi-parameters-componentized-error.yaml
{"openapi-parameters-componentized-error":{"description":"Having all parameters using the central OpenAPI components parameters object helps increase the reusability of parameters across API operations, but it also help standardize parameter across all APIs","message":"Parameters MUST use components $ref.","severity":"error","resolved":false,"given":"$.paths.*.*.parameters.*","then":{"field":"$ref","function":"truthy"}}}

Back to All of the Rules