From 5c9c4c89d56140fa4b61d1d963f61741864fc35a Mon Sep 17 00:00:00 2001 From: Karen Etheridge Date: Thu, 29 Oct 2026 10:39:29 -0700 Subject: [PATCH] fix some tests, as noted in #5575 - path parameter name did not match - ensure $ref to external object points to the right object type --- tests/schema/pass/operation-object-example.yaml | 4 ++-- tests/schema/pass/security-scheme-object-examples.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/schema/pass/operation-object-example.yaml b/tests/schema/pass/operation-object-example.yaml index 1e5bac29f1..bc5c111dd7 100644 --- a/tests/schema/pass/operation-object-example.yaml +++ b/tests/schema/pass/operation-object-example.yaml @@ -10,7 +10,7 @@ paths: summary: Updates a pet in the store with form data operationId: updatePetWithForm parameters: - - name: petId + - name: id in: path description: ID of pet that needs to be updated required: true @@ -44,4 +44,4 @@ paths: security: - petstore_auth: - write:pets - - read:pets \ No newline at end of file + - read:pets diff --git a/tests/schema/pass/security-scheme-object-examples.yaml b/tests/schema/pass/security-scheme-object-examples.yaml index d3472d5a32..0ed7a92e79 100644 --- a/tests/schema/pass/security-scheme-object-examples.yaml +++ b/tests/schema/pass/security-scheme-object-examples.yaml @@ -66,4 +66,4 @@ components: type: openIdConnect openIdConnectUrl: https://example.com/api/oauth/openid external: - $ref: 'https://example.com/api/openapi.json#/components/externalDocs/ThingExternalDocs' \ No newline at end of file + $ref: 'https://example.com/api/openapi.json#/components/securitySchemes/ExternalSecurityThing'