Nicolas Massé 6 years ago
parent
commit
da5ec2514b
  1. 17
      openapi.json

17
openapi.json

@ -2,7 +2,7 @@
"openapi": "3.0.2", "openapi": "3.0.2",
"info": { "info": {
"title": "Library API", "title": "Library API",
"version": "0.9.0", "version": "1.0.0",
"description": "A simple API for managing authors and books.", "description": "A simple API for managing authors and books.",
"contact": { "contact": {
"name": "Eric Wittmann", "name": "Eric Wittmann",
@ -319,6 +319,19 @@
}, },
"description": "Generic response when not found." "description": "Generic response when not found."
} }
},
"securitySchemes": {
"api-key": {
"type": "apiKey",
"name": "api-key",
"in": "header"
}
}
},
"security": [
{
"api-key": [
]
} }
} ]
} }
Loading…
Cancel
Save