Skip to content

[Go] Client Generated Code: Type is incorrect #1850

@priyamalart

Description

@priyamalart

Problem statement

Downloaded the Go Client Code from https://forge.etsi.org/swagger/editor/?url=https://forge.etsi.org/gitlab/mec/gs011-app-enablement-api/raw/master/Mp1.yaml

Example: Types of below listed attributes should be string, but it is empty structure in the generated code.

type ServiceInfoSerName struct {
}
type ServiceInfoTransportId struct {
}
// Service version
type ServiceInfoVersion struct {
}

Type should be like this:

type ServiceInfoSerName string
type ServiceInfoTransportId string
type ServiceInfoVersion string:   

Metadata

Metadata

Assignees

No one assigned

    Labels

    modelRelated to swagger generate model commandneeds testingNeeds more testing for issue confirmation/qualification

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions