Releases: ProbablyClem/utoipauto
Releases · ProbablyClem/utoipauto
0.3.0-alpha.2 | Discover structs with lifetime generics
What's Changed
- [Discovery] Ignore lfietime parameters when checking if a type deriving
ToSchema
orToResponse
is generic by @domenicquirl in #50 - Version 0.3.0-alpha.2 by @DenuxPlays in #51
Full Changelog: 0.3.0-alpha.1...0.3.0-alpha.2
0.3.0-alpha.1 | Bug fixes
What's Changed
- Properly interpolate
#[openapi]
-annotation withTokenStreams
by @domenicquirl in #48 - Version 0.3.0-alpha.1 by @DenuxPlays in #49
Full Changelog: 0.2.0...0.3.0-alpha.1
0.2.0 | Utoipa v5 support
What's Changed
- Utoipa v5 support by @DenuxPlays in #45
- Introduced better tooling / Define MSRV by @DenuxPlays in #40
- Chore/enhance test suite by @DenuxPlays in #39
- fix: underscore crate name by @EvolveArt in #38
- feat: discover schema with lifetimes and const generics by @Calum4 in #42
New Contributors
- @EvolveArt made their first contribution in #38
- @Calum4 made their first contribution in #42
Full Changelog: 0.1.14...0.2.0
0.1.14
What's Changed
- Stabilize and extend
generic_full_path
by @DenuxPlays in #33 - Move to workspace setup by @DenuxPlays in #34
- skip module path segments by @joaquin041 in #31
New Contributors
- @joaquin041 made their first contribution in #31
Full Changelog: 0.1.12...0.1.14
0.1.12
Enable custom attribute detection
Custom path detection
By default, this macro will look for function with the #[utoipa::path(...)]
attribute, but you can also specify a custom attribute to look for.
#[handler]
pub fn custom_router() {
// ...
}
#[utoipauto(function_attribute_name = "handler")] //Custom attribute
#[derive(OpenApi)]
#[openapi(tags()))]
pub struct ApiDoc;
You can also specify custom attributes for the model and response detection.
#[derive(Schema, Response)]
pub struct CustomModel {
// ...
}
#[utoipauto(schema_attribute_name = "Schema", response_attribute_name = "Response")] //Custom derive
#[derive(OpenApi)]
#[openapi(tags())]
pub struct ApiDoc;
0.1.11
Merge pull request #24 from r0t3n/is_rust_file fix is_rust_rile
0.1.10
- Support for aliases : #17 thanks to @DenuxPlays
- Explicitly check for "[openapi()]" #17 thanks to @j7nw4r
0.1.9
Add support for external crate
0.1.8
Fix: Split path by last src
0.1.7
Detect struct that manual implement ToSchema or ToResponse.