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

MaxLength not respected #131

Open
FilippoBoni1921 opened this issue Dec 19, 2024 · 1 comment
Open

MaxLength not respected #131

FilippoBoni1921 opened this issue Dec 19, 2024 · 1 comment

Comments

@FilippoBoni1921
Copy link

FilippoBoni1921 commented Dec 19, 2024

The parameter maxLength specified in the json schema is not respected

'organizationid': {'type': 'string', 'description': 'an Id composed of number followed by a letter', 'maxLength': 40}

Output:

"organizationid": "12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345

@Ubospica
Copy link
Collaborator

Hi @FilippoBoni1921, thanks for the report!

The maxLength and minLength keywords are not supported now. We are working to support it in a recent version.

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

No branches or pull requests

2 participants