swagger-api / swagger-api/swagger-codegen

Which languages support polymorphism?

Open
#4,622 12 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Feature: Composition / Inheritance General: Question
Dominant language
Mustache
Stars
17.8k
Forks
6k
PR merge metrics
No merged PRs in 30d

Description

Usecase:

My goal is to generate clients from a swagger spec in most of the available languages.

Problem:

My API requires to use polymorphism. So polymorphism seems to be not fully supported by the swagger-codegen yet? Is there an overview to see which language supports it or not. I think this would be really helpful (not only to me :)).

What I found out by reading issues is that: Java,PHP, Swift, and ObjC support polymorphism. It seems that Python does not support polymorphism. How about the other languages?

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 generated-client support and existing polymorphism-related reports for the languages named in the issue. Done means documenting which available languages support polymorphism, including the known Java, PHP, Swift, Objective-C, and Python findings, and identifying any gaps in the overview.

Written by the indexing model from the issue text.

Assessment

Tech stack
openapi
Domain
documentation
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.