Skip to content
This repository has been archived by the owner on Aug 21, 2023. It is now read-only.

Latest commit

 

History

History
14 lines (9 loc) · 631 Bytes

README.md

File metadata and controls

14 lines (9 loc) · 631 Bytes

Raml Api Designer

It will test your API endpoint against RAML.

Example

Create catalog /tmp/contract and api.raml file inside. api.raml need to be RAML described file. Get your provider IP, which will be visible for raml-api-tester. If it is http://localhost, then pass http://172.17.42.1:80 (it is your localhost machine docker virtual IP). Pass it as environment variable API_ENDPOINT.

docker run -t --rm=true -e API_ENDPOINT="http://172.17.42.1:80" -v /tmp/contract:/contract madkom/raml-api-tester

Container returns 0 if testing went well.