Skip to content

Commit bf2fb03

Browse files
fix some tests, as noted in #5575
- path parameter name did not match - ensure $ref to external object points to the right object type
1 parent 2135620 commit bf2fb03

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎tests/schema/pass/operation-object-example.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ paths:
1515
summary: Updates a pet in the store with form data
1616
operationId: updatePetWithForm
1717
parameters:
18-
- name: petId
18+
- name: id
1919
in: path
2020
description: ID of pet that needs to be updated
2121
required: true

‎tests/schema/pass/security-scheme-object-examples.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,4 +56,4 @@ components:
5656
type: openIdConnect
5757
openIdConnectUrl: https://example.com/api/oauth/openid
5858
external:
59-
$ref: 'https://example.com/api/openapi.json#/components/externalDocs/ThingExternalDocs'
59+
$ref: 'https://example.com/api/openapi.json#/components/securitySchemes/ExternalSecurityThing'

0 commit comments

Comments
 (0)