Skip to content

Commit 595e133

Browse files
fix schema test that lacks security scheme definitions
..and add an example of a uri reference to a remote security scheme
1 parent 9fb3b1a commit 595e133

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

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

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@ openapi: 3.3.0
22
info:
33
title: API
44
version: 1.0.0
5+
components:
6+
securitySchemes:
7+
petstore_auth:
8+
type: http
9+
scheme: basic
510
paths:
611
/pets/{id}:
712
put:
@@ -44,4 +49,6 @@ paths:
4449
security:
4550
- petstore_auth:
4651
- write:pets
47-
- read:pets
52+
- read:pets
53+
- 'otherapi#/components/securitySchemes/generic_auth':
54+
- read/write:*

0 commit comments

Comments
 (0)