Skip to content

Conversation

@lokesh-bitgo
Copy link
Contributor

Ticket: WP-6315

@lokesh-bitgo lokesh-bitgo marked this pull request as ready for review October 14, 2025 04:08
@lokesh-bitgo lokesh-bitgo requested a review from a team as a code owner October 14, 2025 04:08
* Helper function to extract path parameter names from a route path
* Supports both Express-style (:param) and OpenAPI-style ({param}) notation
*/
function extractPathParams(path: string): string[] {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we move this to a util?

/**
* Helper function to get codec parameter names from a params object
*/
function getCodecParamNames(paramsCodec: Record<string, any>): string[] {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as above

@lokesh-bitgo
Copy link
Contributor Author

Route params validation will be handled by Supertest. I’m closing this PR as your ongoing Supertest changes will cover these scenarios too. Ticket - https://bitgoinc.atlassian.net/browse/WP-6312

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