Skip to content

Commit

Permalink
Add servers to openapi spec file (#2980) (#3053)
Browse files Browse the repository at this point in the history
(cherry picked from commit 42d73f1)

Co-authored-by: Daniel Farina <contact@nevulas.com>
  • Loading branch information
mergify[bot] and daniel-farina authored Oct 19, 2022
1 parent 5e216c6 commit c78ab72
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/generate-docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c78ab72

Please sign in to comment.