MCPcopy Index your code

hub / github.com/samchungy/zod-openapi / functions

Functions50 in github.com/samchungy/zod-openapi

↓ 119 callersFunctioncreateSchema
( schema: core.$ZodType, ctx: { registry?: ComponentRegistry; io?: 'input' | 'output'; opts?:
src/create/schema/schema.ts:34
↓ 70 callersFunctioncreateRegistry
( components?: ZodOpenApiComponentsObject, )
src/create/components.ts:206
↓ 35 callersFunctioncreateComponents
( registry: ComponentRegistry, opts: CreateDocumentOptions, openapiVersion?: OpenApiVersion, )
src/create/components.ts:1011
↓ 11 callersFunctioncreateDocument
( zodOpenApiObject: ZodOpenApiObject, opts: CreateDocumentOptions = {}, )
src/create/document.ts:266
↓ 11 callersFunctioncreateOutputContext
()
src/testing/ctx.ts:7
↓ 10 callersFunctioncreateContent
( content: ZodOpenApiContentObject, ctx: { registry: ComponentRegistry; io: 'input' | 'output';
src/create/content.ts:92
↓ 8 callersFunctionisAnyZodType
(schema: unknown)
src/zod.ts:4
↓ 8 callersFunctionisISpecificationExtension
( key: string, )
src/create/specificationExtension.ts:3
↓ 8 callersFunctionisRequired
( zodType: $ZodType, io: 'input' | 'output', )
src/create/object.ts:28
↓ 7 callersFunctionrenameComponents
( components: Record<string, core.JSONSchema.JSONSchema>, outputIds: Map<string, string>, ctx: { reg
src/create/schema/rename.ts:15
↓ 6 callersFunctioncreateInputContext
()
src/testing/ctx.ts:21
↓ 6 callersFunctioncreateMediaTypeObject
( mediaType: ZodOpenApiMediaTypeObject, ctx: { registry: ComponentRegistry; io: 'input' | 'output'
src/create/content.ts:16
↓ 6 callersFunctionunwrapZodObject
( zodType: $ZodTypes, io: 'input' | 'output', path: string[], )
src/create/object.ts:3
↓ 5 callersFunctionvalidate
( ctx: ZodOpenApiOverrideContext, opts: CreateDocumentOptions, previousContext: PreviousContext, )
src/create/schema/override.ts:97
↓ 3 callersFunctioncreateEncodingProperty
( encodingProperty: ZodOpenApiEncodingPropertyObject, ctx: { registry: ComponentRegistry; io: 'inp
src/create/content.ts:134
↓ 3 callersFunctioncreateHeaders
( headers: ZodOpenApiHeadersObject | undefined, registry: ComponentRegistry, path: string[], )
src/create/headers.ts:9
↓ 3 callersFunctioncreateManualParameters
( parameters: | Array<$ZodType | oas32.ParameterObject | oas32.ReferenceObject> | undefined, regis
src/create/parameters.ts:11
↓ 3 callersFunctioncreatePaths
( paths: ZodOpenApiPathsObject | undefined, registry: ComponentRegistry, path: string[], )
src/create/paths.ts:73
↓ 3 callersFunctiondeleteInvalidJsonSchemaFields
( jsonSchema: core.JSONSchema.JSONSchema, )
src/create/schema/schema.ts:92
↓ 2 callersFunctioncreateCallbacks
( callbacks: ZodOpenApiCallbacksObject | undefined, registry: ComponentRegistry, path: string[], )
src/create/callbacks.ts:7
↓ 2 callersFunctioncreateEncodingObject
( encoding: ZodOpenApiEncodingObject, ctx: { registry: ComponentRegistry; io: 'input' | 'output';
src/create/content.ts:112
↓ 2 callersFunctioncreateExamples
( examples: ZodOpenApiExamplesObject | undefined, registry: ComponentRegistry, path: string[], )
src/create/examples.ts:6
↓ 2 callersFunctioncreateIOSchemas
(ctx: { registry: ComponentRegistry; io: 'input' | 'output'; opts: CreateDocumentOptions; openapiVersi
src/create/components.ts:964
↓ 2 callersFunctioncreateLinks
( links: ZodOpenApiLinksObject | undefined, registry: ComponentRegistry, path: string[], )
src/create/links.ts:6
↓ 2 callersFunctioncreateOperation
( operation: ZodOpenApiOperationObject, registry: ComponentRegistry, path: string[], )
src/create/paths.ts:13
↓ 2 callersFunctioncreateParameters
( requestParams: ZodOpenApiParameters | undefined, registry: ComponentRegistry, path: string[], )
src/create/parameters.ts:41
↓ 2 callersFunctioncreateResponses
( responses: ZodOpenApiResponsesObject | undefined, registry: ComponentRegistry, path: string[], )
src/create/responses.ts:10
↓ 2 callersFunctioncreateSchemas
( schemas: T, ctx: { registry: ComponentRegistry; io: 'input' | 'output'; opts: CreateDocument
src/create/schema/schema.ts:101
↓ 2 callersFunctionsatisfiesVersion
( test: OpenApiVersion, against: OpenApiVersion, )
src/openapi.ts:13
↓ 1 callersFunctioncopyDTs
(src: string, dest: string)
scripts/copyTypes.ts:6
↓ 1 callersFunctioncreateManualSchemas
(registry: ComponentRegistry)
src/create/components.ts:1001
↓ 1 callersFunctiondeleteFolderRecursive
(folderPath: string)
scripts/copyTypes.ts:64
↓ 1 callersFunctiondeleteZodOpenApiMeta
(jsonSchema: core.JSONSchema.JSONSchema)
src/create/schema/schema.ts:86
↓ 1 callersFunctionisDependencyPure
( componentDependencies: Map<string, ComponentDependencies>, stringifiedComponents: Map<string, string>,
src/create/schema/rename.ts:79
↓ 1 callersFunctionmain
()
scripts/copyTypes.ts:81
↓ 1 callersFunctionregisterCallbacks
( callbacks: ZodOpenApiComponentsObject['callbacks'], registry: ComponentRegistry, )
src/create/components.ts:891
↓ 1 callersFunctionregisterExamples
( examples: ZodOpenApiComponentsObject['examples'], registry: ComponentRegistry, )
src/create/components.ts:951
↓ 1 callersFunctionregisterHeaders
( headers: ZodOpenApiComponentsObject['headers'], registry: ComponentRegistry, )
src/create/components.ts:831
↓ 1 callersFunctionregisterLinks
( links: ZodOpenApiComponentsObject['links'], registry: ComponentRegistry, )
src/create/components.ts:936
↓ 1 callersFunctionregisterParameters
( parameters: ZodOpenApiComponentsObject['parameters'], registry: ComponentRegistry, )
src/create/components.ts:806
↓ 1 callersFunctionregisterPathItems
( pathItems: ZodOpenApiComponentsObject['pathItems'], registry: ComponentRegistry, )
src/create/components.ts:906
↓ 1 callersFunctionregisterRequestBodies
( requestBodies: ZodOpenApiComponentsObject['requestBodies'], registry: ComponentRegistry, )
src/create/components.ts:867
↓ 1 callersFunctionregisterResponses
( responses: ZodOpenApiComponentsObject['responses'], registry: ComponentRegistry, )
src/create/components.ts:848
↓ 1 callersFunctionregisterSchemas
( schemas: ZodOpenApiComponentsObject['schemas'], registry: ComponentRegistry, )
src/create/components.ts:779
↓ 1 callersFunctionregisterSecuritySchemes
( securitySchemes: ZodOpenApiComponentsObject['securitySchemes'], registry: ComponentRegistry, )
src/create/components.ts:921
Functiona
()
src/create/schema/tests/lazy.test.ts:13
Functioncycle
()
src/create/components.test.ts:950
Functionfoo
()
src/create/components.test.ts:27
Functionoverride
(ctx)
src/create/schema/override.ts:14
Functionoverride
(context)
src/create/schema/schema.ts:140