Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

In Swagger , Is it possible to create API's for Websockets?

Tags:

websocket

api

I dont know how to create a documentation for websockets in swagger. In Apairy does not have an option to create API's for Websockets. In Swagger, is it Possible to create means please justify .. Thank you

like image 299
VijayRagavan Avatar asked Oct 15 '15 10:10

VijayRagavan


Video Answer


1 Answers

Not at the moment, you can follow the websocket discussion in this thread:

https://github.com/OAI/OpenAPI-Specification/issues/523

An alternative spec that supports websocket documentation is AsyncAPI:

https://github.com/asyncapi/asyncapi

like image 143
Miguel Mota Avatar answered Sep 29 '22 11:09

Miguel Mota