Skip to content

Add Xquik OpenAPI parser fixture#1

Open
kriptoburak wants to merge 1 commit into
EulerStream:mainfrom
kriptoburak:codex/add-xquik-openapi-fixture
Open

Add Xquik OpenAPI parser fixture#1
kriptoburak wants to merge 1 commit into
EulerStream:mainfrom
kriptoburak:codex/add-xquik-openapi-fixture

Conversation

@kriptoburak

@kriptoburak kriptoburak commented Jul 1, 2026

Copy link
Copy Markdown

Summary

  • add a compact Xquik OpenAPI 3.1 fixture for GET /api/v1/x/tweets/search
  • align pagination, response schemas, filter references, and authentication with the current public contract
  • assert parser output for method, path, tag, parameters, response type, and security
  • parse shared OpenAPI Path Item parameters and preserve operation-level overrides

Independent repository fix

The parser previously read only operation-level parameters. OpenAPI also permits parameters on the Path Item, where they apply to every operation and can be overridden by matching operation parameters. The parser now merges both levels by parameter location and name, with regression coverage for inheritance and overrides.

Validation

  • pnpm test: 423 passed
  • pnpm run typecheck: passed
  • pnpm run build: passed
  • JSON fixtures and diff whitespace validated
  • Xquik fixture checked against the live public OpenAPI document

@kriptoburak

Copy link
Copy Markdown
Author

This remains conflict-free and the focused parser, typecheck, and build validations passed. I can adjust the fixture if you prefer a smaller contract.

Parse Path Item parameters while preserving operation-level overrides. Add regression coverage and refresh the Xquik OpenAPI 3.1 fixture against the current search contract.
@kriptoburak
kriptoburak force-pushed the codex/add-xquik-openapi-fixture branch from a22e150 to 58bba4b Compare July 20, 2026 00:14
@kriptoburak

Copy link
Copy Markdown
Author

I refreshed this PR on the current main branch. The Xquik fixture now matches the live search response and authentication contract. I also fixed the parser to inherit OpenAPI Path Item parameters while preserving operation-level overrides. All 423 tests, type checking, and the production build pass.

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.

1 participant