Skip to content

Model interface not generated in version 2.0 typescript-angular  #302

@topce

Description

@topce
Description

with swagger-codegen it generated class but not with openapi-generator
with swagger-codegen it was generated

export interface I18nProperty { 
  [key: string]: string;
}
openapi-generator version

3.0.1

OpenAPI declaration file content or url
i18nProperty:
    type: object
    additionalProperties:
      type: string
Command line used for generation

generate -i swagger.yaml -g typescript-angular -o C:\temp additional-properties ngVersion=6.0.0

Steps to reproduce

Add to yaml file and execute code generation for -g typescript-angular

i18nProperty:
    type: object
    additionalProperties:
      type: string
Related issues/PRs
Suggest a fix/enhancement

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions