Open api 3.0 mock Generator [closed]

房东的猫 提交于 2019-12-12 06:21:57

问题


I am learning Open API Specification. Is there any tools to perform mocking on API based on the open API specification in YAML file.

Thanks in Advance

ps: I am using the currently released draft version of open API (OpenAPI 3.0)


回答1:


SwaggerHub includes a mock server for OpenAPI 2.0 and 3.0 specs. Mocking is available on both paid and free plans.

Disclaimer: I work for the company that develops SwaggerHub.




回答2:


I'm currently working to add support on Eclipse Vert.x for automatic request validation and security validation. Check out this blog post i wrote, you can find a complete guide on how to write a rest api service with eclipse vert.x and OAS3. You can also give a look to this gist, there's a complete example. Ping me if you want other infos.

I will add as soon as possible the generator for client and server for Vert.x (i'm waiting swagger-codegen support to OAS 3)



来源:https://stackoverflow.com/questions/44107798/open-api-3-0-mock-generator

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!