Skip to content

Conversation

@nagzso
Copy link

@nagzso nagzso commented Apr 24, 2022

PR checklist

  • Read the contribution guidelines.
  • Ran the shell script under ./bin/ to update Petstore sample so that CIs can verify the change. (For instance, only need to run ./bin/{LANG}-petstore.sh and ./bin/security/{LANG}-petstore.sh if updating the {LANG} (e.g. php, ruby, python, etc) code generator or {LANG} client's mustache templates). Windows batch files can be found in .\bin\windows\.
  • Filed the PR against the correct branch: 3.0.0 branch for changes related to OpenAPI spec 3.0. Default: master.
  • Copied the technical committee to review the pull request if your PR is targeting a particular programming language.

Description of the PR

This fixes the invalid Go model import generation when there are more than one import. Also implemented additional test for model generation when using --type-mappings and --import--mappings.

This should fix #11775.

@nagzso
Copy link
Author

nagzso commented Apr 25, 2022

@frantuma @wing328 Please take a look on this and provide me further information (if any) for the PR to make it possible to be accomplished.

@nagzso
Copy link
Author

nagzso commented May 9, 2022

@frantuma @HugoMario @wing328 Please give me some feedback.

@nagzso nagzso mentioned this pull request May 9, 2022
4 tasks
@nagzso
Copy link
Author

nagzso commented Oct 27, 2022

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

Successfully merging this pull request may close these issues.

[Go] Bug generating nested imports

1 participant