Skip to content

How to build/output a model like FastAPI does with response_model #794

Closed Answered by riziles
blackhillsystems asked this question in Questions
Discussion options

You must be logged in to vote

@blackhillsystems , I'm not 100% sure I understand what you are asking. Does Hero.schema() or Hero.schema_json() give you what you are looking for?

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by blackhillsystems
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
2 participants