Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add parameter validation to Ktor server generator #287

Open
atollk opened this issue Apr 26, 2024 · 0 comments
Open

Add parameter validation to Ktor server generator #287

atollk opened this issue Apr 26, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@atollk
Copy link
Contributor

atollk commented Apr 26, 2024

see original discussion here: #280 (comment)

#280 implemented Ktor server generation but compared to the Spring and Micronaut generators, it is missing validation checks on the format of request parameters, e.g. the maximal allowed length of a string. It would be nice to have all generators be on the same capability level.

Since Ktor does not offer annotations for automatic checks like Spring and Micronaut do, a different solution needs to be found.

cc @ulrikandersen

@ulrikandersen ulrikandersen added the enhancement New feature or request label Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants