swagger-api / swagger-api/validator-badge

Allow for reuse by packaging a jar dependency

Open
#89 1 comment 2 reactions 0 assignees View on GitHub

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

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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.