diff --git a/tests/schema/pass/operation-object-example.yaml b/tests/schema/pass/operation-object-example.yaml index 9a5c76d0a0..e3b2e74201 100644 --- a/tests/schema/pass/operation-object-example.yaml +++ b/tests/schema/pass/operation-object-example.yaml @@ -2,6 +2,11 @@ openapi: 3.1.0 info: title: API version: 1.0.0 +components: + securitySchemes: + petstore_auth: + type: http + scheme: basic paths: /pets/{id}: put: @@ -10,7 +15,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 diff --git a/tests/schema/pass/security-scheme-object-examples.yaml b/tests/schema/pass/security-scheme-object-examples.yaml index 0b0e9900a6..80577bc61f 100644 --- a/tests/schema/pass/security-scheme-object-examples.yaml +++ b/tests/schema/pass/security-scheme-object-examples.yaml @@ -56,4 +56,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' diff --git a/tests/schema/pass/style-defaults.yaml b/tests/schema/pass/style-defaults.yaml index c3942bdc50..0c5618c463 100644 --- a/tests/schema/pass/style-defaults.yaml +++ b/tests/schema/pass/style-defaults.yaml @@ -8,7 +8,7 @@ components: name: encoding_object_defaults in: path content: - encoding_object_defaults: # media type name + text/plain: # media type name encoding: no_styles: # property name x-comment: "style, explode and allowReserved are not present, so contentType is used; no defaults expected as default contentType cannot be determined by the schema"