API Evangelist API Evangelist
API Learnings
Toolbox
API Evangelist LLC

Evaluating the Default Redocly Rules

March 20, 2025 · Kin Lane
Evaluating the Default Redocly Rules

Last up in my series of evaluating the leading API governance rules formats is Redocly. Like APIMATIC, Redocly has organized their rules, making my post an easy copy / paste, but the work of still going through each rule to compare with Spectral, Vacuum, and APIMATIC is still cumbersome. However, learning the nuance and detail of each rule is important, but also the Venn Diagram of support for Spectral, while slipping in your own special magic is worthwhile.

Special rules

I like these rules that don’t fit into the normal categories, and will likely require a separate story to unpack the logic and reasoning and where they fit in.

Info

This ffeels pretty light to me when it comes to what is needed by the OpenAPI info object, but just my immediate reaction.

Operations

The pretty standard operational, but then also a light touch on the responses which I prefer to separate into own bucket.

Parameters

Nice spread of parameter rules that help us get our path and query parameters in order as part of each operation.

Paths

Some of the same rules I found with others, but some interesting additions like plural and duplication thrown in there.

Requests, Responses, and Schemas

Interesting mix of requests, responses, and schema into a bucket. I prefer keeping all three of these separate, as well as examples, but I will keep grouped as they intended.

Servers

A nice robust set of rules for looking at the servers, reflecting the other formats approach to managing API servers.

Tags

No surprises here, pretty much the same as others when it comes to the tagging and organization of our operations.

Conclusion

Redocly feel pretty reflective of Spectral, with a few special rules that make their approach unique. From my knowledge of Redocly I think the power of their governance is beyond the rules and comes with the other capabilities built into the CLI. Similar to the approach of libopenapi from quobix, as well as what you see APIMATIC building out across their services and tooling. It can be difficult to separate the rules from the tools and libraries, but I like it when things are codified as YAML, rather than obscured behind the command line.

Next, I am taking Spectral, Vacuum, and APIMATIC, and the Redocly rules and aggregating them into a single reference set. APIMATIC has the most rules and the most coverage. My goal with this work is to strengthen my understand of each approach, connect the dots across them, and shine more of a light on what is needed, helping me understand the rules coverage that exists, but also what the potential gaps in coverage are, while working to drive the conversation more. In the end, the rules don’t matter, but the story and conversation around each rule.