-
Notifications
You must be signed in to change notification settings - Fork 9.1k
websockets? #2947
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
OpenAPI describes HTTP APIs. WebSockets is a different protocol and therefore out of scope. |
makes sense, but also, websockets are so common in the back-end context that omitting them leaves kind of a big gap in the spec universe. openapi's scope could be expanded; the definition of the scope is in our control, after all. maybe an addition allowing just a declaration of non-http service endpoints, with the specific details of said endpoints still remaining out of scope. |
Given our focus currently, it's unlikely that we'll change the scope of the OpenAPI. The scope is actually not within our control but is part of the charter which is a bit more involved to modify (not impossible, just takes more work). We're not saying there's no gap, but at least to some extent, other specs like AsyncAPI may be better suited to fill the gap (if they haven't already). |
is there a proposal to add websocket endpoint descriptions?
i couldn't find anything about them in the spec (which actually seems kind of strange...), although this is my first time looking through it.
The text was updated successfully, but these errors were encountered: