Skip to content

Commit 007a096

Browse files
committed
improvement(types): add an optional example property for schemas
1 parent 20553c1 commit 007a096

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: packages/whook/src/services/API_DEFINITIONS.ts

+1
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ export type WhookAPIHandlerDefinition = {
3939
export type WhookAPISchemaDefinition = {
4040
name: string;
4141
schema: OpenAPIV3.ReferenceObject | OpenAPIV3.SchemaObject;
42+
example?: any;
4243
};
4344
export type WhookAPIParameterDefinition = {
4445
name: string;

0 commit comments

Comments
 (0)