Skip to content

Conversation

@blockchainluffy
Copy link
Contributor

update findOperations to check for endpoint name for parameterised endpoints

@blockchainluffy blockchainluffy self-assigned this Nov 4, 2025
@jannikluhn
Copy link
Contributor

router.Use(kproapi.ConfigMiddleware(srv.config.GetEnableWriteOperations()))
router.Use(chimiddleware.OapiRequestValidator(swagger))

We should switch the order of the middlewares around to protect the read only check from weird inputs.

@blockchainluffy blockchainluffy merged commit ebb5920 into main Dec 3, 2025
5 checks passed
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