Skip to content

[go] map type object *interface{} convert problem #51

@ilk

Description

@ilk
Description

Definition property "type": "object" gets converted to *interface{} which returns an error when set to a struct or pointer pointer.

openapi-generator version

3.0.0

OpenAPI declaration file content or url
Command line used for generation
Steps to reproduce
Related issues/PRs
Suggest a fix/enhancement

Instead of an *interface{} map the object to map[string]interface{}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions