Add support for newer HTTP versions (2/3) #45
Replies: 3 comments 6 replies
-
Is it necessary to explicitly state the HTTP version, or would it be better to just ensure that OAS can describe the functionality that newer versions offer? |
Beta Was this translation helpful? Give feedback.
-
Hey @handrews On the one hand, adding lower-level information, like the protocol version, does not add much to the OAS. On the other hand, the functionalities added from those newer versions can significantly alter the way of working. Wouldn't it be better to have an Optional indicator that an API is HTTP2+? |
Beta Was this translation helpful? Give feedback.
-
I thought HTTP 2&3 weren't supposed to make any semantic changes to the protocol. I'd like to have the version in the description just so the code can speed-up connection by not trying HTTP version higher than max. |
Beta Was this translation helpful? Give feedback.
-
Context
REST APIs should evolve to utilize the capabilities of the newer versions of the HTTP protocol.
Problem
OAS does not support different protocol information and the new version's ability for bidirectional communication. Since the specification and documentation of an API are essential for collaboration, this is a limiting factor in exploration and innovation with newer HTTP versions.
Solution
The Specification format should not limit the capabilities of the APIs by leveraging newer underlying protocol versions.
Beta Was this translation helpful? Give feedback.
All reactions