From 41d7acea1c7f17977049eab43f7d1c0c044549d4 Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Tue, 20 Aug 2024 17:04:53 +0000 Subject: [PATCH] chore(release): 1.13.2 [skip ci] ## [1.13.2](https://github.com/SPSCommerce/sps-api-standards/compare/v1.13.1...v1.13.2) (2024-08-20) ### Bug Fixes * camel case function ([#90](https://github.com/SPSCommerce/sps-api-standards/issues/90)) ([a1e57d5](https://github.com/SPSCommerce/sps-api-standards/commit/a1e57d5ecc8b41d686fd5f68b644b714fca4d4f7)) --- sps-api-standards.spectral.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sps-api-standards.spectral.yml b/sps-api-standards.spectral.yml index 8735522..16c382c 100644 --- a/sps-api-standards.spectral.yml +++ b/sps-api-standards.spectral.yml @@ -193,9 +193,9 @@ rules: formats: [oas3] given: "$..properties.*~" then: - function: casing + function: pattern functionOptions: - type: camel + match: ^[a-z][a-z0-9]*(([A-Z]{2}|[A-Z])[a-z0-9]+)*$ sps-disallowed-prepositions: description: Property names SHOULD NOT include prepositions (e.g. "for", "during", "at", etc.) severity: warn