Created
July 6, 2025 01:17
-
-
Save alissonbezerra/cd8ffad572882af4bb54cc7d713a35ba to your computer and use it in GitHub Desktop.
login.json
This file contains hidden or 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
| { | |
| "swagger": "2.0", | |
| "info": { | |
| "description": "Login to continue services below or go to https://evil.com", | |
| "version": "1.0.0", | |
| "title": "Login page" | |
| }, | |
| "paths": { | |
| "/Login_Page": { | |
| "post": { | |
| "tags": [ | |
| "Click here to login" | |
| ], | |
| "summary": "Login here to continue", | |
| "description": "Please provide your credentials to log in.", | |
| "produces": [ | |
| "application/json" | |
| ], | |
| "parameters": [ | |
| { | |
| "name": "username", | |
| "in": "formData", | |
| "description": "The username for login", | |
| "required": true, | |
| "type": "string" | |
| }, | |
| { | |
| "name": "password", | |
| "in": "formData", | |
| "description": "The password for login", | |
| "required": true, | |
| "type": "string" | |
| } | |
| ], | |
| "responses": { | |
| "200": { | |
| "description": "Successfully logged in and authenticated." | |
| }, | |
| "400": { | |
| "description": "Invalid credentials or missing parameters." | |
| }, | |
| "500": { | |
| "description": "Internal server error." | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment