-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
implemented JSON formatting for Rune responses #2941
Conversation
Updated the Runes list response to return in JSON format. Thanks in advance for reviewing and merging. |
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.
Good start! Left some comments, also try to use our formatter (just fmt
) if you have just
installed and maybe write a test in tests/json_api.rs
for these two endpoints.
Why did you close this? If you're having trouble I can just integrate my suggestions |
@raphjaph please review again my pull request |
haha, That was a mistake of mine :D |
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.
Looking good, two tests for the endpoints would also be good.
Can write those for you if you don't know where/how
Refactor the code for better simplicity Co-authored-by: raph <[email protected]>
Do you have any further suggestions for me? |
@lugondev I added some tests. Still have to fix one thing but, have a look! |
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.
It's good to go now
In this update, JSON formatting has been added to Rune responses to enhance data readability and interoperability.
thanks