Skip to content

Instantly share code, notes, and snippets.

@ksakae1216
Created March 19, 2023 02:04
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 ksakae1216/ea2769ab406817d7dedc3951830ba80c to your computer and use it in GitHub Desktop.
Save ksakae1216/ea2769ab406817d7dedc3951830ba80c to your computer and use it in GitHub Desktop.
openapi: 3.0.0
x-stoplight:
id: qjnljykf3473n
info:
title: login
version: '1.0'
description: Post login
servers:
- url: 'https://local-myorg.com:4200/'
description: local
paths:
/api/login:
post:
summary: Post Login
operationId: post-login
tags:
- Login
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
properties:
accessToken:
type: string
userName:
type: string
'400':
description: Bad request
'401':
description: Unauthorized
requestBody:
content:
application/json:
schema:
type: object
properties:
loginId:
type: string
password:
type: string
required:
- loginId
- password
description: ''
description: Log in with login ID and password
parameters: []
tags:
- name: Login
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment