Koudai Aono

Results 437 comments of Koudai Aono

~~I guess the unittest is broken. The request url doesn't have the `definitions` prefix. https://github.com/koxudaxi/datamodel-code-generator/blob/b3fbbcade9814d4080098ae61ba69e6f8dd018f5/tests/test_main.py#L3090-L3153~~

@benedikt-bartscher @lhmwtum How do you reproduce the error? https://github.com/koxudaxi/datamodel-code-generator/issues/986#issuecomment-1878607726 I saved the schema in this post as `--url` or wget and ran it with `--input` and the file was created...

@gloshkajian Thank you for creating the issue. I'm thinking whether we should change the behavior... Could you please try `--strict-nullable` option? you can generate the expected models.

@gloshkajian you are right. I forget why I wrote only OpenAPI. I will confirm the history.

Thank you for creating the issue. I didn't know the behavior. I will fix it. I may change the field name instead of the Model name.

Thanks for the interesting suggestion. I have a feeling it may be not easy, but I will investigate when I have time.

@enadeau Thank you for creating the issue. We need another option to use standard collections. ```bash --use-standard-collections Use standard collections for type hinting (list, dict) ``` > as it's not...

Thank you for creating the issue. I'm sorry for my late reply. I found the same issue https://github.com/koxudaxi/datamodel-code-generator/issues/1638 I guess some users use `.` in schema name. They want to...

@indietyp Could you please try the cli option? `--field-extra-keys-without-x-prefix x-patternProperties` the CLI doesn't support `propertyNames` . we should support if we need it. Thank you

I just tried to your example. But, the result includes `NO` ![image](https://github.com/koxudaxi/datamodel-code-generator/assets/630670/b6124c10-6d82-4171-b34a-9c9adc6868ea)