Skip to content

feat: implement Joi validation for administrative and relayer registr…#316

Open
DevALVIN-24 wants to merge 1 commit into
StellarFlow-Network:mainfrom
DevALVIN-24:feature/validate-asset-pairing
Open

feat: implement Joi validation for administrative and relayer registr…#316
DevALVIN-24 wants to merge 1 commit into
StellarFlow-Network:mainfrom
DevALVIN-24:feature/validate-asset-pairing

Conversation

@DevALVIN-24
Copy link
Copy Markdown

@DevALVIN-24 DevALVIN-24 commented May 30, 2026

Closes #289


This pr closes#289
Description
This PR resolves the lack of request body structural validation on administrative configuration and relayer registry routes in src/routes/admin.ts, reducing the risk of internal server errors due to malformed payloads.

Key Changes
Schema Definitions: Added Joi validation schemas for reload-secret, rate-limit, and relayer-registry.
Payload Validation: Integrated Joi schemas to validate request bodies.
Route Registration: Correctly registered and exposed missing relayer-registry POST and DELETE endpoints.
Swagger Adjustments: Fixed swagger documentation path mismatch.

@drips-wave
Copy link
Copy Markdown

drips-wave Bot commented May 30, 2026

@DevALVIN-24 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

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.

🛡️ QA | Strict Inbound Request Payload Validation

1 participant