Skip to content

Commit 35badea

Browse files
committed
Fix tabbing on schema
1 parent 6b13946 commit 35badea

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

test/serverless-tests/serverless 3/serverless.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ functions:
2626
description: A user information object
2727
requestModels:
2828
application/json: PutDocumentRequest
29+
security:
30+
- {}
2931
pathParams:
3032
- name: username
3133
description: The username for a user to create
@@ -61,6 +63,13 @@ custom:
6163
documentation:
6264
description: This is a description of what this does
6365
version: 1.0.0
66+
securitySchemes:
67+
my_api_key:
68+
type: apiKey
69+
name: api_key
70+
in: header
71+
overallSecurityRequirement:
72+
- my_api_key: []
6473
models:
6574
- name: ErrorResponse
6675
description: This is an error

0 commit comments

Comments
 (0)