From 4837414cf9021ba7e1a014b5755c4b63b8f4e78f 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 246eff7445..c131d0c555 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 3e3caa3748..9594921750 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'