Aaron Harper

Results 53 comments of Aaron Harper

Can you elaborate on what your schema is expressing? If you're saying `arrayFieldWithEnum` is an array of enums, why do you need to specify min length, max length, and a...

`datamodel-code-generator` seems to ignore the `maxLength`/`minLength`/`pattern` stuff sometimes, but not other times. For example, the following OpenAPI: ```yml openapi: "3.1.0" components: schemas: Foo: type: object properties: bar: type: array items:...

Seems like a bug to me. Ignoring those properties when there's an enum makes sense to me, but they should be consistently ignored

I could use `--base-class` for the base class that overrides `dict`. But is there an existing way to add the `unset` default for unrequired properties? Unrequired fields need to default...

I _think_ your example would work if instead of this: ```py unrequired: Optional[int] = None ``` It was this: ```py unrequired: Union[int, Unrequired] = unset ```

One more advantage to this `unset` approach is that Python code can differentiate between "property doesn't exist" and "property is `null`" in request bodies. Currently, our Python code has to...

@ricoms I believe your problem is separate from this issue. You can get `List[Optional[float]]` using `oneOf`: ```yml properties: XTpUlt_ConsCCP_5a: type: array items: oneOf: - type: 'null' - type: number format:...

@koxudaxi sorry I've slept on this for so long. I decided to give it another shot in #670. There's still some work left, but I was hoping to get some...

Updating to [2.6.0](https://github.com/hashicorp/terraform-provider-helm/releases/tag/v2.6.0) solved this for me