150 lines
3.7 KiB
JSON
150 lines
3.7 KiB
JSON
{
|
|
"openapi": "3.0.3",
|
|
"info": {
|
|
"title": "Swagger MERM Core - OpenAPI 3.0",
|
|
"description": "This is MERMS Backend Server with the OpenAPI 3.0 specification. \n\n\nSome useful links:\n- [Product Page](https://www.mermsemr.com/)\n- [Dev Product Web](https://panel.mermsemr.com/)",
|
|
"termsOfService": "http://swagger.io/terms/",
|
|
"contact": {
|
|
"email": "support@chiefsoft.com"
|
|
},
|
|
"license": {
|
|
"name": "Apache 2.0",
|
|
"url": "http://www.apache.org/licenses/LICENSE-2.0.html"
|
|
},
|
|
"version": "1.0.11"
|
|
},
|
|
"servers": [
|
|
{
|
|
"url": "http://localhost:14700"
|
|
},
|
|
{
|
|
"url": "https://devapi.mermsemr.com"
|
|
},
|
|
{
|
|
"url": "https://api.mermsemr.com"
|
|
}
|
|
],
|
|
"tags": [
|
|
{
|
|
"name": "Authorize",
|
|
"description": "This feature will be used for authorizing customers.",
|
|
"externalDocs": {
|
|
"description": "Find out more",
|
|
"url": "https://www.mermsemr.com"
|
|
}
|
|
},
|
|
{
|
|
"name": "AuthorizeRefresh",
|
|
"description": "This feature will be used for refreshing authorized customers.",
|
|
"externalDocs": {
|
|
"description": "Find out more",
|
|
"url": "https://www.mermsemr.com"
|
|
}
|
|
},
|
|
{
|
|
"name": "Login",
|
|
"description": "User Login",
|
|
"externalDocs": {
|
|
"description": "Find out more",
|
|
"url": "https://www.mermsemr.com"
|
|
}
|
|
},
|
|
{
|
|
"name": "Register",
|
|
"description": "Register a new user.",
|
|
"externalDocs": {
|
|
"description": "Find out more",
|
|
"url": "https://www.mermsemr.com"
|
|
}
|
|
},
|
|
{
|
|
"name": "RegisterVerify",
|
|
"description": "Verify Registration for a new user.",
|
|
"externalDocs": {
|
|
"description": "Find out more",
|
|
"url": "https://www.mermsemr.com"
|
|
}
|
|
}
|
|
],
|
|
"paths": {
|
|
"/Authorize": {
|
|
"$ref": "swagger/paths/Authorize.json"
|
|
},
|
|
"/AuthorizeRefresh": {
|
|
"$ref": "swagger/paths/AuthorizeRefresh.json"
|
|
},
|
|
"/panel/Login": {
|
|
"$ref": "swagger/paths/Login.json"
|
|
},
|
|
"/panel/Register": {
|
|
"$ref": "swagger/paths/Register.json"
|
|
},
|
|
"/panel/RegisterVerify": {
|
|
"$ref": "swagger/paths/Register.json"
|
|
},
|
|
"/panel/Account": {
|
|
"$ref": "swagger/paths/Account.json"
|
|
},
|
|
"/panel/account-bar": {
|
|
"$ref": "swagger/paths/AccountBar.json"
|
|
},
|
|
"/panel/Products": {
|
|
"$ref": "swagger/paths/Products.json"
|
|
}
|
|
},
|
|
"components": {
|
|
"schemas": {
|
|
"Login": {
|
|
"$ref": "swagger/schemas/LoginRequest.json"
|
|
},
|
|
"LoginResponse": {
|
|
"$ref": "swagger/schemas/LoginResponse.json"
|
|
},
|
|
"Account": {
|
|
"$ref": "swagger/schemas/UserRequest.json"
|
|
},
|
|
"AccountResponse": {
|
|
"$ref": "swagger/schemas/AccountResponse.json"
|
|
},
|
|
"Register": {
|
|
"$ref": "swagger/schemas/RegisterRequest.json"
|
|
},
|
|
"RegisterResponse": {
|
|
"$ref": "swagger/schemas/RegisterResponse.json"
|
|
},
|
|
"ApiResponse": {
|
|
"$ref": "swagger/schemas/ApiResponse.json"
|
|
},
|
|
"AuthorizeResponse": {
|
|
"$ref": "swagger/schemas/AuthorizeResponse.json"
|
|
},
|
|
"AuthorizeRequest": {
|
|
"$ref": "swagger/schemas/AuthorizeRequest.json"
|
|
},
|
|
"AuthorizeRefreshResponse": {
|
|
"$ref": "swagger/schemas/AuthorizeRefreshResponse.json"
|
|
},
|
|
"AuthorizeRefreshRequest": {
|
|
"$ref": "swagger/schemas/AuthorizeRefreshRequest.json"
|
|
}
|
|
},
|
|
"securitySchemes": {
|
|
"basicAuth": {
|
|
"type": "http",
|
|
"scheme": "basic"
|
|
},
|
|
"bearerAuth": {
|
|
"type": "http",
|
|
"scheme": "bearer",
|
|
"bearerFormat": "JWT"
|
|
}
|
|
}
|
|
},
|
|
"security": [
|
|
{
|
|
"basicAuth": [],
|
|
"bearerAuth": []
|
|
}
|
|
]
|
|
}
|