diff --git a/.github/scripts/branded_preview.sh b/.github/scripts/branded_preview.sh index aa1a70b34..27ed1ab0e 100755 --- a/.github/scripts/branded_preview.sh +++ b/.github/scripts/branded_preview.sh @@ -1,12 +1,13 @@ #!/bin/bash set -eou pipefail +foascli versions -s v2.json --env "${target_env:?}" -o versions.json + branch_name=${target_env:?} if [[ "$branch_name" == "prod" ]]; then branch_name="main" fi -foascli versions -s v2.json --env "${branch_name:?}" -o versions.json # Load versions from versions.json versions=() diff --git a/README.md b/README.md index 7920b0ecb..7305cfd46 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ -# MongoDB Atlas Administration API (2.0) OpenAPI Specification +# MongoDB Atlas Administration API OpenAPI Specification 3.0 +[![OpenAPI (jp)](https://img.shields.io/badge/openapi-click%20to%20preview-green?style=flat&logo=mongodb)](https://htmlpreview.github.io/?https://github.com/mongodb/openapi/blob/main/openapi/branded-preview.html) + +This repository hosts the OpenAPI specification for the [Atlas Administration API (v2.0)](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/v2/). -This repository hosts the OpenAPI specification for the [Atlas Administration API (2.0)](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/v2/). \ No newline at end of file