Skip to content

rpc: remove godoc comments in favor of swagger docs#4126

Merged
melekes merged 2 commits intomasterfrom
anton/remove-old-rpc-godoc
Nov 11, 2019
Merged

rpc: remove godoc comments in favor of swagger docs#4126
melekes merged 2 commits intomasterfrom
anton/remove-old-rpc-godoc

Conversation

@melekes
Copy link
Contributor

@melekes melekes commented Nov 11, 2019

No need to duplicate information in this case. It a) requires extra
efforts to keep both in sync b) nobody reads godoc documentation
anyways.

  • Referenced an issue explaining the need for the change
  • Updated all relevant documentation in docs
  • Updated all code comments where relevant
  • Wrote tests
  • Updated CHANGELOG_PENDING.md

No need to duplicate information in this case. It a) requires extra
efforts to keep both in sync b) nobody reads godoc documentation
anyways.
@melekes melekes added C:docs Component: Documentation C:rpc Component: JSON RPC, gRPC labels Nov 11, 2019
@melekes melekes self-assigned this Nov 11, 2019
@tessr
Copy link
Contributor

tessr commented Nov 11, 2019

How did we decide to use Swagger over Godoc?

Copy link
Contributor

@tac0turtle tac0turtle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🏖

@tessr
Copy link
Contributor

tessr commented Nov 11, 2019

Ah, @marbar3778 just explained that this is only for the RPC endpoints (which I would've known if I'd read your PR title 🤪).

@melekes melekes merged commit 1fc4ab7 into master Nov 11, 2019
@melekes melekes deleted the anton/remove-old-rpc-godoc branch November 11, 2019 13:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

C:docs Component: Documentation C:rpc Component: JSON RPC, gRPC

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants