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

Add 'name' field to servers #1821

Open
BelfordZ opened this issue Jan 30, 2019 · 3 comments
Open

Add 'name' field to servers #1821

BelfordZ opened this issue Jan 30, 2019 · 3 comments

Comments

@BelfordZ
Copy link

As the name suggests.

Would be nice, I think, for generators to be able to reference them by non-ambiguous names.

@tanmen
Copy link

tanmen commented May 12, 2020

I think too.
I think should be server object add name property.
because server object identification only url.
I think short identify properties should be created for generated code.

@ToneyAlexander
Copy link

I see this is an old issue, but I was looking at the examples in the spec for servers and saw that the "multiple servers" example is having dev/staging/prod urls. But with that sort of use case it feels odd that OpenAPI specifies servers as a list instead of a dictionary of some kind with stage (or anything else) being the key. Server variables can slightly address this, although they only really work as keys if every stage has an almost identical url.

@LasneF
Copy link

LasneF commented Jan 26, 2024

@handrews looks fair request , that can be handle in moonwalk or in a 3.2 version , or close forever :) as
as there are work around leveraging server variables or description

we can put this int the backlog set a statement

NB : license has name

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

4 participants