Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing definitions for required properties #390

Open
janodev opened this issue Jan 9, 2025 · 0 comments
Open

Missing definitions for required properties #390

janodev opened this issue Jan 9, 2025 · 0 comments

Comments

@janodev
Copy link

janodev commented Jan 9, 2025

Several objects require properties that don’t appear in the properties list:

  • sessions in components.schemas.CostsResult
  • logprobs in components.schemas.CreateChatCompletionFunctionResponse
  • type in components.schemas.ResponseFormatJsonSchema

Either they should be added to the properties list or removed from the required section.

For anyone using OpenAPI generators, the straightforward fix is to remove them, but if they are required you’ll have to put them back and add their property definition.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant