Skip to content
This repository was archived by the owner on May 7, 2026. It is now read-only.

add response models to each return type#18

Merged
rosesyrett merged 7 commits into
masterfrom
addResponseModels
Aug 26, 2022
Merged

add response models to each return type#18
rosesyrett merged 7 commits into
masterfrom
addResponseModels

Conversation

@rosesyrett
Copy link
Copy Markdown
Contributor

made new response models and ensured fastAPI was aware of each routes return type

This ensures that the openapi schema generated by fastAPI knows what return type each route has, so that any Java client generated from it will be able to incorporate this automagically.

@rosesyrett
Copy link
Copy Markdown
Contributor Author

I'm really not sure why the code CI tests are failing...

Copy link
Copy Markdown
Contributor

@callumforrester callumforrester left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, minor comment that you're welcome to ignore.

Comment thread src/diffcalc_API/models/response.py
@rosesyrett rosesyrett merged commit a78a8bd into master Aug 26, 2022
@rosesyrett rosesyrett deleted the addResponseModels branch November 11, 2022 10:49
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants