Skip to content

Typo in Schedule overrides struct tag omits field when marshaling #551

@graham-patterson

Description

@graham-patterson

In the Schedule struct, the field OverrideSubschedule has the struct tag json:"override_subschedule,omitempty", but the API returns the field overrides_subschedule. Therefore when unmarshalling API responses, the field is dropped.

The OpenAPI Schema has overrides_subschedule, so I believe the SDK has a typo.

References:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions