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

Swagger Codegen 2.3.0 errors #4

Closed
grokify opened this issue Jan 2, 2018 · 1 comment
Closed

Swagger Codegen 2.3.0 errors #4

grokify opened this issue Jan 2, 2018 · 1 comment

Comments

@grokify
Copy link
Owner

grokify commented Jan 2, 2018

When running Swagger Codegen 2.3.0 with the VoiceBase Open API 2.0 YAML spec, the following errors are encountered:

../../vb_include_type_enum.go:22:33: TRANSCRIPT redeclared in this block
	previous declaration at ../../vb_callback_type_enum.go:18:34
../../vb_task_status_enum.go:17:30: ACCEPTED redeclared in this block
	previous declaration at ../../vb_status_enum.go:17:26
../../vb_task_status_enum.go:18:28: FAILED redeclared in this block
	previous declaration at ../../vb_status_enum.go:18:24
../../vb_task_status_enum.go:25:30: FINISHED redeclared in this block
	previous declaration at ../../vb_status_enum.go:21:26
@grokify
Copy link
Owner Author

grokify commented Jan 3, 2018

Fixed in 4391958

Current fix is to prefix constants in VbIncludeTypeEnum and VbTaskStatusEnum with INCLUDE_ and TASK_STATUS_ respectively.

Will follow and update when codegen project addresses this.

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

No branches or pull requests

1 participant