RESTful Services - WSDL Equivalent

后端 未结 8 932
我在风中等你
我在风中等你 2020-11-28 21:04

I have been reading about REST and SOAP, and understand why implementing REST can be beneficial over using a SOAP protocol. However, I still don\'t understand why there isn

8条回答
  •  悲哀的现实
    2020-11-28 21:23

    Isn't it always useful to programmatically bind to a definition and create proxy classes instead of manually coding?

    Agree wholeheartedly, this is why I use Swagger.io

    Swagger is a powerful open source framework backed by a large ecosystem of tools that helps you design, build, document, and consume your RESTful APIs.

    So basically I use Swagger to describe my models, endpoints, etc, and then I use other tools like swagger-codegen to generate the proxy classes instead of manually coding it.

    See also: RAML

提交回复
热议问题