REST webservice 的“WSDL"的首选方法是什么? [英] What is the prefered method for a 'WSDL' for REST webservice?

查看:80
本文介绍了REST webservice 的“WSDL"的首选方法是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经构建了大量 SOAP 网络服务,但我正在为特定项目构建 REST 网络服务,我想知道人们将什么用于 REST 服务的WSDL",或者是否甚至需要它.

I have build plenty of SOAP webservices, but am building a REST webservice for a specific project, and I was wondering what people used for a 'WSDL' for REST services or if it is even needed.

推荐答案

你可以试试 Swagger(现在是 OpenAPI)它允许使用 JSON 开放标准描述 REST 服务.

You can try Swagger(now OpenAPI) which allows to describe REST services using a JSON open standard.

这篇关于REST webservice 的“WSDL"的首选方法是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆