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

Annotate response model for all endpoints #303

Open
nleroy917 opened this issue Mar 27, 2024 · 0 comments
Open

Annotate response model for all endpoints #303

nleroy917 opened this issue Mar 27, 2024 · 0 comments

Comments

@nleroy917
Copy link
Member

We should mirror what we now do over in the BEDbase UI with auto-gen of TypeScript types for development. This requires that all endpoints are annotated with a response_model object, I believe.

Then we can add a package.json script to generate the types and switch over our queries to use that for response model annotation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant