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

QA API #173

Open
minkyraccoon opened this issue Mar 16, 2021 · 2 comments
Open

QA API #173

minkyraccoon opened this issue Mar 16, 2021 · 2 comments
Assignees

Comments

@minkyraccoon
Copy link

minkyraccoon commented Mar 16, 2021

Purpose of this issue to QA the API review

Background:

  • API has already been reviewed by Jordan.
  • Dongsam has made changes based on this feedback.

Next Steps:

  • New version is available and needs to be checked
    • such that Jordan's recommendations are done
    • no issues are remaining

Outcomes

  • PR with proposed changes
  • Associated documentation detailing any bigger changes or deficiencies
@fdymylja
Copy link

types mismatch:
favor string over bytes, for readability during json encoded queries:

in responses instead of repeating the type descriptor, nest the type:

 message PoolMetadataResponse { 
      PoolMetadata pool_metadata = 1;
 }

missing documentation:

documentation fix:

not clear:

proto conventions:

@dongsam
Copy link
Contributor

dongsam commented Mar 29, 2021

Hi, @fdymylja Thanks for your feedback,

I just applied that from #193, #202

  • types mismatch:favor string over bytes, for readability during json encoded queries:
    fixed type from bytes to string #193
    - order_price
    - swap_fee_rate
    - withdraw_fee_rate
    - max_order_amount_ratio

  • in responses instead of repeating the type descriptor, nest the type:

    → removed nested response #193

  • proto conventions:
    → add version to package path tendermint.liquidity.v1beta1 #193

  • not clear

    • removed legacy, unofficial base_reqmsg.proto #193
    • remove unofficial StdTx for Msg{*}Response #202
    • remove unofficial StdTx for Msg{*}Response #202
    • remove unused legacy PoolBatchResponse #202
  • documentation #202

    • clarify the role of pool_type_id
    • clarify the role of MsgStates

you can see updated swagger v2.2.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants