Open api 3.0 mock Generator [closed]

2019-07-31 17:33发布

问题:

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)