Skip to content

Commit

Permalink
corrected path-not-include-query
Browse files Browse the repository at this point in the history
  • Loading branch information
Kkundan committed May 15, 2024
1 parent 92abee9 commit c393dd1
Showing 1 changed file with 20 additions and 11 deletions.
31 changes: 20 additions & 11 deletions redocly.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,12 @@ apis:
no-ambiguous-paths: error
operation-2xx-response: error
operation-tag-defined: error
path-not-included-query: error
path-not-include-query: error
[email protected]:
root: './api-specs/standard-rest-api/5.0/openapi.yaml'
extends:
- recommended
rules:
# A sample custom rule. Read more about rules: https://redocly.com/docs/cli/rules/
# metadata rules
no-empty-servers: error
rule/operation-description:
Expand All @@ -48,7 +47,7 @@ apis:
no-ambiguous-paths: error
paths-kebab-case: error
no-http-verbs-in-paths: error
path-not-included-query: error
path-not-include-query: error

# response rules
operation-2xx-response: error
Expand All @@ -67,30 +66,40 @@ apis:
extends:
- recommended
rules:
# A sample custom rule. Read more about rules: https://redocly.com/docs/cli/rules/
# metadata rules
no-empty-servers: error
rule/operation-description:
subject:
type: Operation
property: description
assertions:
defined: true
minLength: 10
operation-tag-defined: error
tag-description: error
operation-tag-defined: error
no-example-value-and-externalValue: error

#security rules
security-defined: error

# path rules
no-ambiguous-paths: error
paths-kebab-case: error
no-http-verbs-in-paths: error
path-not-include-query: error

# response rules
operation-2xx-response: error
operation-4xx-response: error
paths-kebab-case: error

# parameter rules
boolean-parameter-prefixes:
severity: error
prefixes: ["can", "is", "has"]
component-name-unique: error
no-empty-servers: error
no-enum-type-mismatch: error
no-example-value-and-externalValue: error
no-http-verbs-in-paths: error
path-not-included-query: error

# component rules
component-name-unique: error
theme:
openapi:
generateCodeSamples:
Expand Down

0 comments on commit c393dd1

Please sign in to comment.