-
Notifications
You must be signed in to change notification settings - Fork 236
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* spacing + working openapi local for nymapi * sandbox nyx rest api * add now working nym-api openapi json url to component
- Loading branch information
1 parent
23a7f01
commit 0fc7cc6
Showing
7 changed files
with
32 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,27 @@ | ||
import APITable from 'components/api-table.tsx'; | ||
import { RedocStandalone } from 'redoc'; | ||
import { Callout } from 'nextra/components' | ||
|
||
You can find the OpenAPI spec found at [https://validator.nymtech.net/api-docs/openapi.json](https://validator.nymtech.net/api-docs/openapi.json) which is also used to generate the Swagger docs deployed at [https://validator.nymtech.net/api/swagger/index.html](https://validator.nymtech.net/api/swagger/index.html). | ||
|
||
<Callout type="info" emoji="ℹ️"> | ||
You can find the Swagger endpoints of other NymAPI instances at the following endpoints: | ||
<APITable endpoint="https://api.nymtech.net/cosmwasm/wasm/v1/contract/n19604yflqggs9mk2z26mqygq43q2kr3n932egxx630svywd5mpxjsztfpvx/smart/eyJnZXRfY3VycmVudF9kZWFsZXJzIjogeyJsaW1pdCI6IDMwfX0=" /> | ||
|
||
There is also an overview of endpoints at [https://cosmos.directory/nyx](https://cosmos.directory/nyx). | ||
</Callout> | ||
|
||
> Interactive Redoc component coming soon | ||
<br /><br /> | ||
|
||
<RedocStandalone | ||
specUrl="https://validator.nymtech.net/api-docs/openapi.json" | ||
options={{ | ||
nativeScrollbars: true, | ||
theme: { | ||
sidebar: { | ||
backgroundColor: '#273239', | ||
textColor: '#FCFDFE' | ||
} | ||
} | ||
}} | ||
/> |