Skip to content

Commit

Permalink
Update .spectral-oas.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
VijayKesharwani authored Nov 6, 2023
1 parent 1ea8451 commit 2131e19
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .spectral-oas.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
rules:
camel-case-name:
camara-operationid-casing-convention:
message: Operation Id must be in Camel case "{{error}}"
severity: hint
description: |
Expand All @@ -9,3 +9,13 @@ rules:
function: casing
functionOptions:
type: camel
camara-parameter-casing-convention:
message: Path URI must be in Kebab case "{{error}}"
severity: hint
description: |
This rule checks Operation ids should follow a specific case convention: kebab case.
given: "$.paths"
then:
function: casing
functionOptions:
type: kebab

0 comments on commit 2131e19

Please sign in to comment.