MCPcopy Index your code
hub / github.com/Effect-TS/effect / getAdditionalProperties

Function getAdditionalProperties

packages/effect/src/JSONSchema.ts:598–605  ·  view source on GitHub ↗
(options: GoOptions)

Source from the content-addressed store, hash-verified

596}
597
598function getAdditionalProperties(options: GoOptions): boolean {
599 switch (options.additionalPropertiesStrategy) {
600 case "allow":
601 return true
602 case "strict":
603 return false
604 }
605}
606
607function addASTAnnotations(jsonSchema: JsonSchema7, ast: AST.AST): JsonSchema7 {
608 return addAnnotations(jsonSchema, getJsonSchemaAnnotations(ast))

Callers 1

goFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected