dspace_statistics_api/docs/openapi.json: Add /status

Add a /status to the Swagger UI schema.
This commit is contained in:
Alan Orth 2020-12-22 11:41:47 +02:00
parent 6bbee7919e
commit 68418ea053
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9
1 changed files with 30 additions and 0 deletions

View File

@ -549,6 +549,36 @@
}
}
}
},
"/status": {
"get": {
"summary": "Get API status",
"operationId": "getStatus",
"tags": [
"status"
],
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"version": {
"type": "string",
"example": "1.4.0-dev"
}
}
}
}
}
},
"405": {
"description": "Method Not Allowed"
}
}
}
}
},
"components": {