Skip to content

Optional fields not marked optional for json body in 0.7.0-rc.0 #239

Closed
@dbanty

Description

@dbanty

Describe the bug
Our inventory service has a model called "DeviceCreate" in which most of the fields are optional. However the generated client made all fields required.

To Reproduce
openapi-python-client generate --url https://inventory.openapi.triaxtec.com/openapi.json

Metadata

Metadata

Assignees

Labels

🐞bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions