swagger-api / swagger-api/swagger-core

"required" property in Schema.java should be a Set (SortedSet for example), not a List

Open
#5,027 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

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 with the required property declaration at modules/swagger-models/src/main/java/io/swagger/v3/oas/models/media/Schema.java#L94 and inspect how Schema models and tests use it. Determine the compatible Set or SortedSet representation, update the declaration and affected usages, then run the relevant swagger-models tests and confirm the project builds.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api, backend-api-design
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.