Skip to content

Commit 8c79eb4

Browse files
committed
fix: update oas3.2 types
1 parent 133219a commit 8c79eb4

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

packages/core/src/types/oas3_2.ts

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -191,15 +191,12 @@ const Discriminator: NodeType = {
191191
};
192192

193193
const Example: NodeType = {
194+
...Oas3_1Types.Example,
194195
properties: {
195-
value: { resolvable: false },
196-
summary: { type: 'string' },
197-
description: { type: 'string' },
198-
externalValue: { type: 'string' },
196+
...Oas3_1Types.Example.properties,
199197
dataValue: { resolvable: false },
200198
serializedValue: { type: 'string' },
201199
},
202-
extensionsPrefix: 'x-',
203200
};
204201

205202
export const Oas3_2Types = {
@@ -216,5 +213,4 @@ export const Oas3_2Types = {
216213
MediaType,
217214
Discriminator,
218215
Example,
219-
ExamplesMap: mapOf('Example'),
220216
} as const;

0 commit comments

Comments
 (0)