Skip to content

Conversation

Turbo87
Copy link
Member

@Turbo87 Turbo87 commented Dec 18, 2024

This PR extracts a bunch of FooQueryParams structs to simplify our query parameter handling and better document our supported query parameters. These structs implement axum::FromRequestParts and utoipa::IntoParams so they should be easy to use and essentially self-documenting wrt our OpenAPI description.

Related:

@Turbo87 Turbo87 added C-internal 🔧 Category: Nonessential work that would make the codebase more consistent or clear A-backend ⚙️ C-documentation 📜 Category: Documentation of crates.io itself labels Dec 18, 2024
@Turbo87 Turbo87 merged commit cdba41c into rust-lang:main Dec 18, 2024
8 checks passed
@Turbo87 Turbo87 deleted the query-params-structs branch December 18, 2024 14:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-backend ⚙️ C-documentation 📜 Category: Documentation of crates.io itself C-internal 🔧 Category: Nonessential work that would make the codebase more consistent or clear
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

1 participant