-
Notifications
You must be signed in to change notification settings - Fork 101
Open
Labels
priority: p2Moderately-important priority. Fix may not be included in next release.Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Description
/ The com.google.genai.types.Schema class (and its Builder) is missing the 'additionalProperties' field.
// This is a critical omission for OpenAPI 3.0 compliance, as it makes it impossible to
// define Map-like structures (objects with dynamic keys) using the native Schema objects.
//
// Expected usage that is currently impossible:
Schema mapSchema = Schema.builder()
.type("object")
.additionalProperties(Schema.builder().type("string").build()) // Method 'additionalProperties' is missing
.build();
Metadata
Metadata
Assignees
Labels
priority: p2Moderately-important priority. Fix may not be included in next release.Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.