ReadyAPI provides extensive support for Swagger/OpenAPI definitions. Create new ReadyAPI projects using your existing Swagger/OpenAPI definition, import definitions from and export them to SwaggerHub, and so on.
Prerequisites
-
For ReadyAPI 2.4 or earlier – To enable support for SwaggerHub, install the SwaggerHub plugin in the Plugin manager.
-
For ReadyAPI 2.1 or earlier – To enable support for Swagger/OpenAPI, install the Swagger plugin in the Plugin manager.
Create new projects
ReadyAPI creates REST projects based on existing OpenAPI or Swagger definitions. To enable it to do that, obtain a .yaml or .json file of a definition on your machine, or supply the URL of the tested service’s definition.
To learn how to create Swagger and OpenAPI projects, see Creating Project From OpenAPI/Swagger Definition.
Import Swagger definitions
Expand your existing projects by adding Swagger definitions to them. ReadyAPI supports importing definitions from SwaggerHub (both the SwaggerHub cloud service and SwaggerHub On-Premise) for public and private definitions – see Import from SwaggerHub for more information.
Export Swagger definitions
Use ReadyAPI to export any REST services in the OpenAPI/Swagger format (as a .json, .yaml, or .xml file), or to immediately publish them on SwaggerHub. See Exporting APIs for more information.
Validate Swagger service responses
To ensure your service sends responses that meet the Swagger specification requirements, use the Swagger Compliance assertion in your SoapUI functional tests.