(asts)
| 218 | ) => JsonSchema.MultiDocument<"openapi-3.1"> |
| 219 | |
| 220 | const compileSchemas: CompileSchemas = (asts) => |
| 221 | JsonSchema.toMultiDocumentOpenApi3_1( |
| 222 | InternalToJsonSchemaDocument.toJsonSchemaMultiDocument( |
| 223 | InternalToRepresentation.toRepresentations( |
| 224 | Arr.map(asts, Schema.toCodecJsonAST), |
| 225 | InternalToJsonSchemaDocument.toRepresentationOptions |
| 226 | ) |
| 227 | ) |
| 228 | ) |
| 229 | |
| 230 | const cloneOpenAPISpec = <A>(value: A): A => { |
| 231 | if (Array.isArray(value)) { |