Rename docs to llmock + add multi-provider docs and API conformance tests#10
Merged
Rename docs to llmock + add multi-provider docs and API conformance tests#10
Conversation
Update README.md and docs/index.html to reflect the rename from mock-openai/MockOpenAI to llmock/LLMock throughout. Add documentation for Claude Messages API and Gemini GenerateContent endpoints, update the MSW comparison table with multi-provider rows, and add ANTHROPIC_BASE_URL/Gemini base URL examples.
Add src/__tests__/api-conformance.test.ts with 52 tests validating that mock server output structurally matches each real API spec: OpenAI Chat Completions, OpenAI Responses API, Anthropic Claude Messages API, Google Gemini, and cross-provider invariants. Tests cover required fields, types, value enums, event sequences, headers, and ID prefix formats.
commit: |
4 tasks
jpr5
added a commit
that referenced
this pull request
Apr 3, 2026
Rename docs to llmock + add multi-provider docs and API conformance tests
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
src/__tests__/api-conformance.test.ts) — 52 tests validating mock output format against real API specs for all 4 providers + cross-provider invariantsTest plan
pnpm run test— 378 tests pass (326 existing + 52 new)pnpm run lint— cleanpnpm run format:check— cleangrep -rn "mock-openai\|MockOpenAI" README.md docs/index.html— zero stale references🤖 Generated with Claude Code