apiflask / apiflask

A lightweight Python web API framework.

Home Page:https://apiflask.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support adding headers to the response schema

greyli opened this issue · comments

Discussed in #496

Originally posted by iressstevenson October 13, 2023
In the input we can specify location but not in the output.
Is there are way to specify output headers for the api spec?

What should the API for this feature look like? Could you provide an example?