| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- operationId: userCreate
- summary: Create
- security: []
- description: User registration
- tags: [User]
- requestBody:
- content:
- application/json:
- schema:
- type: object
- required:
- - name
- - email
- - password
- - confirm_password
- properties:
- name:
- type: string
- description: Name of new user
- example: John Smith
- email:
- type: string
- format: email
- description: Email of new user
- example: john.smith@mail.com
- password:
- type: string
- description: Password for new user
- example: johnsmith123
- confirm_password:
- type: string
- description: Confirmation of password
- example: johnsmith123
- responses:
- "200":
- description: "New user created (always returns '{success: true}')"
- content:
- application/json:
- schema:
- type: object
- properties:
- success:
- type: boolean
- "400":
- $ref: "#/components/responses/400"
- "500":
- $ref: "#/components/responses/500"
|