ToolsThe story, in brief

LLM-Generated GraphQL Mocks Arrive at Airbnb and Expedia, While the Spec Lags Behind

Airbnb and Expedia are shipping LLM-powered GraphQL mocks—but they're doing it three different ways, and the spec is losing the race.

Illustration of a transparent lens revealing connected networks across layers of paper.
Exploring the next frontier of AI research.AI illustration by KeyNews
The KeyNews take

Why it matters

GraphQL tooling is evolving to embed LLM generation at the API layer. Two major platforms have shipped competing implementations; the standardization effort (GraphQL Foundation RFC) is lagging behind production. Practitioners using GraphQL for mock data or API testing now have real options, but interoperability is fractured.

The key facts

10 to know
  1. Expedia open-sourced mockql-rs (Rust CLI)

  2. Airbnb shipped @generateMock directive in April 2026

  3. GraphQL Foundation RFC opened February 2026

  4. Airbnb and Expedia use same directive name with incompatible semantics

  5. Three different architectural approaches in the wild

  6. Expedia open-sourced mockql-rs, a Rust CLI for LLM-generated GraphQL mock data

  7. Airbnb shipped @generateMock directive in April

  8. GraphQL Foundation RFC opened in February

  9. Two implementations use the same directive name with incompatible semantics

  10. Problem: filling @mock-annotated fields with LLM-generated data at request time

Go to the source

InfoQ AI/MLinfoq.com

Publisher excerpt: Expedia Group has open-sourced mockql-rs, a Rust CLI that fills @mock-annotated GraphQL fields with LLM-generated data at request time. It follows Airbnb's @generateMock in April and a GraphQL Foundation RFC opened in February. All three solve the same problem with different architectures, and two…
Read original report
Back to today's editionMore tools news

Keep reading

Related stories

More from Tools