OpenAPITools / OpenAPITools/openapi-generator

Add "servers" support to generators

Open
#1,361 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Enhancement: Feature Feature: OAS 3.0 spec support Hacktoberfest help wanted
Dominant language
Java
Stars
26.8k
Forks
7.7k
PR merge metrics
PR metrics pending

Description

Description

servers in OAS v3 allows users to define mutiple base URL with variable support. We've added servers support to the Ruby generator via https://github.com/OpenAPITools/openapi-generator/pull/1280. We want to do the same to other generators.

openapi-generator version

Latest master

Related issues/PRs

https://github.com/OpenAPITools/openapi-generator/pull/1280
https://github.com/OpenAPITools/openapi-generator/issues/590

Suggest a fix/enhancement

If anyone wants to help on this task, please reply to let us know which generator(s) you want to work on.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the Ruby generator's servers support in pull request #1280 and compare it with the target generator you choose. No target generator, files, or tests are named; done would mean that generator supports OpenAPI v3 servers with multiple base URLs and variables, with appropriate validation demonstrated by its tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby
Domain
api, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.