Skip to content

Conversation

@dgageot
Copy link
Member

@dgageot dgageot commented Nov 24, 2025

Fixes #264

This schema is rejected by OpenAI because
the value could be an array without items type.

This seems to fix it.

A better solution would maybe be to use anyOf with a union of all five possible types.

Fixes docker#264

This schema is rejected by OpenAI because
the value could be an array without items type.

This seems to fix it.

A better solution would maybe be to use anyOf with a union
of all five possible types.

Signed-off-by: David Gageot <david.gageot@docker.com>
@dgageot dgageot requested a review from a team as a code owner November 24, 2025 11:05
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

Successfully merging this pull request may close these issues.

docker-mcp v0.28.0 is broken with OpenAI

2 participants