OpenAPITools / OpenAPITools/openapi-generator
servers tag in openapi
Open
Nobody has claimed this yet.
Client: JavaScript/Node.js
Hacktoberfest
help wanted
Issue: Bug
- Dominant language
- Java
- Stars
- 26.8k
- Forks
- 7.7k
- PR merge metrics
- PR metrics pending
Description
There is an object 'servers' in openapi to specify environments. if there are more than one servers(like dev and prod) and need to know which server is selected at run time in nodejs code then how can it be achieved?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files or tests are named. Start by reviewing how generated Node.js clients represent OpenAPI servers and select an environment at runtime; determine whether the expected outcome is usage guidance or a generator change. Done means the runtime selection behavior is clearly defined and documented or covered by an appropriate test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- node.js, openapi
- Domain
- api
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100