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)
Nobody has claimed this yet.
- 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
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
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