swagger-api / swagger-api/validator-badge
Allow for reuse by packaging a jar dependency
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 227
- Forks
- 81
- Avg merge
- 2h 3m
- Merged PRs (30d)
- 1
Description
I suggest repackaging this as a jar so it can be reused and added to other tooling as a direct dependency. The war file would be a thin veneer over the Jar. As a direct dependency,
other tools can call it. For example, in our toolchain, we might not want to run swagger-codegen
unless the input passes swagger-validator . In such cases, the input file might not be at a URL
that the swagger-validator web service can access.
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
Inspect the current WAR packaging and the validator service entry point to understand how the application is assembled. Determine how a reusable JAR and a thin WAR should coexist, then verify that other tooling can call the validator directly while the existing web service remains functional.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- api, build-system
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100