Skip to content

Commit

Permalink
feat!: remove openapi v1 command (#1111)
Browse files Browse the repository at this point in the history
## 🧰 Changes

Removes the `openapi` command in its current form. Will be replaced by
`openapi upload` (see #1116!)

Will be merging this PR into #1113
to collect all breaking changes as part of this PR!

## 🧬 QA & Testing

Provide as much information as you can on how to test what you've done.

## ⚠️ breaking changes

BREAKING CHANGE: `rdme openapi` has been removed. Please use `rdme
openapi upload` instead. Read more in [our migration
guide](https://github.com/readmeio/rdme/tree/v10/documentation/migration-guide.md).
  • Loading branch information
kanadgupta authored Dec 11, 2024
1 parent b19416d commit 8488d2e
Show file tree
Hide file tree
Showing 18 changed files with 7 additions and 2,392 deletions.
11 changes: 0 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,17 +103,6 @@ jobs:
if: ${{ steps.openapi-validate-fail.outcome == 'success' }}
run: echo "::error::Expected validation in previous step to fail" && exit 1

# Docs: https://rdme-test.readme.io
- name: Run `openapi` command
uses: ./rdme-repo/
with:
rdme: openapi oas-examples-repo/3.1/json/petstore.json --key=${{ secrets.RDME_TEST_PROJECT_API_KEY }} --id=${{ secrets.RDME_TEST_PROJECT_API_SETTING }}

- name: Run `openapi` command with weird arg syntax
uses: ./rdme-repo/
with:
rdme: openapi "oas-examples-repo/3.1/json/petstore.json" --key "${{ secrets.RDME_TEST_PROJECT_API_KEY }}" --id=${{ secrets.RDME_TEST_PROJECT_API_SETTING }}

# this is a test to ensure that the rdme github action can run properly
# the way that our users invoke it
- name: E2E run of `openapi validate` on `next` branch
Expand Down
Loading

0 comments on commit 8488d2e

Please sign in to comment.