Skip to content

API Definition (Swagger)

Prepare an API definition for the project.

Here it is a simple example:

  • Description: This endpoint handles user registration.​

  • Input: ​

    • HTTP Method: Post
    • Endpoint: ‘api/register’​
    • Headers:​
      • Content-Type: application/json​
    • Body: {"username": "example_user", "email": "user@example.com", "password": "securePassword123"}
  • Output:​

    • Status Code: 201 Created​