Koudai Aono

Results 437 comments of Koudai Aono

@tommyjcarpenter I guess your complaint comes from pyyaml behavior. https://github.com/yaml/pyyaml/issues/376 I confirmed the problem when I removed the single quotes. ![image](https://github.com/koxudaxi/datamodel-code-generator/assets/630670/99195302-1a30-4b76-98a4-a55a5be05ec6)

Do you use pyyaml? datamodel-code-generator ignores the behavior for `timestamp` string by using the code. https://github.com/koxudaxi/datamodel-code-generator/blob/54800a14fa22655e2e9bce7f710a1c9c0d1c8327/datamodel_code_generator/util.py#L54-L56 I can see the URL(`tag:yaml.org,2002:bool`) for `bool` in the yaml document https://yaml.org/type/bool.html By the...

@tommyjcarpenter > i asked my company if i could sponsor you with their money for more.. but no luck yet. you've been extremely helpful, my pleasure I'm happy to hear...

@tommyjcarpenter > @koxudaxi this is even a bigger problem because the JSON is double quoted in that output: Sorry, I don't understand the problem. I can generate the enum from...

Thank you for creating the PR. I guess some users may use the `.` in the title. it's to define a model as a module :thinking: Should we provide the...

@shuangwu5 I'm sorry for my late reply. I agree with you. I guess this is a bug. we should fix it.

@Panaetius I'm sorry for my late reply. This is an issue that should be addressed. Just give me a few days as the implementation is a bit complicated.

@Rogalek I'm sorry for my late response. Did you talk about this? https://swagger.io/docs/specification/describing-request-body/ We can set a tag as a feature request.

@maddin1991 > When i generate my models as dataclass the generater does not consider string formats like uuid, date ... The output is just of type string which is different...

@maddin1991 > I'm not that deep into dataclasses to understand what you mean by that they dont cast but i would expect the same behaviour like when generating pydantic models....