Skip to content

SeriesListRep.series deserialisation issue #17

Description

@mmatecki

Hey,
Looks like there's an issue with api-client-go and Usage API. It has a timestamp as int32 but it should be int64. Request fails with error like:

2025/02/24 18:07:01 Error retrieving flag usage: json: cannot unmarshal number 1737936000000 into Go struct field SeriesListRep.series of type int32

Probably something with openapi spec, but I couldn't find that defined here: https://app.launchdarkly.com/api/v2/openapi.json - I must be looking at wrong spec.

Thanks!

Maciej.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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