Bugfix
See https://github.com/openai/ope nai-openapi/blob/97dfb59c89ce0550e9360a7d437491d556e5a65e/openapi.yaml
Caused by: java.lang.NullPointerException at com.top_logic.service.openapi.common.schema.OpenAPISchemaUtils.parseSchema(OpenAPISchemaUtils.java:46) at com.top_logic.service.openapi.common.layout.ImportOpenAPIConfiguration$2.apply(ImportOpenAPIConfiguration.java:470) at com.top_logic.service.openapi.common.layout.ImportOpenAPIConfiguration$2.apply(ImportOpenAPIConfiguration.java:461) at com.top_logic.service.openapi.common.schema.OpenAPISchemaUtils.createSchema(OpenAPISchemaUtils.java:54) at com.top_logic.service.openapi.common.schema.OpenAPISchemaUtils.createSchema(OpenAPISchemaUtils.java:73) at com.top_logic.service.openapi.common.schema.OpenAPISchemaUtils.createSchema(OpenAPISchemaUtils.java:136) at com.top_logic.service.openapi.common.schema.OpenAPISchemaUtils.parseSchema(OpenAPISchemaUtils.java:45) at com.top_logic.service.openapi.common.layout.ImportOpenAPIConfiguration$2.apply(ImportOpenAPIConfiguration.java:470) at com.top_logic.service.openapi.common.layout.ImportOpenAPIConfiguration$2.apply(ImportOpenAPIConfiguration.java:461) at com.top_logic.service.openapi.common.schema.OpenAPISchemaUtils.createSchema(OpenAPISchemaUtils.java:54)
To make matters worse, jackson-dataformat-yaml:2.16.1 cannot handle aliases in Yaml files, which are used extensively by the schema. Cf. https://github.com/FasterXML/jackson-dataformats-text/issues/98
Test
- Import the above document into the OpenAPI script registry.