Container containing different tools for Contract/API First approach. Mounting you current filesystem folder into container workspace.
Create alias on your machine:
alias apit="docker run --rm -it -v $(pwd):/opt/workspace dsauer/api-tooling:latest"
Navigate in your local folder where you want to work with API files, and execute your alias apit.
After which you folder will be mounded into Docker volume in workspace folder.
apimain command for working with you APIs Useapi helpto list all available commans.
Other useful tools available in the container
curl,jq,mtr,httpie,git,zsh,vim,npm
- add openjdk, maven
- implement
apipredefined commands- add OpenAPI project template
make local-buildbuild latest image locallymake local-devwill enter the container and mounttemplateandtoolingfolders, so they can be edited on your machine, not in the container. This is handy when creating and testing newapicommands.make apitStart API tool container inoutfolder as Workspace.