(options: GoOptions)
| 585 | } |
| 586 | |
| 587 | function 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 | |
| 598 | function getAdditionalProperties(options: GoOptions): boolean { |
| 599 | switch (options.additionalPropertiesStrategy) { |