Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
topce opened this issue Jun 13, 2018 · 5 comments
Closed

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

topce opened this issue Jun 13, 2018 · 5 comments
Milestone

Comments

@topce
Copy link
Contributor

topce commented Jun 13, 2018

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
@jmini
Copy link
Member

jmini commented Jun 13, 2018

I think this is a duplicate from #191 and #255

@topce
Copy link
Contributor Author

topce commented Jun 13, 2018

@jmini probably

@topce
Copy link
Contributor Author

topce commented Jun 25, 2018

fixed by @wing328 in branch 3.1.x
PR #360

@topce topce closed this as completed Jun 25, 2018
@jmini jmini added this to the 3.1.0 milestone Jun 25, 2018
@jmini
Copy link
Member

jmini commented Jun 25, 2018

Thank you a lot for testing it and reporting it here!

@topce
Copy link
Contributor Author

topce commented Jun 25, 2018

welcome
thank you for fixing bugs ;-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants