langgenius/dify

add type annotation to api endpoints

Open

#36541 opened on May 23, 2026

View on GitHub
 (12 comments) (1 reaction) (0 assignees)TypeScript (141,412 stars) (22,210 forks)batch import
good first issue

Description

so we can easily do following migration.

rule: when find any

.route("/apps/<uuid:app_id>/messages/<uuid:message_id>")

begin with uuid: , type the parameter to UUID. begin with string:, type the parameter to str.

Contributor guide