(ast: AST.AST, annotated: AST.Annotated)
| 498 | } |
| 499 | |
| 500 | function getContextJsonSchemaAnnotations(ast: AST.AST, annotated: AST.Annotated): JsonSchemaAnnotations | undefined { |
| 501 | return pruneJsonSchemaAnnotations( |
| 502 | ast, |
| 503 | getRawDescription(annotated), |
| 504 | getRawTitle(annotated), |
| 505 | getRawDefault(annotated), |
| 506 | getRawExamples(annotated) |
| 507 | ) |
| 508 | } |
| 509 | |
| 510 | function getJsonSchemaAnnotations(ast: AST.AST): JsonSchemaAnnotations | undefined { |
| 511 | return pruneJsonSchemaAnnotations( |
no test coverage detected