Forum Discussion
3 Replies
- nmrao
Champion Level 1
Swagger UI only allows to try / execute, can't have proper test(s) / assertions.
- KarelHusaSuper Contributor
Swagger UI is a viewer for the API definitions utilizing OpenAPI standard. OpenAPI specification was formerly known as Swagger, that's where a lot of confusion comes from.
And yes, if you have an access to Swagger UI, you can get an underlying OpenAPI definition and import it into ReadyAPI.
An example, with the BankGround API.
If you visit https://bankground.apimate.eu/ you will be able to see the API presented in Swagger UI (a brief description in the introduction, API operations are bellow).
In the top left corner, there is a link to the OpenAPI definition:
Either copy this link or click it and download the JSON file -- this is OpenAPI definition. Import the OpenAPI definition into ReadyAPI.
That's all!
- arasi_mOccasional Contributor
Thank you very much for the detailed explanation. It saved a lot of time.