Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add servers to openapi.yaml swagger file #2980

Merged
merged 1 commit into from
Oct 19, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Add servers to openapi spec file
daniel-farina committed Oct 12, 2022
commit 230fe3bd85674be1c9039d8138757a1edff6a9aa
4 changes: 4 additions & 0 deletions scripts/generate-docs.sh
Original file line number Diff line number Diff line change
@@ -40,6 +40,10 @@ yarn install
yarn combine
yarn convert
yarn build

#Add public servers to spec file for Osmosis testnet and mainnet
yq -i '."servers"+=[{"url":"https://lcd.osmosis.zone","description":"Osmosis mainnet node"},{"url":"https://lcd-test.osmosis.zone","description":"Osmosis testnet node"}]' static/openapi/openapi.yaml

cd ../../

# clean swagger files