-
Notifications
You must be signed in to change notification settings - Fork 214
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
Group tags by era (Shelley vs Byron) in swagger documentation #841
Conversation
95d8c3d
to
606e03d
Compare
specifications/api/swagger.yaml
Outdated
get: | ||
operationId: listByronWallets | ||
tags: ["Byron Wallets"] | ||
summary: List | ||
description: | | ||
<p align="right">status: <strong>not implemented</strong></p> | ||
<p align="right">status: <strong>provisional</strong></p> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
as discussed... under testing sounds better...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@piotr-iohk done
606e03d
to
06cd335
Compare
bors try |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
bors r+ |
tryBuild failed |
bors r+ |
841: Group tags by era (Shelley vs Byron) in swagger documentation r=KtorZ a=KtorZ # Issue Number <!-- Put here a reference to the issue this PR relates to and which requirements it tackles --> #774 #775 #776 #777 #778 # Overview <!-- Detail in a few bullet points the work accomplished in this PR --> - [x] I have renamed `/external-transactions` to `/proxy/transactions` to better convey its meaning - [x] I have renamed all `/byron/wallets` to `/byron-wallets` as per the discussion we had on slack - [x] I have renamed `/.../migrate` to `/.../migrations`, REST is about resources, not actions. - [x] I have grouped and organize API tags by eras such that it's more readable: ![Screenshot from 2019-10-16 13-38-08](https://user-images.githubusercontent.com/5680256/66916252-24946900-f01b-11e9-9060-9a6aa88d0ac4.png) # Comments <!-- Additional comments or screenshots to attach if any --> :warning: base branch is `jonathanknowles/migrate-byron-wallet-return-type` <!-- Don't forget to: ✓ Self-review your changes to make sure nothing unexpected slipped through ✓ Assign yourself to the PR ✓ Assign one or several reviewer(s) ✓ Once created, link this PR to its corresponding ticket ✓ Acknowledge any changes required to the Wiki --> Co-authored-by: KtorZ <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have a some questions about this PR:
- If
/proxy
refers to a resource, then to what resource does it refer? - If
/proxy
doesn't refer to a resource, then why can we have/proxy/transactions
but not/byron/wallets
?
Build failed |
The
but it's a bit far-fetched (and would cause a pretty big changes for all other endpoints to keep the consistency). Going further with RESTful practices, I recommend reading: https://www.vinaysahni.com/best-practices-for-a-pragmatic-restful-api#restful |
bors try |
tryBuild failed |
…lley) Also renamed '/byron/wallets' to '/byron-wallets' to better reflect what the resource should be
06cd335
to
d9bcf54
Compare
Fixed tests and re-run integration tests locally 👍, they pass. |
bors r+ |
841: Group tags by era (Shelley vs Byron) in swagger documentation r=KtorZ a=KtorZ # Issue Number <!-- Put here a reference to the issue this PR relates to and which requirements it tackles --> #774 #775 #776 #777 #778 # Overview <!-- Detail in a few bullet points the work accomplished in this PR --> - [x] I have renamed `/external-transactions` to `/proxy/transactions` to better convey its meaning - [x] I have renamed all `/byron/wallets` to `/byron-wallets` as per the discussion we had on slack - [x] I have renamed `/.../migrate` to `/.../migrations`, REST is about resources, not actions. - [x] I have grouped and organize API tags by eras such that it's more readable: ![Screenshot from 2019-10-16 13-38-08](https://user-images.githubusercontent.com/5680256/66916252-24946900-f01b-11e9-9060-9a6aa88d0ac4.png) # Comments <!-- Additional comments or screenshots to attach if any --> :warning: base branch is `jonathanknowles/migrate-byron-wallet-return-type` <!-- Don't forget to: ✓ Self-review your changes to make sure nothing unexpected slipped through ✓ Assign yourself to the PR ✓ Assign one or several reviewer(s) ✓ Once created, link this PR to its corresponding ticket ✓ Acknowledge any changes required to the Wiki --> Co-authored-by: KtorZ <[email protected]>
Build succeeded |
Issue Number
#774 #775 #776 #777 #778
Overview
/external-transactions
to/proxy/transactions
to better convey its meaning/byron/wallets
to/byron-wallets
as per the discussion we had on slack/.../migrate
to/.../migrations
, REST is about resources, not actions.Comments
jonathanknowles/migrate-byron-wallet-return-type