add example on openapi 400 error

This commit is contained in:
2021-04-06 23:35:36 +02:00
parent fe11384ad2
commit e26710898e

View File

@@ -2248,8 +2248,10 @@ components:
properties:
statusCode:
type: integer
example: 400
title:
type: string
example: Bad Request
invalidParams:
type: array
items:
@@ -2259,8 +2261,10 @@ components:
properties:
name:
type: string
example: '.title'
reason:
type: string
example: 'Cannot be null'
securitySchemes:
JWTAuth: