You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 1, 2019. It is now read-only.
4064: Preserve query and fragment part of the URI while redirecting for relative paths (swagger doc) r=KtorZ a=Anviking
## Description
<!--- A brief description of this PR and the problem is trying to solve -->
Ported from cardano-wallet c49e93a350e8294a380385258b9232df2d00ac20 to
- lib/src/Pos/Util/Swagger.hs (for the node monitoring api docs)
- wallet/src/Cardano/Wallet/API/V1/Swagger.hs (for the wallet docs)
### Todo:
- [x] Update changelog
- [x] Fill in QA
## Linked issue
cardano-foundation/cardano-wallet#299
Co-authored-by: Johannes Lund <johannes.lund@iohk.io>
Context
Steps to Reproduce
Expected behavior
The docs load scrolled down to the "Info" section
Actual behavior
The page loads at the top of the page.
Resolution Plan
cardano-foundation/cardano-wallet#299 (comment)
PR
develop
develop
QA
Wallet API Docs
Visiting https://input-output-hk.github.io/cardano-wallet/#tag/Info, now loads to the
Info
section/tag.Node API Docs
stack exec -- cardano-wallet-server \ --node-id edge \ --system-start 0 \ \ --topology state-integration/topology/edge.json \ --configuration-file test/integration/configuration.yaml \ \ --db-path state-integration/db \ --wallet-db-path state-integration/wallet-db \ --wallet-rebuild-db \ \ --wallet-api-address 127.0.0.1:8090 \ --wallet-doc-address 127.0.0.1:8190 \ --node-api-address 127.0.0.1:8080 \ --node-doc-address 127.0.0.1:8180 \ \ --tls-ca-cert state-integration/tls/edge/ca.crt \ --tls-wallet-server-cert state-integration/tls/edge/server.crt \ --tls-wallet-server-key state-integration/tls/edge/server.key \ --tls-node-client-cert state-integration/tls/edge/client.crt \ --tls-node-client-key state-integration/tls/edge/client.key \
Visiting https://127.0.0.1:8180/docs/v1/index/#tag/Settings now leads to the
Settings
tag/section.cardano-sl
This is also fixed in cardano-sl. Details (similar to above) in the QA section of input-output-hk/cardano-sl#4064.
The text was updated successfully, but these errors were encountered: