/disable endpoint in openapi definition (#30)

This commit is contained in:
Michael Quigley
2022-09-01 17:39:02 -04:00
parent 2b65166f2a
commit 386c41f41a
51 changed files with 1649 additions and 116 deletions

View File

@ -72,6 +72,42 @@ func init() {
}
}
},
"/disable": {
"post": {
"security": [
{
"key": []
}
],
"tags": [
"identity"
],
"operationId": "disable",
"parameters": [
{
"name": "body",
"in": "body",
"schema": {
"$ref": "#/definitions/disableRequest"
}
}
],
"responses": {
"200": {
"description": "environment disabled"
},
"401": {
"description": "invalid environment"
},
"500": {
"description": "internal server error",
"schema": {
"$ref": "#/definitions/errorMessage"
}
}
}
}
},
"/enable": {
"post": {
"security": [
@ -298,6 +334,14 @@ func init() {
}
}
},
"disableRequest": {
"type": "object",
"properties": {
"identity": {
"type": "string"
}
}
},
"enableRequest": {
"type": "object",
"properties": {
@ -535,6 +579,42 @@ func init() {
}
}
},
"/disable": {
"post": {
"security": [
{
"key": []
}
],
"tags": [
"identity"
],
"operationId": "disable",
"parameters": [
{
"name": "body",
"in": "body",
"schema": {
"$ref": "#/definitions/disableRequest"
}
}
],
"responses": {
"200": {
"description": "environment disabled"
},
"401": {
"description": "invalid environment"
},
"500": {
"description": "internal server error",
"schema": {
"$ref": "#/definitions/errorMessage"
}
}
}
}
},
"/enable": {
"post": {
"security": [
@ -761,6 +841,14 @@ func init() {
}
}
},
"disableRequest": {
"type": "object",
"properties": {
"identity": {
"type": "string"
}
}
},
"enableRequest": {
"type": "object",
"properties": {