Skip to content

My uint's becomes int64 and so does my byte's #2677

@tonsV2

Description

@tonsV2

As the title indicates I have an issues with go swagger producing a client with different types than what I have in my original code.

I have a project where I generate specs and a client which can be seen here.

The output can be found here.

My issue is seen several places but here is an example of a byte array turning into an int64 array. The original can be found here.

How can I prevent this? Or otherwise deal with this issue?

Environment

Swagger version

version: v0.28.0
commit: 48a66e4

go version

go version go1.16.8 linux/amd64

OS

Fedora and Alpine

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