Skip to content

Conversation

@pseudoyu
Copy link
Contributor

Summary

  • Introduced emptyResponse function to return a 200 status with an empty data structure.
  • Updated methods in both decentralized and federated interfaces to return an empty response when their respective components are nil.
  • Ensured consistent handling of nil checks across all relevant methods.

Checklist

Does this PR introduce a breaking change?

  • Yes
  • No

…ponents

- Introduced `emptyResponse` function to return a 200 status with an empty data structure.
- Updated methods in both decentralized and federated interfaces to return an empty response when their respective components are nil.
- Ensured consistent handling of nil checks across all relevant methods.
@pseudoyu pseudoyu self-assigned this Mar 18, 2025
@pseudoyu pseudoyu requested a review from polebug as a code owner March 18, 2025 06:36
@pseudoyu pseudoyu merged commit cdf0a25 into main Mar 18, 2025
7 checks passed
@pseudoyu pseudoyu deleted the fix/node-route branch March 18, 2025 07:21
@github-actions
Copy link

commit hash: cdf0a25
openapi.yaml

Lint Result

Lint: docs/api.yaml

Severity Location Problem Message
warning line 10:10 no-server-example.com Server url should not point to example.com or localhost.

Validation successful
Warnings: 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

Successfully merging this pull request may close these issues.

3 participants