Last active
February 18, 2024 22:57
-
-
Save patrickjholloway/e9aac0ba857d5227ef42d3fd9da3ce04 to your computer and use it in GitHub Desktop.
latest-mmio-api.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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