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/cli
To build foascli
, run:
make build
The 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 setup
To run unit and e2e tests, run:
make lint && unit-test && e2e-test
See our CONTRIBUTING.md guide.