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

feat(net/goai): add min, max, length, min-length, max-length and between support for OpenAPIv3 #3914

Open
wants to merge 16 commits into
base: master
Choose a base branch
from

Conversation

ninjashixuan
Copy link

Improve OpenAPI Documentation Generation

This update primarily enhances the OpenAPI documentation generation by setting the min, max, and max-length constraints for the schema based on request validation.

net/goai/goai_shema.go Outdated Show resolved Hide resolved
net/goai/goai_shema.go Outdated Show resolved Hide resolved
@gqcn
Copy link
Member

gqcn commented Nov 14, 2024

@ninjashixuan This PR is awsome! I'm watching this.

@gqcn gqcn changed the title Feat: Extract validation rules to schema. like min, max, length and s… feat(net/goai): add min, max, length, min-length, max-length and between support for OpenAPIv3 Nov 14, 2024
@gqcn gqcn added the awesome It's awesome! We keep watching. label Nov 14, 2024
net/goai/goai.go Outdated Show resolved Hide resolved
@gqcn gqcn added the ready to merge Used in PR, which means this PR is reviewed. label Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awesome It's awesome! We keep watching. ready to merge Used in PR, which means this PR is reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants