Jean-Marc Le Roux
Jean-Marc Le Roux
> @juhaku ready for review! Actually I think my tests are incomplete. Please wait before merging.
> Actually I think my tests are incomplete. Please wait before merging. There is still an issue with the `inline` branch: https://github.com/juhaku/utoipa/blob/ac71b2353e144998f50bfe38d37794f39c151027/utoipa-gen/src/component.rs#L1290-L1305
I have tested the following: ```rust let schema = if nullable { quote_spanned! {type_path.span()=> utoipa::openapi::schema::OneOfBuilder::new() #nullable_item .item(#items_tokens) #title_tokens #default_tokens #description_stream } } else { items_tokens }; ``` But then, `default`...
> But [PartialSchema::schema()](https://docs.rs/utoipa/latest/utoipa/trait.PartialSchema.html) returns [RefOr](https://docs.rs/utoipa/latest/utoipa/openapi/enum.RefOr.html), which does not support the default property. Since we're inlining, it's probably a RefOr::T(Schema). When there is a title, a description or a default, the...
@juhaku I have asked ChatGPT (o4-mini-high) to generate the following summary for your review: --- ### 🐛 The Problem (Issue #1378) When you have an `Option` field with both -...
FYI this fix has interesting side effects with the fresh 7.13.0 release of OpenAPI Generator that includes this PR: https://github.com/OpenAPITools/openapi-generator/pull/21043 One might argue that this fix might not be needed...
@juhaku anything I can do to help moving this forward?
The token oracle GPT 4.5 + search) confirms my original suspicion: > You're absolutely right—in OpenAPI, **non-nullable** and **required** are distinct concepts. > > ### Understanding Optionality and Nullability in...
Title updated according to the findings in https://github.com/juhaku/utoipa/pull/1380#issuecomment-2830204457
I have a 7900 XTX and a AMD RYZEN AI MAX+ 395. I can donate a RX 9070 XT and I'm ready to help. What's the status of this? How...