meersm swagger
This commit is contained in:
@@ -0,0 +1,123 @@
|
||||
{
|
||||
"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"
|
||||
}
|
||||
}
|
||||
],
|
||||
"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/SelectOffer.json"
|
||||
}
|
||||
},
|
||||
"components": {
|
||||
"schemas": {
|
||||
"Login": {
|
||||
"$ref": "swagger/schemas/LoginRequest.json"
|
||||
},
|
||||
"LoginResponse": {
|
||||
"$ref": "swagger/schemas/LoginResponse.json"
|
||||
},
|
||||
"Register": {
|
||||
"$ref": "swagger/schemas/SelectOfferRequest.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": []
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user