SIGN IN SIGN UP

minor simplification of v3.1 schema (#2671)

* minor simplification of v3.1 schema

"if the X property is present, then apply this constraint to property X" can
be simplified by simply stating the constraint for property X.

* add missing constraint to "header"

https://spec.openapis.org/oas/v3.1.0#headerObject

* allowEmptyValue and allowReserved don't make sense for headers

* collapse single-item "enum"s in "cookie" and "header" to "const"
K
Karen Etheridge committed
9acd3dbe9c7c57218c7d14f0fc0b505e79220230
Parent: 17ed07c
Committed by GitHub <noreply@github.com> on 9/23/2021, 4:22:00 PM