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.

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 knowExpedia open-sourced mockql-rs (Rust CLI)
Airbnb shipped @generateMock directive in April 2026
GraphQL Foundation RFC opened February 2026
Airbnb and Expedia use same directive name with incompatible semantics
Three different architectural approaches in the wild
Expedia open-sourced mockql-rs, a Rust CLI for LLM-generated GraphQL mock data
Airbnb shipped @generateMock directive in April
GraphQL Foundation RFC opened in February
Two implementations use the same directive name with incompatible semantics
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…