implemented quick pay within bank
This commit is contained in:
35
openapi.yml
Normal file
35
openapi.yml
Normal file
@@ -0,0 +1,35 @@
|
||||
openapi: 3.0.3
|
||||
info:
|
||||
title: kmobile
|
||||
description: backend for mobile banking application
|
||||
version: 1.0.0
|
||||
servers:
|
||||
- url: http://api.example.com
|
||||
paths:
|
||||
/auth/login:
|
||||
post:
|
||||
summary: Login a user
|
||||
requestBody:
|
||||
required: true
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
type: object
|
||||
properties:
|
||||
username:
|
||||
type: string
|
||||
password:
|
||||
type: string
|
||||
required: [username, password]
|
||||
responses:
|
||||
'200':
|
||||
description: successful login
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
type: object
|
||||
properties:
|
||||
token:
|
||||
type: string
|
||||
'401':
|
||||
description: invalid credentials
|
Reference in New Issue
Block a user