swagger-api / swagger-api/swagger-core
Example value is null
Open
Nobody has claimed this yet.
backlog
- Dominant language
- Java
- Stars
- 7.5k
- Forks
- 2.3k
- Avg merge
- 18h 1m
- Merged PRs (30d)
- 10
Description
I'm using the newest version of swagger-jersey2-jaxrs
// https://mvnrepository.com/artifact/io.swagger/swagger-jersey2-jaxrs
implementation group: 'io.swagger', name: 'swagger-jersey2-jaxrs', version: '1.6.11'
and see that the Example value is null
While on an older version 1.6.2, the example value is auto filled by default of data type
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
Reproduce the reported behavior with swagger-jersey2-jaxrs 1.6.11, then compare it with 1.6.2 and trace where the generated example value is determined. Done means the default example is populated for the same API and the regression is covered by an appropriate test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- api
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100