From f5e259b52abf47749987df789b98bd6057c3bb92 Mon Sep 17 00:00:00 2001 From: Michal Zielenkiewicz Date: Fri, 14 Jul 2023 14:34:05 +0200 Subject: [PATCH] Replace indexer api urls with nexus --- .changelog/736.internal.md | 1 + README.md | 6 +++--- src/oasis-nexus/orval.config.js | 4 ++-- 3 files changed, 6 insertions(+), 5 deletions(-) create mode 100644 .changelog/736.internal.md diff --git a/.changelog/736.internal.md b/.changelog/736.internal.md new file mode 100644 index 000000000..91ac9901a --- /dev/null +++ b/.changelog/736.internal.md @@ -0,0 +1 @@ +Replace indexer api urls with nexus diff --git a/README.md b/README.md index b709e80e1..514d484a2 100644 --- a/README.md +++ b/README.md @@ -64,7 +64,7 @@ A detailed post on Git commit messages: [How To Write a Git Commit Message]. ### Oasis Nexus API -Deployed version is at with OpenAPI +Deployed version is at with OpenAPI [HTML][nexus-html-spec] and [YAML][nexus-yaml-spec] specs.
@@ -120,7 +120,7 @@ REACT_APP_API=http://localhost:8008/v1/ yarn start [github-release-link]: https://github.com/oasisprotocol/explorer/actions?query=workflow:release [github-renovate-badge]: https://img.shields.io/badge/renovate-enabled-brightgreen.svg [github-renovate-link]: https://www.mend.io/renovate/ -[nexus-html-spec]: https://index.oasislabs.com/v1/spec/v1.html -[nexus-yaml-spec]: https://index.oasislabs.com/v1/spec/v1.yaml +[nexus-html-spec]: https://nexus.oasis.io/v1/spec/v1.html +[nexus-yaml-spec]: https://nexus.oasis.io/v1/spec/v1.yaml [nexus-bleeding-edge-spec]: https://github.com/oasisprotocol/nexus/blob/main/api/spec/v1.yaml [replace-lines-to-run-latest-emerald]: https://github.com/oasisprotocol/nexus/blob/d48de37/tests/e2e/config/e2e-dev.yml#L1-L8 diff --git a/src/oasis-nexus/orval.config.js b/src/oasis-nexus/orval.config.js index 04ea2e5cb..732439a2d 100644 --- a/src/oasis-nexus/orval.config.js +++ b/src/oasis-nexus/orval.config.js @@ -7,8 +7,8 @@ const config = { input: { // target: './v1.yaml', target: 'https://raw.githubusercontent.com/oasisprotocol/nexus/main/api/spec/v1.yaml', - // target: 'https://index-staging.oasislabs.com/v1/spec/v1.yaml', - // target: 'https://index.oasislabs.com/v1/spec/v1.yaml', + // target: 'https://nexus.stg.oasis.io/v1/spec/v1.yaml', + // target: 'https://nexus.oasis.io/v1/spec/v1.yaml', override: { // We want: // - network as a parameter for controlling API baseURL