swagger-api / swagger-api/swagger-core

Name element of Schema annotation set in superclass of DTO class is not inherited to subclass. (swagger-core 2.2.6)

Open
#4,349 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

backlog
Dominant language
Java
Stars
7.5k
Forks
2.3k
Avg merge
18h 1m
Merged PRs (30d)
10

Description

In swagger-core 2.2.6, the name element of the Schema annotation set in the superclass of the DTO class is not inherited to the subclass, and the class name is output to schema.

In swagger-core 1.6.6, the value element of the ApiModel annotation set in the superclass of the DTO class is inherited to the subclass, and the value string is output to definition.

Is this in the specifications?

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

The issue names no files, tests, or entry points. Begin by reproducing the superclass/subclass annotation behavior in swagger-core 2.2.6 and comparing it with 1.6.6; determine whether the observed output matches the OpenAPI specification, with completion requiring a documented expected behavior and resolution.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, openapi
Domain
api
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.