Skip to content

Instantly share code, notes, and snippets.

@patrickjholloway
Last active February 18, 2024 22:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save patrickjholloway/e9aac0ba857d5227ef42d3fd9da3ce04 to your computer and use it in GitHub Desktop.
Save patrickjholloway/e9aac0ba857d5227ef42d3fd9da3ce04 to your computer and use it in GitHub Desktop.
latest-mmio-api.json
{
"openapi": "3.0.0",
"paths": {
"/api/auth/login": {
"post": {
"operationId": "AuthController_login",
"parameters": [],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/SignInAccountDto"
}
}
}
},
"responses": {
"201": {
"description": ""
}
}
}
},
"/api/auth/signup": {
"post": {
"operationId": "AuthController_signup",
"parameters": [],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/SignUpAccountDto"
}
}
}
},
"responses": {
"201": {
"description": ""
}
}
}
},
"/api/auth/forgotPassword": {
"post": {
"operationId": "AuthController_forgotPassword",
"parameters": [],
"responses": {
"201": {
"description": ""
}
}
}
},
"/api/auth/get-onetime-password": {
"post": {
"operationId": "AuthController_getOTP",
"parameters": [],
"responses": {
"201": {
"description": ""
}
}
}
}
},
"info": {
"title": "Example app",
"description": "The example API description",
"version": "1.0",
"contact": {}
},
"tags": [],
"servers": [],
"components": {
"schemas": {
"SignInAccountDto": {
"type": "object",
"properties": {
"email": {
"type": "string"
},
"password": {
"type": "string"
}
},
"required": [
"email",
"password"
]
},
"SignUpAccountDto": {
"type": "object",
"properties": {
"email": {
"type": "string"
},
"password": {
"type": "string"
}
},
"required": [
"email",
"password"
]
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment