Skip to content

Releases: ProbablyClem/utoipauto

0.3.0-alpha.2 | Discover structs with lifetime generics

10 Feb 09:17
32a731f
Compare
Choose a tag to compare

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

10 Feb 07:58
3884adf
Compare
Choose a tag to compare

What's Changed

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

0.2.0 | Utoipa v5 support

20 Oct 15:20
7469f9d
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 0.1.14...0.2.0

0.1.14

05 Aug 07:57
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 0.1.12...0.1.14

0.1.12

02 Jul 14:38
Compare
Choose a tag to compare

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

05 Jun 07:09
caf9c47
Compare
Choose a tag to compare
Merge pull request #24 from r0t3n/is_rust_file

fix is_rust_rile

0.1.10

07 Mar 08:39
Compare
Choose a tag to compare

0.1.9

08 Feb 17:01
Compare
Choose a tag to compare

Add support for external crate

0.1.8

25 Jan 15:13
Compare
Choose a tag to compare

Fix: Split path by last src

0.1.7

23 Jan 21:03
Compare
Choose a tag to compare

Detect struct that manual implement ToSchema or ToResponse.