Skip to content

Conversation

@jgorgel
Copy link
Contributor

@jgorgel jgorgel commented Mar 9, 2025

@docs(tag="Guess", deprecated=true,)
get /guess {

    query {
        @number(min=0, max=100)
        value: int
    }

    let message = "You got it!" if query.value == 42 else "Try again";
    return { message };
}

@Folyd Folyd merged commit 4fd5271 into aiscriptdev:main Mar 9, 2025
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