From f08738ba83855da03c4ccab60e1ccc8f4cdc9641 Mon Sep 17 00:00:00 2001 From: Karen Etheridge Date: Mon, 7 Sep 2026 15:39:05 -0700 Subject: [PATCH] fix schema test that lacks security scheme definitions ..and add an example of a uri reference to a remote security scheme --- tests/schema/pass/operation-object-example.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tests/schema/pass/operation-object-example.yaml b/tests/schema/pass/operation-object-example.yaml index c131d0c555..4ec28b1445 100644 --- a/tests/schema/pass/operation-object-example.yaml +++ b/tests/schema/pass/operation-object-example.yaml @@ -2,6 +2,11 @@ openapi: 3.3.0 info: title: API version: 1.0.0 +components: + securitySchemes: + petstore_auth: + type: http + scheme: basic paths: /pets/{id}: put: @@ -45,3 +50,5 @@ paths: - petstore_auth: - write:pets - read:pets + - 'otherapi#/components/securitySchemes/generic_auth': + - read/write:*