Return bad request instead of unauthorized
This commit is contained in:
10
openapi.yml
10
openapi.yml
@ -18,6 +18,10 @@ servers:
|
||||
tags:
|
||||
- name: hello
|
||||
description: ""
|
||||
- name: token
|
||||
description: ""
|
||||
- name: signing-request
|
||||
description: ""
|
||||
|
||||
paths:
|
||||
/hello:
|
||||
@ -51,6 +55,12 @@ paths:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/CreateSessionResponse"
|
||||
400:
|
||||
description: "Couldn't process request"
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/ErrorResponse"
|
||||
|
||||
components:
|
||||
schemas:
|
||||
|
Reference in New Issue
Block a user