diff --git a/openapi_specs/openapi3.yml b/openapi_specs/openapi3.yml index ebd5276..a726fc0 100644 --- a/openapi_specs/openapi3.yml +++ b/openapi_specs/openapi3.yml @@ -89,22 +89,25 @@ paths: content: application/json: schema: - type: array - items: - type: object - properties: - admin: - type: boolean - example: false - email: - type: string - example: 'mail1@mail.com' - password: - type: string - example: 'pass1' - username: - type: string - example: 'name1' + type: object + properties: + users: + type: array + items: + type: object + properties: + admin: + type: boolean + example: false + email: + type: string + example: 'mail1@mail.com' + password: + type: string + example: 'pass1' + username: + type: string + example: 'name1' /users/v1/register: post: tags: @@ -579,4 +582,4 @@ paths: example: 'fail' message: type: string - example: 'Book not found!' \ No newline at end of file + example: 'Book not found!'