-
Notifications
You must be signed in to change notification settings - Fork 93
Open
Description
using petstore.yaml
and the "required_param_has_default": "error" config option
adding default: some_string here on a parameter and running lint-openapi does correctly return an error
however setting default: some_string here on a property does not return a error
the config option "required_param_has_default": "error" refers to param so I guess this excludes request body objects etc (?)
if so, I was wondering if this is something that makes sense to add (because it seems equally incorrect on a param and request body object's prop)?
(I'm using version 0.51.3)
Metadata
Metadata
Assignees
Labels
No labels