The "Next" version of the docs for the HTTP library says:
I interpret this to mean that if a TypeSpec definition imports the http library, then any emitter, including the openapi3 emitter, will treat a utcDateTime in a header as rfc7231. For the openapi3 emitter, that means the header will be rendered with "format: http-date-rfc7231", but this is not the behavior I see in the playground.
Playground example
The "Next" version of the docs for the HTTP library says:
I interpret this to mean that if a TypeSpec definition imports the
httplibrary, then any emitter, including the openapi3 emitter, will treat a utcDateTime in a header asrfc7231. For the openapi3 emitter, that means the header will be rendered with "format: http-date-rfc7231", but this is not the behavior I see in the playground.Playground example