Skip to content

docs: show how to extend builtin rulesets in JS API - #3037

Open
slegarraga wants to merge 1 commit into
stoplightio:developfrom
slegarraga:docs/js-api-extends
Open

docs: show how to extend builtin rulesets in JS API#3037
slegarraga wants to merge 1 commit into
stoplightio:developfrom
slegarraga:docs/js-api-extends

Conversation

@slegarraga

Copy link
Copy Markdown
Contributor

Closes #2009.

Adds a direct JS API example for passing a ruleset object with extends to setRuleset, using oas from @stoplight/spectral-rulesets and the RulesetDefinition type. This also covers the TypeScript typing concern from the issue thread.

Signed-off-by: Sebastian Legarraga <64795732+slegarraga@users.noreply.github.com>
@slegarraga
slegarraga requested a review from a team as a code owner August 8, 2026 21:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Docs: How to use the JavaScript API with extends

1 participant