Add doc endpoint

This commit is contained in:
2019-12-23 23:11:55 -05:00
parent 2dec61ce88
commit ebcf0cee43
2 changed files with 16 additions and 10 deletions

View File

@ -925,6 +925,20 @@
]
}
},
"/api/v1/doc": {
"get": {
"description": "",
"responses": {
"200": {
"description": "OK"
}
},
"summary": "Provide the Swagger API documentation",
"tags": [
"root"
]
}
},
"/api/v1/initialize": {
"post": {
"description": "Note: Normally used only once during cluster bootstrap; checks for the existence of the \"/primary_node\" key before proceeding and returns 400 if found",