Departments
Get department by ID
Changed onget/departments/{departmentId}
Request
- Base URLhttp://localhost:3000
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
departmentIdinteger required
Response
Successful operation
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
- 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
- breaking