OpenAPI: added charset=utf-8 to application/json content type

Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
This commit is contained in:
Nicola Murino 2022-12-19 18:36:04 +01:00
parent 916e53cf9a
commit 362396811e
No known key found for this signature in database
GPG key ID: 935D2952DEC4EECF
2 changed files with 161 additions and 161 deletions

View file

@ -33,7 +33,7 @@ paths:
200: 200:
description: successful operation description: successful operation
content: content:
application/json: application/json; charset=utf-8:
schema: schema:
$ref: '#/components/schemas/FileInfo' $ref: '#/components/schemas/FileInfo'
401: 401:
@ -343,7 +343,7 @@ paths:
200: 200:
description: successful operation description: successful operation
content: content:
application/json: application/json; charset=utf-8:
schema: schema:
type: array type: array
items: items:
@ -377,7 +377,7 @@ paths:
200: 200:
description: successful operation description: successful operation
content: content:
application/json: application/json; charset=utf-8:
schema: schema:
type: object type: object
properties: properties:
@ -417,7 +417,7 @@ paths:
200: 200:
description: successful operation description: successful operation
content: content:
application/json: application/json; charset=utf-8:
schema: schema:
type: object type: object
properties: properties:
@ -452,7 +452,7 @@ paths:
200: 200:
description: successful operation description: successful operation
content: content:
application/json: application/json; charset=utf-8:
schema: schema:
$ref: '#/components/schemas/StatVFS' $ref: '#/components/schemas/StatVFS'
401: 401:
@ -472,61 +472,61 @@ components:
OKResponse: OKResponse:
description: successful operation description: successful operation
content: content:
application/json: application/json; charset=utf-8:
schema: schema:
$ref: '#/components/schemas/ApiResponse' $ref: '#/components/schemas/ApiResponse'
BadRequest: BadRequest:
description: Bad Request description: Bad Request
content: content:
application/json: application/json; charset=utf-8:
schema: schema:
$ref: '#/components/schemas/ApiResponse' $ref: '#/components/schemas/ApiResponse'
Unauthorized: Unauthorized:
description: Unauthorized description: Unauthorized
content: content:
application/json: application/json; charset=utf-8:
schema: schema:
$ref: '#/components/schemas/ApiResponse' $ref: '#/components/schemas/ApiResponse'
Forbidden: Forbidden:
description: Forbidden description: Forbidden
content: content:
application/json: application/json; charset=utf-8:
schema: schema:
$ref: '#/components/schemas/ApiResponse' $ref: '#/components/schemas/ApiResponse'
NotFound: NotFound:
description: Not Found description: Not Found
content: content:
application/json: application/json; charset=utf-8:
schema: schema:
$ref: '#/components/schemas/ApiResponse' $ref: '#/components/schemas/ApiResponse'
NotImplemented: NotImplemented:
description: Not Implemented description: Not Implemented
content: content:
application/json: application/json; charset=utf-8:
schema: schema:
$ref: '#/components/schemas/ApiResponse' $ref: '#/components/schemas/ApiResponse'
Conflict: Conflict:
description: Conflict description: Conflict
content: content:
application/json: application/json; charset=utf-8:
schema: schema:
$ref: '#/components/schemas/ApiResponse' $ref: '#/components/schemas/ApiResponse'
RequestEntityTooLarge: RequestEntityTooLarge:
description: Request Entity Too Large, max allowed size exceeded description: Request Entity Too Large, max allowed size exceeded
content: content:
application/json: application/json; charset=utf-8:
schema: schema:
$ref: '#/components/schemas/ApiResponse' $ref: '#/components/schemas/ApiResponse'
InternalServerError: InternalServerError:
description: Internal Server Error description: Internal Server Error
content: content:
application/json: application/json; charset=utf-8:
schema: schema:
$ref: '#/components/schemas/ApiResponse' $ref: '#/components/schemas/ApiResponse'
DefaultResponse: DefaultResponse:
description: Unexpected Error description: Unexpected Error
content: content:
application/json: application/json; charset=utf-8:
schema: schema:
$ref: '#/components/schemas/ApiResponse' $ref: '#/components/schemas/ApiResponse'
schemas: schemas:

File diff suppressed because it is too large Load diff