swagger: '2.0'
info:
version: 1.0.0
title: Fake Login Page
description: |
host: 127.0.0.1 # Change to 127.0.0.1 for local testing
schemes:
- http
paths:
/:
post:
summary: Fake login
description: Fake login endpoint for demonstration.
responses:
'200':
description: Login successful
/your-endpoint:
get:
summary: Connect to 128.0.0.1 server
description: This endpoint will demonstrate connecting to another server.
produces:
- application/json
responses:
'200':
description: Successful response
schema:
type: object
properties:
message:
type: string
example: Response from 128.0.0.1