openai / openai-openapi

OpenAPI specification for the OpenAI API
https://platform.openai.com/docs/api-reference/introduction
MIT License
1.23k stars 356 forks source link

OpenAI's OpenAPI spec isn't schema-compliant #4

Closed asklar closed 1 year ago

asklar commented 1 year ago

It looks like the spec has several properties that are not part of the schema, e.g. oaiMeta. Custom properties must be prefixed with x- to indicate it's an extension.

This is causing tooling to error out when trying to process the OpenAI spec, e.g. see
Can't generate from openAI spec

schnerd commented 1 year ago

Thanks for reporting – just pushed spec 1.0.6 to resolve this!

asklar commented 1 year ago

thanks a lot @schnerd !