docs: Execute make swagger to fill in information

Lack of information for swagger.json. So we execute
make swagger to fill in information.

Change-Id: I2f18df3bf5056579206508cf248bd7bdd1b08618
This commit is contained in:
zhu.boxiang 2021-11-25 11:21:23 +08:00
parent 27d22a984d
commit 872f2f4847

View File

@ -13,6 +13,19 @@
"summary": "Login", "summary": "Login",
"description": "Login & get user profile.", "description": "Login & get user profile.",
"operationId": "login_api_v1_login_post", "operationId": "login_api_v1_login_post",
"parameters": [
{
"required": false,
"schema": {
"title": "X-Openstack-Request-Id",
"pattern": "^req-\\w{8}(-\\w{4}){3}-\\w{12}",
"type": "string",
"default": ""
},
"name": "X-Openstack-Request-Id",
"in": "header"
}
],
"requestBody": { "requestBody": {
"content": { "content": {
"application/json": { "application/json": {
@ -65,6 +78,19 @@
"summary": "Get Profile", "summary": "Get Profile",
"description": "Get user profile.", "description": "Get user profile.",
"operationId": "get_profile_api_v1_profile_get", "operationId": "get_profile_api_v1_profile_get",
"parameters": [
{
"required": false,
"schema": {
"title": "X-Openstack-Request-Id",
"pattern": "^req-\\w{8}(-\\w{4}){3}-\\w{12}",
"type": "string",
"default": ""
},
"name": "X-Openstack-Request-Id",
"in": "header"
}
],
"responses": { "responses": {
"200": { "200": {
"description": "OK", "description": "OK",
@ -85,6 +111,16 @@
} }
} }
} }
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
} }
} }
} }
@ -97,6 +133,19 @@
"summary": "Logout", "summary": "Logout",
"description": "Log out.", "description": "Log out.",
"operationId": "logout_api_v1_logout_post", "operationId": "logout_api_v1_logout_post",
"parameters": [
{
"required": false,
"schema": {
"title": "X-Openstack-Request-Id",
"pattern": "^req-\\w{8}(-\\w{4}){3}-\\w{12}",
"type": "string",
"default": ""
},
"name": "X-Openstack-Request-Id",
"in": "header"
}
],
"responses": { "responses": {
"200": { "200": {
"description": "OK", "description": "OK",
@ -107,6 +156,16 @@
} }
} }
} }
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
} }
} }
} }
@ -128,6 +187,17 @@
}, },
"name": "project_id", "name": "project_id",
"in": "path" "in": "path"
},
{
"required": false,
"schema": {
"title": "X-Openstack-Request-Id",
"pattern": "^req-\\w{8}(-\\w{4}){3}-\\w{12}",
"type": "string",
"default": ""
},
"name": "X-Openstack-Request-Id",
"in": "header"
} }
], ],
"responses": { "responses": {
@ -289,6 +359,17 @@
}, },
"name": "uuid", "name": "uuid",
"in": "query" "in": "query"
},
{
"required": false,
"schema": {
"title": "X-Openstack-Request-Id",
"pattern": "^req-\\w{8}(-\\w{4}){3}-\\w{12}",
"type": "string",
"default": ""
},
"name": "X-Openstack-Request-Id",
"in": "header"
} }
], ],
"responses": { "responses": {
@ -452,6 +533,17 @@
}, },
"name": "uuid", "name": "uuid",
"in": "query" "in": "query"
},
{
"required": false,
"schema": {
"title": "X-Openstack-Request-Id",
"pattern": "^req-\\w{8}(-\\w{4}){3}-\\w{12}",
"type": "string",
"default": ""
},
"name": "X-Openstack-Request-Id",
"in": "header"
} }
], ],
"responses": { "responses": {
@ -631,6 +723,17 @@
}, },
"name": "uuid", "name": "uuid",
"in": "query" "in": "query"
},
{
"required": false,
"schema": {
"title": "X-Openstack-Request-Id",
"pattern": "^req-\\w{8}(-\\w{4}){3}-\\w{12}",
"type": "string",
"default": ""
},
"name": "X-Openstack-Request-Id",
"in": "header"
} }
], ],
"responses": { "responses": {
@ -777,6 +880,17 @@
}, },
"name": "volume_id", "name": "volume_id",
"in": "query" "in": "query"
},
{
"required": false,
"schema": {
"title": "X-Openstack-Request-Id",
"pattern": "^req-\\w{8}(-\\w{4}){3}-\\w{12}",
"type": "string",
"default": ""
},
"name": "X-Openstack-Request-Id",
"in": "header"
} }
], ],
"responses": { "responses": {
@ -966,6 +1080,17 @@
}, },
"name": "uuid", "name": "uuid",
"in": "query" "in": "query"
},
{
"required": false,
"schema": {
"title": "X-Openstack-Request-Id",
"pattern": "^req-\\w{8}(-\\w{4}){3}-\\w{12}",
"type": "string",
"default": ""
},
"name": "X-Openstack-Request-Id",
"in": "header"
} }
], ],
"responses": { "responses": {
@ -1048,6 +1173,17 @@
}, },
"name": "host", "name": "host",
"in": "query" "in": "query"
},
{
"required": false,
"schema": {
"title": "X-Openstack-Request-Id",
"pattern": "^req-\\w{8}(-\\w{4}){3}-\\w{12}",
"type": "string",
"default": ""
},
"name": "X-Openstack-Request-Id",
"in": "header"
} }
], ],
"responses": { "responses": {
@ -1138,6 +1274,19 @@
"summary": "List Domains", "summary": "List Domains",
"description": "List Domains", "description": "List Domains",
"operationId": "list_domains_api_v1_contrib_domains_get", "operationId": "list_domains_api_v1_contrib_domains_get",
"parameters": [
{
"required": false,
"schema": {
"title": "X-Openstack-Request-Id",
"pattern": "^req-\\w{8}(-\\w{4}){3}-\\w{12}",
"type": "string",
"default": ""
},
"name": "X-Openstack-Request-Id",
"in": "header"
}
],
"responses": { "responses": {
"200": { "200": {
"description": "OK", "description": "OK",
@ -1162,6 +1311,16 @@
} }
} }
} }
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
} }
} }
} }
@ -2370,11 +2529,18 @@
"enum": [ "enum": [
"", "",
"compute:nova", "compute:nova",
"network:dhcp",
"network:floatingip",
"network:router_gateway",
"network:router_ha_interface", "network:router_ha_interface",
"network:ha_router_replicated_interface" "network:ha_router_replicated_interface",
"network:router_interface",
"network:router_gateway",
"network:floatingip",
"network:local_ip",
"network:dhcp",
"network:router_interface_distributed",
"network:floatingip_agent_gateway",
"network:router_centralized_snat",
"network:routed",
"network:distributed"
], ],
"type": "string", "type": "string",
"description": "An enumeration." "description": "An enumeration."