-
Notifications
You must be signed in to change notification settings - Fork 198
Closed
Labels
Type: EnhancementgovernanceIssues relating to problems with or requests for API governance/linting/decoratingIssues relating to problems with or requests for API governance/linting/decoratingp3
Description
Is your feature request related to a problem? Please describe.
Consider this definition sample:
openapi: 3.0.0
components:
parameters:
foo:
in: query
name: foo
schema:
type: string
format: ipv4
example: wrong
Although the example is wrong, linter doesn't recognise this.
Describe the solution you'd like
It would be great if no-invalid-parameter-examples rule could take format into account as well.
Describe alternatives you've considered
None
Additional context
See more details here.
LasneF and adamaltman
Metadata
Metadata
Assignees
Labels
Type: EnhancementgovernanceIssues relating to problems with or requests for API governance/linting/decoratingIssues relating to problems with or requests for API governance/linting/decoratingp3