Skip to content

Releases: ProbablyClem/utoipauto

0.3.0-alpha.2 | Discover structs with lifetime generics

Choose a tag to compare

@DenuxPlays DenuxPlays released this 10 Feb 09:17
32a731f

What's Changed

  • [Discovery] Ignore lfietime parameters when checking if a type deriving ToSchema or ToResponse 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

Choose a tag to compare

@DenuxPlays DenuxPlays released this 10 Feb 07:58
3884adf

What's Changed

Full Changelog: 0.2.0...0.3.0-alpha.1

0.2.0 | Utoipa v5 support

Choose a tag to compare

@DenuxPlays DenuxPlays released this 20 Oct 15:20
7469f9d

What's Changed

New Contributors

Full Changelog: 0.1.14...0.2.0

0.1.14

Choose a tag to compare

@ProbablyClem ProbablyClem released this 05 Aug 07:57

What's Changed

New Contributors

Full Changelog: 0.1.12...0.1.14

0.1.12

Choose a tag to compare

@ProbablyClem ProbablyClem released this 02 Jul 14:38

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

Choose a tag to compare

@ProbablyClem ProbablyClem released this 05 Jun 07:09
caf9c47
Merge pull request #24 from r0t3n/is_rust_file

fix is_rust_rile

0.1.10

Choose a tag to compare

@ProbablyClem ProbablyClem released this 07 Mar 08:39

0.1.9

Choose a tag to compare

@ProbablyClem ProbablyClem released this 08 Feb 17:01

Add support for external crate

0.1.8

Choose a tag to compare

@ProbablyClem ProbablyClem released this 25 Jan 15:13

Fix: Split path by last src

0.1.7

Choose a tag to compare

@ProbablyClem ProbablyClem released this 23 Jan 21:03

Detect struct that manual implement ToSchema or ToResponse.