Skip to content

Support for type: object and {} #3

@ysamlan

Description

@ysamlan

This project is great, glad I found it. Noticed this running against my own project:

The Java OpenAPI Tools code generator templates for go support type: object and Any Type ({} in OpenApi syntax) types, which I believe should just translate to map[string]interface{} and interface{} respectively, I think.

object just errors out in the current oapi-codegen, and using {} results in an empty anonymous struct type, which isn't quite right.

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