-
Notifications
You must be signed in to change notification settings - Fork 9.2k
Open
Labels
re-use: globals/defaultsDefault or global components that can be overridden in some wayDefault or global components that can be overridden in some way
Description
Can there not just be a simple header generically at the response level not specific to each of the status codes? For our case, this kind of header is 99% the same across our codebase.
---
responses:
200:
description: no error
headers:
Content-Type:
description: application/json
type: string
It would be a pain to copy+paste this to each and every routine that supports HTTP JSON responses.
arno-di-loreto, MartijnR, Guru67724, nado, michael-o and 7 more
Metadata
Metadata
Assignees
Labels
re-use: globals/defaultsDefault or global components that can be overridden in some wayDefault or global components that can be overridden in some way