Skip to content

How to define an openapi route that retuns an stream? (getting a type error with the latest versions) #1803

Answered by yusukebe
cldsnchz asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @cldsnchz

Is that the expected way?

Yes, this is expected. If you define types, it requires returning JSON in current implementation.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by cldsnchz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants