Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • O openapi-generator
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 3,476
    • Issues 3,476
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 402
    • Merge requests 402
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • OpenAPI Tools
  • openapi-generator
  • Issues
  • #302
Closed
Open
Issue created Jun 13, 2018 by Administrator@rootContributor

Model interface not generated in version 2.0 typescript-angular

Created by: 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
Assignee
Assign to
Time tracking