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