Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@jgorgel
Copy link
Contributor

@jgorgel jgorgel commented Mar 9, 2025

post /api/event {
    @json
    body {
        @date(format="YYYY-MM-DD", min="2023-01-01", max="2023-12-31")
        event_date: str
    }
}

post /api/tags {
    @json
    body {
        @array(min_len=1, max_len=5, unique=true)
        tags: array
    }
}

@jgorgel jgorgel changed the title Add @date directive Add @date and @array directives Mar 9, 2025
@jgorgel jgorgel changed the title Add @date and @array directives Add @date, @array and @format directives Mar 9, 2025
Copy link
Member

@Folyd Folyd left a comment

Choose a reason for hiding this comment

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

LGTM, thanks

@Folyd Folyd merged commit 60c8986 into aiscriptdev:main Mar 9, 2025
6 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.

2 participants