I am considering introducing JSON-RPC for my web service with this library . I would also like to implement Swagger for my service.
However, I'm not sure if these two are a good combination. In JSON-RPC, all methods are on the same resource, while this makes no sense in Swagger.
I am interested in the following:
Your thoughts are appreciated.
A related, obscure question: Swagger and json-rpc
Swagger JSON-RPC, .
, , Swagger API. Swagger , HTTP-.
, JSON-RPC, - , , . , Swagger 100% REST- API, , - .
API...
JSON-RPC . , REST HTTP. , . JSON-RPC API (socket.io, raw binary, ZeroMQ, fax- > OCR, sms, anything) .
-, JSON-RPC - REST, REST - SOAP
Source: https://habr.com/ru/post/1583945/More articles:Как избежать медленного коллапса при использовании обвала бутстрапа и div в таблице - javascriptЗагрузить изображение программно в быстром режиме - iosHow can I prevent a custom Node data loss tree for TTreeView? - delphiInherited or local MIME type - iisKeep getting errors while running VBA - vbaVS preprocessor definitions Local variables, speed difference - optimizationSwagger and json-rpc - json-rpcНеобходимость java Regex для удаления/замены XML-элементов из определенной строки - javaRemove elements from an array. Logic of an array - present and constant time - javascriptHow to determine that the selected plugin is initialized on an element - javascriptAll Articles