koxudaxi/fastapi-code-generator

How to generate response_class instead of response_model?

HirossxD opened this issue · 0 comments

I want to generate

@app.get("/test", response_class=HTMLResponse)

but it's generating

@app.get('/test', response_model=Something)