Browse Source

v0.9

master
Nicolas Massé 5 years ago
parent
commit
fc0ac23d9e
  1. 24
      openapi.json

24
openapi.json

@ -2,10 +2,10 @@
"openapi": "3.0.2", "openapi": "3.0.2",
"info": { "info": {
"title": "Library API", "title": "Library API",
"version": "1.0.0", "version": "0.9.0",
"description": "Get infos about books and authors", "description": "A simple API for managing authors and books.",
"contact": { "contact": {
"name": "Nicolas Massé", "name": "Nicolas MASSE",
"email": "nmasse@redhat.com" "email": "nmasse@redhat.com"
} }
}, },
@ -25,7 +25,7 @@
} }
}, },
"examples": { "examples": {
"all-authors": { "vhugo": {
"value": [ "value": [
{ {
"id": "vhugo", "id": "vhugo",
@ -329,7 +329,6 @@
"type": "string" "type": "string"
}, },
"publish-date": { "publish-date": {
"format": "date",
"type": "string" "type": "string"
}, },
"ddsn": { "ddsn": {
@ -346,19 +345,6 @@
"publish-date": "01-01-1862" "publish-date": "01-01-1862"
} }
} }
},
"securitySchemes": {
"api-key": {
"type": "apiKey",
"name": "api-key",
"in": "header"
}
}
},
"security": [
{
"api-key": [
]
} }
] }
} }
Loading…
Cancel
Save