This repository hosts the OpenAPI specification for the Atlas Administration API (v2.0).
This repository also contains tools for validating, generating, and distributing OpenAPI specifications.
The tools/cli directory hosts a Go-based CLI tool used to merge multiple OpenAPI specifications into a single federated specification, which is used for the Admin APIs.
For more details, please refer to the CLI’s README.md.
The tools/spectral directory contains Spectral rule definitions. These rules are used to validate that the generated OpenAPI specifications comply with MongoDB's Improvement Proposal for APIs (IPA).
For more details, please refer to the Spectral’s README.md.
The tools/postman directory contains the logic required to generate the MongoDB Atlas Postman collections.
For more details, please refer to the Spectral’s README.md.
See our CONTRIBUTING.md guide.