From bac335ec5400501456de89e339d8dd2a0d0c9f79 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 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/tests/schema/pass/operation-object-example.yaml b/tests/schema/pass/operation-object-example.yaml index 1e5bac29f1..9e98d6a5e2 100644 --- a/tests/schema/pass/operation-object-example.yaml +++ b/tests/schema/pass/operation-object-example.yaml @@ -2,6 +2,11 @@ openapi: 3.2.0 info: title: API version: 1.0.0 +components: + securitySchemes: + petstore_auth: + type: http + scheme: basic paths: /pets/{id}: put: @@ -44,4 +49,6 @@ paths: security: - petstore_auth: - write:pets - - read:pets \ No newline at end of file + - read:pets + - 'otherapi#/components/securitySchemes/generic_auth': + - read/write:*