{
"openapi": "3.0.0",
"info": {
"version": "1.0.0",
"title": "Swagger Sample"
},
"components": {
"securitySchemes": {
"cookieAuth": {
"type": "apiKey",
"in": "cookie",
"name": "token"
},
"cookieSession": {
"type": "apiKey",
"in": "cookie",
"name": "session_id"
}
}
},
"security": [
{
"cookieSession": []
},
{
"cookieAuth": []
}
],
"servers": [
{
"url": "https://jsonplaceholder.typicode.com"
}
],
"paths": {
"/posts": {
"get": {
"description": "Returns a list of posts.",
"responses": {
"200": {
"description": "OK"
}
}
}
}
}
}