Closed humphd closed 2 months ago
For now I've forced it to work by renaming a bunch of things in the OpenAI YAML:
timestamp_granularities[]
-> timestamp_granularities
self/harm
-> self_harm
I'm not sure if there's a better approach, since these names are obviously going to be problematic in JS.
those names are problematic but if the SwaggerParser validate the schema and thinks it's ok it means that it should be a valid schema for us too. So, yeah, this was an openapi-box issue. Fixed now.
@tinchoz49 thanks for such a quick turn-around on this, really appreciated!
thank you for taking your time on reporting this!
I'm trying to create TypeBox types from the OpenAI OpenAPI schema, but it's failing without much info:
Is this an issue in the schema, generated code, or openapi-box?