Skip to content

#482 [BE-063] Yield API: OpenAPI spec schemas definition#514

Open
Husten150 wants to merge 1 commit into
Fracverse:masterfrom
Husten150:fix/issue-482-openapi-error-schemas
Open

#482 [BE-063] Yield API: OpenAPI spec schemas definition#514
Husten150 wants to merge 1 commit into
Fracverse:masterfrom
Husten150:fix/issue-482-openapi-error-schemas

Conversation

@Husten150

Copy link
Copy Markdown

Add error response schemas for 400, 401, and 429 status codes, and update all endpoint response references accordingly.

Changes

  • Added \Error400\ schema with \error\ (required) and optional \�vailable/\earning\ fields for yield insufficient-funds errors
  • Added \Error401\ schema for unauthorized error responses
  • Added \Error429\ schema for rate limit exceeded responses
  • Updated all \400\ endpoint responses to reference \Error400\
  • Updated all \401\ endpoint responses to reference \Error401\
  • Added \429\ responses to rate-limited auth and users endpoints

Closes #482

Add error response schemas for 400, 401, and 429 status codes:
- Error400: includes optional available/earning fields for yield operations
- Error401: Unauthorized error response shape
- Error429: Rate limit exceeded response shape

Update all endpoint response references and add 429
responses to rate-limited auth and user endpoints.
@drips-wave

drips-wave Bot commented Jul 24, 2026

Copy link
Copy Markdown

@Husten150 Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@ONEONUORA

Copy link
Copy Markdown
Contributor

@Husten150
Sync with master branch
Update your branch
Work on your issue description
Make sure your implementation passes CI Checks

@ONEONUORA

Copy link
Copy Markdown
Contributor

@Husten150
Pls update on this

@ONEONUORA

Copy link
Copy Markdown
Contributor

@Husten150
Update on this PR
You will be unassigned at the end of today

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.

[BE-063] Yield API: OpenAPI spec schemas definition

2 participants