(target: Target)
| 295 | |
| 296 | /** @internal */ |
| 297 | export function getMetaSchemaUri(target: Target) { |
| 298 | switch (target) { |
| 299 | case "jsonSchema7": |
| 300 | return "http://json-schema.org/draft-07/schema#" |
| 301 | case "jsonSchema2019-09": |
| 302 | return "https://json-schema.org/draft/2019-09/schema" |
| 303 | case "jsonSchema2020-12": |
| 304 | case "openApi3.1": |
| 305 | return "https://json-schema.org/draft/2020-12/schema" |
| 306 | } |
| 307 | } |
| 308 | |
| 309 | /** |
| 310 | * Returns a JSON Schema with additional options and definitions. |
no outgoing calls
no test coverage detected
searching dependent graphs…