Skip to content

Add MockServer expectations JSON Schema#5672

Merged
madskristensen merged 1 commit into
SchemaStore:masterfrom
jamesdbloom:add-mockserver-schema
May 11, 2026
Merged

Add MockServer expectations JSON Schema#5672
madskristensen merged 1 commit into
SchemaStore:masterfrom
jamesdbloom:add-mockserver-schema

Conversation

@jamesdbloom
Copy link
Copy Markdown

Summary

Adds the MockServer expectations JSON Schema to the catalog as an external/self-hosted schema.

File match patterns

Pattern Description
mockserverInitialization.json Default MockServer initialization file
*mockserver*Initialization.json Custom initialization files containing "mockserver" and "Initialization"
mockserver*.json Any JSON file starting with "mockserver"

Context

MockServer is an open-source HTTP(S) mock server and proxy for testing (GitHub). Users configure expectations as JSON arrays. The schema enables IDE autocompletion and validation for these files.

This was requested in mock-server/mockserver#1883.

The schema is self-contained (all $ref definitions inlined) and validates correctly with jsonschema and ajv.

@github-actions
Copy link
Copy Markdown
Contributor

Thanks for the PR!

This section of the codebase is owned by @madskristensen and @hyperupcall - if they write a comment saying "LGTM" then it will be merged.

@madskristensen madskristensen merged commit 07d763b into SchemaStore:master May 11, 2026
5 checks passed
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.

2 participants