GitHub Action
Our GitHub Action drops into your repository to establish best practices and continuous quality monitoring for your OpenAPI definitions.
Usage
Add the GitHub Action to your repository and configure it to run on pull requests and pushes for continuous quality monitoring.
Getting an API key
The GitHub Action calls the Rate My OpenAPI API, which requires an API key.
Subscribe to the free plan (free
forever) to register or log in — your API key is created automatically. Copy
it from your dashboard and store it as a repository secret
(e.g. RMOA_API_KEY).
New API keys required
On May 12, 2026, Rate My OpenAPI switched to a new registration system. API keys created before that date no longer work. Subscribing again issues a new key automatically.
Basic setup
Lint an OpenAPI definition file using the default configuration:
Code
Advanced setup
Override the minimum passing score (default 80 / 100) and cap the allowed warnings and errors:
Code
Configuration options
Code
Example
This workflow runs rmoa-action on every pull request. The pull request cannot
be merged until the OpenAPI specification in my-api.json reaches a minimum
score of 80.
Code
Reports are public
All reports generated by Rate My OpenAPI are public (with an unguessable UUID URL), even when uploaded with an API key. Anyone with the URL to your report can access it.
Source code and documentation at zuplo/rmoa-action.
