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
- Content-Type:
- Body:
{"username": "example_user", "email": "user@example.com", "password": "securePassword123"}
- HTTP Method:
-
Output:
Status Code: 201 Created