-
-
Notifications
You must be signed in to change notification settings - Fork 248
Closed
Labels
questionFurther information is requestedFurther information is requested
Description
In echo, I usually do this:
c.Response().Header().Set("Content-Type", "application/pdf")
if err := generatePDFInvoice(c.Request().Context(), params, c.Response().Writer); err != nil {
return err
}
return nil
How do I respond with files in body in Huma? The docs do not have such an example
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested