openapi-python-client icon indicating copy to clipboard operation
openapi-python-client copied to clipboard

String with `uuid` format shoud generate an UUID

Open RockyMM opened this issue 3 years ago • 0 comments

Is your feature request related to a problem? Please describe. It would be safer to generate UUID instances instead of str instances if the property is defined as a string with a format uuid.

Describe the solution you'd like At the moment the property that is defined as:

type: string
format: uuid

is generated with type str. I would like such property to be generated with the type UUID.

RockyMM avatar Apr 12 '22 16:04 RockyMM