Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion tests/schema/pass/operation-object-example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion tests/schema/pass/security-scheme-object-examples.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
$ref: 'https://example.com/api/openapi.json#/components/securitySchemes/ExternalSecurityThing'
2 changes: 1 addition & 1 deletion tests/schema/pass/style-defaults.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Loading