oxidecomputer / oxidecomputer/omicron
validate-openapi-spec: @apidevtools/swagger-cli has been abandoned
Open
Beginner friendly
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 572
- Forks
- 97
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 96
Description
$ npx @apidevtools/swagger-cli validate openapi/nexus.json
Need to install the following packages:
@apidevtools/swagger-cli@4.0.4
Ok to proceed? (y) y
npm WARN deprecated @apidevtools/swagger-cli@4.0.4: This package has been abandoned. Please switch to using the actively maintained @redocly/cli
openapi/nexus.json is valid
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
Start with .github/workflows/validate-openapi-spec.yml lines 19-28 and compare the current swagger-cli invocation with the suggested @redocly/cli replacement. Update the workflow to use maintained tooling while preserving validation of openapi/nexus.json, then run the workflow or equivalent validation and confirm the spec remains valid without the deprecation warning.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- node.js, openapi
- Domain
- api, ci-cd
- Issue type
- Refactor
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 70/100