Closed NeroBlackstone closed 1 year ago
Another question is how to implement this report_get
function.
Shall we manually set the content-type for response in server implementation?
I think this part is not finished because I can't find any code snip about "application/pdf" in server-generated code.
There have been some related changes to code generation in the openapi-generator
repo... so if you try the master branch of openapi-generator, it should generate report_get(req::HTTP.Request;) -> Vector{UInt8}
instead.
Shall we manually set the content-type for response in server implementation? I think this part is not finished ...
True, this part is not there. This is what #25 was meant for. But I would recommend addressing that after #51, which can be done in isolation.
For
download.yaml
:Julia server generate doc is:
report_get(req::HTTP.Request;) -> String
, is this the expected result?