mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-01-08 12:34:30 +01:00
0e6b6bd130
4867: Autogenerate the openAPI spec r=irevoire a=irevoire # Pull Request ## Related issue Fixes https://github.com/meilisearch/meilisearch/issues/5073 ## What does this PR do? - Introduce utoipa and the auto-generation of the openAPI file - Introduce the scalar swagger when the `swagger` feature flag is enabled. Generating the openAPI file takes between 15 and 20ms at startup time on my computer. That could be an issue if we plan to stabilize the feature. Co-authored-by: Tamo <tamo@meilisearch.com>