You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Each mock file also embeds a `MockResourceMeta` const with `specId`, `operationId`, `path`, `method`, and `tag`. The DevTools panel reads this metadata to pre-populate the Respond tab's schema display — no manual configuration needed.
162
163
164
+
The optional `options` argument (second param on the wrapper) is passed through to `provideMockResource`. The main use is `keyDiscriminator` — see [`@constantant/openapi-resource-mocks`](https://www.npmjs.com/package/@constantant/openapi-resource-mocks) for details.
165
+
163
166
The token name string key is always in sync — renaming an operation in the spec and
164
167
regenerating updates both the token constant and its key automatically.
0 commit comments