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

const vaues getting parsed #190

Open
TobiPeterG opened this issue Jul 11, 2024 · 0 comments
Open

const vaues getting parsed #190

TobiPeterG opened this issue Jul 11, 2024 · 0 comments

Comments

@TobiPeterG
Copy link

With this code

/*
 * API Documentation
 *
 * Source of truth and network automation platform
 *
 * API version: 2.2.5 (2.2)
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 */
package nautobot

type RackTypeChoices string

// List of RackTypeChoices
const (
	2POSTFRAME__RackTypeChoices RackTypeChoices = "2-post-frame"
	4POSTFRAME__RackTypeChoices RackTypeChoices = "4-post-frame"
	4POSTCABINET__RackTypeChoices RackTypeChoices = "4-post-cabinet"
	WALL_FRAME_RackTypeChoices RackTypeChoices = "wall-frame"
	WALL_FRAME_VERTICAL_RackTypeChoices RackTypeChoices = "wall-frame-vertical"
	WALL_CABINET_RackTypeChoices RackTypeChoices = "wall-cabinet"
	WALL_CABINET_VERTICAL_RackTypeChoices RackTypeChoices = "wall-cabinet-vertical"
	OTHER_RackTypeChoices RackTypeChoices = "other"
)

I get this error
Parser.Parse source file: target parser.ParseFile(): /client/model_port_type_choices.go:15:3: 'P' exponent requires hexadecimal mantissa (and 10 more errors)

I guess this should not happen.
I called gotests with this command
gotests -all -w -parallel ../

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

1 participant