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

Function isContentSchemaSupported

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

Source from the content-addressed store, hash-verified

585}
586
587function isContentSchemaSupported(options: GoOptions): boolean {
588 switch (options.target) {
589 case "jsonSchema7":
590 return false
591 case "jsonSchema2019-09":
592 case "jsonSchema2020-12":
593 case "openApi3.1":
594 return true
595 }
596}
597
598function getAdditionalProperties(options: GoOptions): boolean {
599 switch (options.additionalPropertiesStrategy) {

Callers 1

goFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected