Departments
Create a new department
Changed onpost/departments
Request
- Base URLhttp://localhost:3000
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
Department created successfully
Example response
{
"id": 1,
"name": "Management"
}Changes
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info
- breaking
the response property
became optional for the status - breaking
the response property
became optional for the status - breaking
the response property
became optional for the status - info
added the non-success response with the status
- breaking