Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Define Employee HTTP API #88

Closed
Tracked by #27
Goncalo-Marques opened this issue Apr 13, 2024 · 0 comments · Fixed by #89
Closed
Tracked by #27

Define Employee HTTP API #88

Goncalo-Marques opened this issue Apr 13, 2024 · 0 comments · Fixed by #89
Assignees
Labels
enhancement New feature or request server app Work associated with the server app

Comments

@Goncalo-Marques
Copy link
Owner

Goncalo-Marques commented Apr 13, 2024

Define the following endpoints to manage an employee:

HTTP Verb Endpoint Description
POST /employees Create an employee
GET /employees List multiple employees
GET /employees/{id} Get an employee
PATCH /employees/{id} Modify an employee
DELETE /employees/{id} Delete an employee
PUT /employees/password Modify an employee password
PUT /employees/reset-password Reset an employee password
@Goncalo-Marques Goncalo-Marques mentioned this issue Apr 13, 2024
13 tasks
@Goncalo-Marques Goncalo-Marques self-assigned this Apr 13, 2024
@Goncalo-Marques Goncalo-Marques added enhancement New feature or request server app Work associated with the server app labels Apr 13, 2024
@Goncalo-Marques Goncalo-Marques linked a pull request Apr 13, 2024 that will close this issue
Goncalo-Marques added a commit that referenced this issue Apr 19, 2024
Refs: closes #88 

## Summary

Update the Swagger specification with the HTTP API definition for the
Employee domain.

## Changes

- Fix username not being forced to lower case in the service layer
- Update swagger spec with employee endpoints
- Update handler structure to implement the generated http interface
- Update common domain models and move the paginated models to their own
file
- Update pagination sort structure model and rename it for consistency
- Add GeoJSON type
- Add username field to the employee domain model
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request server app Work associated with the server app
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant