From c2915e61dded71ee03677b1071488f429f5e1c60 Mon Sep 17 00:00:00 2001 From: Karen Etheridge Date: Mon, 23 Oct 2023 11:54:55 -0700 Subject: [PATCH] fix schema error for path templating at https://spec.openapis.org/oas/v3.1.0#path-templating, the restriction is on the path value, not the name --- schemas/v3.1/schema.json | 3 --- schemas/v3.1/schema.yaml | 2 -- 2 files changed, 5 deletions(-) diff --git a/schemas/v3.1/schema.json b/schemas/v3.1/schema.json index 3fe58f2623..a77dfd57a0 100644 --- a/schemas/v3.1/schema.json +++ b/schemas/v3.1/schema.json @@ -552,9 +552,6 @@ }, "then": { "properties": { - "name": { - "pattern": "[^/#?]+$" - }, "style": { "default": "simple", "enum": [ diff --git a/schemas/v3.1/schema.yaml b/schemas/v3.1/schema.yaml index 791f53dfde..02959da25c 100644 --- a/schemas/v3.1/schema.yaml +++ b/schemas/v3.1/schema.yaml @@ -381,8 +381,6 @@ $defs: - in then: properties: - name: - pattern: '[^/#?]+$' style: default: simple enum: