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

Extensions related question #202

Open
ubogdan opened this issue Oct 20, 2024 · 0 comments
Open

Extensions related question #202

ubogdan opened this issue Oct 20, 2024 · 0 comments

Comments

@ubogdan
Copy link

ubogdan commented Oct 20, 2024

Hi,
Is there any special reason why the keyname of extension is lowered ?

// Add adds a value to these extensions
func (e Extensions) Add(key string, value interface{}) {
	realKey := strings.ToLower(key)
	e[realKey] = value
}

I checked OAS2 Specification Extensions and there is no reference about lowercase.

Thanks,
Bogdan

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