FOASCLI is a Go-based CLI tool that provides commands for generating the Federated OpenAPI specification and the API changelog.
git clone https://github.com/mongodb/openapi.git
cd openapi/tools/cliTo build foascli, run:
make buildThe resulting foascli binary is placed in ./bin.
To get a list of available commands, run foascli help.
To set up the development environment, run:
make setupTo run unit and e2e tests, run:
make lint && unit-test && e2e-testSee our CONTRIBUTING.md guide.