You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run my spec through the linter I get the following error:
One or more errors exist in the OpenApi definition
at: paths
at: /queues/{path}/{file}
Path parameter definitions inconsistent
at: get
Definition missing path parameters: path, file
I'm having trouble finding where this is required by the spec. Is it possible this shouldn't be alerting?
The text was updated successfully, but these errors were encountered:
Help me to understand the question a bit better. Have you defined a path /queues/{path}/{file} that does not define parameters, specifically the path parameters?
I also could not find this clearly written in the spec, besides that in the parameters object all path parameters are supposed to be set to required: true:
If the parameter location is "path", this property is REQUIRED and its value MUST be true. Otherwise, the property MAY be included and its default value is false.
Also, trying to define a path /queues/{path}/{file} in the online swagger editor without defining the parameters in the parameter array results in these errors:
Declared path parameter "path" needs to be defined as a path parameter at either the path or operation level
Declared path parameter "file" needs to be defined as a path parameter at either the path or operation level
Am I misunderstanding the question? You're OpenAPI document might help, or a portion of it, to understand better the question.
When I run my spec through the linter I get the following error:
I'm having trouble finding where this is required by the spec. Is it possible this shouldn't be alerting?
The text was updated successfully, but these errors were encountered: