UNPKG

create-express-typescript-application

Version:
224 lines 3.73 kB
{ "components": { "examples": {}, "headers": {}, "parameters": {}, "requestBodies": {}, "responses": {}, "schemas": {}, "securitySchemes": {} }, "info": { "title": "" }, "openapi": "3.0.0", "paths": { "/api/user-permission/get-all": { "get": { "operationId": "GetAllUser", "responses": { "200": { "description": "Ok", "content": { "application/json": { "schema": {} } } } }, "tags": [ "User Permission" ], "security": [], "parameters": [] } }, "/api/user-permission/create": { "post": { "operationId": "CreateUser", "responses": { "200": { "description": "Ok", "content": { "application/json": { "schema": {} } } } }, "tags": [ "User Permission" ], "security": [], "parameters": [], "requestBody": { "required": true, "content": { "application/json": { "schema": { "properties": { "roles": { "items": { "type": "string" }, "type": "array" }, "email": { "type": "string" } }, "required": [ "roles", "email" ], "type": "object" } } } } } }, "/api/user-permission/update/{id}": { "put": { "operationId": "UpdateUser", "responses": { "200": { "description": "Ok", "content": { "application/json": { "schema": {} } } } }, "tags": [ "User Permission" ], "security": [], "parameters": [ { "in": "query", "name": "id", "required": true, "schema": { "type": "string" } } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "properties": { "roles": { "items": { "type": "string" }, "type": "array" }, "email": { "type": "string" } }, "required": [ "roles", "email" ], "type": "object" } } } } } }, "/api/user-permission/delete/{id}": { "delete": { "operationId": "DeleteUser", "responses": { "200": { "description": "Ok", "content": { "application/json": { "schema": {} } } } }, "tags": [ "User Permission" ], "security": [], "parameters": [ { "in": "query", "name": "id", "required": true, "schema": { "type": "string" } } ] } }, "/api/server-status": { "get": { "operationId": "GetServerStatus", "responses": { "200": { "description": "Ok", "content": { "application/json": { "schema": { "properties": { "serverTime": { "type": "string" }, "status": { "type": "string" } }, "required": [ "serverTime", "status" ], "type": "object" } } } } }, "tags": [ "Server Status" ], "security": [], "parameters": [] } }, "/api/server-status/routes": { "get": { "operationId": "GetServerRoutes", "responses": { "200": { "description": "Ok", "content": { "application/json": { "schema": {} } } } }, "tags": [ "Server Status" ], "security": [], "parameters": [] } } }, "servers": [ { "url": "/" } ] }