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

Use pydantic models for api responses #652

Open
lukasjuhrich opened this issue Aug 1, 2023 · 0 comments
Open

Use pydantic models for api responses #652

lukasjuhrich opened this issue Aug 1, 2023 · 0 comments
Labels
architectural Architectural changes: things that usually don't have an impact for the average pycroft end user. enhancement 🔨 api

Comments

@lukasjuhrich
Copy link
Collaborator

After #645, pydantic models have been introduced for the table JSON endpoints.
The same would also be useful for the pycroft API, to prevent stupid bugs such as typos.

@lukasjuhrich lukasjuhrich added enhancement architectural Architectural changes: things that usually don't have an impact for the average pycroft end user. 🔨 api labels Aug 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
architectural Architectural changes: things that usually don't have an impact for the average pycroft end user. enhancement 🔨 api
Projects
None yet
Development

No branches or pull requests

1 participant