CON-In-A-Box / CIAB-Portal

The Core of Con-In-A-Box, but so much more! Convention Meetings, Registration and Volunteers management software package
Apache License 2.0
9 stars 5 forks source link

Add PUT endpoint for departments #673

Closed rkaiser-dev closed 9 months ago

rkaiser-dev commented 9 months ago

This PR adds the PUT endpoint for departments, including service and repository implementations, tests, and openapi documentation updates.

Also fixes an issue with PostDepartment openapi documentation schema.

rkaiser-dev commented 9 months ago

This should be ready for another look. Left a comment asking about whether we move to ID for all Department endpoints and start with this one.

Also added a few more test cases to catch some things that the OpenAPI schema wouldn't normally allow, but that the server should still guard against and reject, assuming an all ID approach.