Skip to content

Commit 1f962ef

Browse files
jamesdufAlan-Cha
authored andcommitted
add cookie auth definition to open api spec
Signed-off-by: jamesduf <[email protected]>
1 parent 4cc70df commit 1f962ef

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

packages/oasgraph/test/fixtures/example_oas.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -583,6 +583,9 @@
583583
},
584584
{
585585
"example_api_key_protocol_2": []
586+
},
587+
{
588+
"example_api_key_protocol_3": []
586589
}
587590
]
588591
}
@@ -625,6 +628,9 @@
625628
},
626629
{
627630
"example_api_key_protocol_2": []
631+
},
632+
{
633+
"example_api_key_protocol_3": []
628634
}
629635
]
630636
}
@@ -1234,6 +1240,11 @@
12341240
"name": "access_token",
12351241
"type": "apiKey"
12361242
},
1243+
"example_api_key_protocol_3": {
1244+
"in": "cookie",
1245+
"name": "access_token",
1246+
"type": "apiKey"
1247+
},
12371248
"example_api_basic_protocol": {
12381249
"type": "http",
12391250
"scheme": "basic"

0 commit comments

Comments
 (0)