Skip to content

Commit

Permalink
feat(extensions/code_samples): add support for correspondingExample (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
kanadgupta authored Apr 8, 2024
1 parent 778adeb commit 550e2cc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/oas/src/extensions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,10 @@ export const SIMPLE_MODE = 'simple-mode';
export interface Extensions {
[CODE_SAMPLES]: {
code: string;
/**
* @see {@link https://docs.readme.com/main/docs/openapi-extensions#corresponding-response-examples}
*/
correspondingExample?: string;
install?: string;
language: string;
name?: string;
Expand Down

0 comments on commit 550e2cc

Please sign in to comment.