Skip to content
This repository was archived by the owner on Feb 20, 2026. It is now read-only.
This repository was archived by the owner on Feb 20, 2026. It is now read-only.

Generator ignores additionalProperties: true #102

@kotyara85

Description

@kotyara85

Hey there,
I have this openapi spec component:

    Response:
      properties:
        uid:
          type: string
        data:
          type: object
          additionalProperties: true

oapi generator would translate data field into map[string]interface{}

gnostic-grpc can not produce ad working proto, here's the output after I converted to binary pb using gnostic:

message Data {
}

Thanks

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