Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Adds issue components and endpoint
  • Loading branch information
spacether committed Apr 17, 2022
commit 061e86739598fa7794d6f152f5e9154f8b5a9721
Original file line number Diff line number Diff line change
Expand Up @@ -1558,6 +1558,30 @@ paths:
content:
application/json: {}
application/xml: {}
/fake/authenticate:
post:
operationId: authenticateUser
tags:
- fake
requestBody:
required: true
content:
application/json:
schema:
$ref: "#/components/schemas/AuthenticateCredentials"
responses:
"200":
description: Success
content:
"application/json":
schema:
$ref: "#/components/schemas/AuthenticateSuccess"
default:
description: unexpected error response
content:
application/json:
schema:
$ref: "#/components/schemas/AuthenticateError"
servers:
- url: 'http://{server}.swagger.io:{port}/v2'
description: petstore server
Expand Down Expand Up @@ -2811,3 +2835,25 @@ components:
AnyTypeNotString:
not:
type: string
AuthenticateCredentials:
type: object
description: user credentials
properties:
email:
type: string
password:
type: string
format: password
required:
- email
- password
AuthenticateError:
type: object
properties:
error:
type: string
AuthenticateSuccess:
type: object
properties:
success:
type: boolean