Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Discussion options

🏷️ Discussion Type

Question

💬 Feature/Topic Area

ARC (Actions Runner Controller)

Discussion Details

We're reviewing our API workflow and looking at Stoplight alternatives that integrate well with GitHub Actions.

Our goal is to keep API design, validation, testing, and documentation as close as possible to our Git-based development process.

During our evaluation, this comparison was a useful starting point:

https://apidog.com/compare/apidog-vs-stoplight/

The capabilities we're looking for include:

OpenAPI support
API documentation
Mock APIs for development
Command-line automation
GitHub Actions integration
Team collaboration

One platform we're currently evaluating is Apidog, mainly because it combines API design, testing, documentation, mocking, and a CLI that can be incorporated into CI/CD workflows. API lifecycle platforms increasingly aim to bring these capabilities together rather than requiring multiple standalone tools.

For teams already using GitHub Actions:

Have you migrated away from Stoplight?
Which alternative are you using today?
Do you validate your OpenAPI specifications and API tests as part of every pull request?
What has worked best for keeping API changes synchronized with your codebase?

I'd love to hear how other teams have structured their GitHub-based API workflow.

You must be logged in to vote

Replies: 3 comments

Comment options

For a GitHub Actions-centered workflow, I would separate the problem into four CI stages instead of choosing one platform first:

  1. Spec linting / governance

  2. Mocking

  3. Contract / behavior testing

  4. Docs publishing

    • Redocly, Scalar, Swagger UI, or another docs renderer can be run from CI and published to Pages, S3, Cloudflare Pages, etc.

A simple Actions workflow can look like this:

name: api-contract

on:
  pull_request:
    paths:
      - "openapi/**"
      - ".github/workflows/api-contract.yml"

jobs:
  lint-openapi:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: actions/setup-node@v4
        with:
          node-version: 22
      - run: npm install -g @stoplight/spectral-cli
      - run: spectral lint openapi/api.yaml --fail-severity=warn

  contract-test:
    runs-on: ubuntu-latest
    needs: lint-openapi
    steps:
      - uses: actions/checkout@v4
      - uses: schemathesis/action@v3
        with:
          schema: openapi/api.yaml
          base-url: http://localhost:3000

For teams moving away from Stoplight, I usually see two viable patterns:

  • Composable open-source stack: Spectral + Prism + Schemathesis + Redocly/Scalar. Best when the API contract lives in Git and PR review is the source of truth.
  • Integrated platform: Apidog, Postman, Redocly, or similar. Best when product/design/support teams need a hosted collaboration UI in addition to CI.

The key decision is where the canonical OpenAPI file lives. If Git is the source of truth, then every PR should at least run:

  • OpenAPI syntax validation
  • Spectral rules / style guide
  • breaking-change checks against main
  • generated docs preview or artifact
  • optional mock/contract tests

That keeps API changes synchronized with the codebase regardless of which UI platform you use. The platform should consume or publish from the Git-tracked OpenAPI file, not become a second source of truth.

You must be logged in to vote
0 replies
Comment options

Good question — worth noting that Stoplight has been progressively absorbed into SmartBear's API Hub (its parent company), which is likely why a lot of teams are currently migrating away from it.
For GitHub Actions-based workflows specifically, these are the alternatives that come up most often from other teams:

  1. Redocly (CLI + platform) — Probably the most direct replacement, since both are purely OpenAPI-based. It includes linting, bundling, and ready-to-use CI checks, with an official GitHub Action (redocly/openapi-github-action) to validate the spec on every PR. Good pick if your priority is keeping validation plus auto-generated docs together.
  2. Spectral (originally from Stoplight, but open-source and standalone) — If you only need the OpenAPI linting/validation part in your pipeline (not the full design/mocking package), Spectral is still maintained as an independent tool and has an official GitHub Action. A lot of teams leaving Stoplight Studio just keep Spectral for CI.
  3. SwaggerHub — If you're after org-level governance (multiple teams, multiple APIs, shared style rules), it's the most direct competitor to Stoplight's design-first approach, with GitHub Sync pushing to a repo on every save.
  4. Apidog (the tool you're already evaluating) — Worth knowing it combines design + mocking + testing + a CLI for CI/CD in one platform, which fits what you describe wanting (fewer standalone tools).

To answer your specific questions:

Migrating away from Stoplight? Yes, that's common right now, mainly due to the SmartBear/API Hub restructuring.
Validating OpenAPI on every PR? The most common pattern is: Spectral or Redocly CLI running as a GitHub Actions step, failing the build if linting catches style violations or breaking changes.
Keeping API changes synced with the codebase? The "spec-as-source-of-truth" approach (define OpenAPI first, generate code/tests from it) best avoids drift — tools like Redocly or SwaggerHub with GitHub Sync help keep that automated.

You must be logged in to vote
0 replies
Comment options

We’re exploring a similar workflow. Apidog looks interesting for combining API design, testing, and CLI automation, especially when integrating validation into GitHub Actions. Keeping API checks in the same CI workflow as the code makes a lot of sense.

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Actions Build, test, and automate your deployment pipeline with world-class CI/CD Question Ask and answer questions about GitHub features and usage ARC (Actions Runner Controller) For issues and discussions related to the Actions Runner Controller project Welcome 🎉 Used to greet and highlight first-time discussion participants. Welcome to the community! source:ui Discussions created via Community GitHub templates
4 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.