Skip to content

Commit ce292e7

Browse files
committed
Added jsdoc for new patchDiscriminatorEnum function
1 parent ffbe547 commit ce292e7

File tree

1 file changed

+1
-0
lines changed
  • packages/openapi-typescript/src/lib

1 file changed

+1
-0
lines changed

packages/openapi-typescript/src/lib/utils.ts

+1
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,7 @@ function createDiscriminatorEnum(
184184
};
185185
}
186186

187+
/** Adds or replaces the discriminator enum with the passed `values` in a schema defined by `ref` */
187188
function patchDiscriminatorEnum(
188189
schema: SchemaObject,
189190
ref: string,

0 commit comments

Comments
 (0)