Skip to content

Commit

Permalink
feat: A new field property_ordering is added to message `.google.cl…
Browse files Browse the repository at this point in the history
…oud.aiplatform.v1beta1.Schema`

PiperOrigin-RevId: 674918528
  • Loading branch information
Google APIs authored and copybara-github committed Sep 15, 2024
1 parent 31df26d commit 65306b9
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions google/cloud/aiplatform/v1beta1/openapi.proto
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ enum Type {

// Schema is used to define the format of input/output data. Represents a select
// subset of an [OpenAPI 3.0 schema
// object](https://spec.openapis.org/oas/v3.0.3#schema). More fields may be
// added in the future as needed.
// object](https://spec.openapis.org/oas/v3.0.3#schema-object). More fields may
// be added in the future as needed.
message Schema {
// Optional. The type of the data.
Type type = 1 [(google.api.field_behavior) = OPTIONAL];
Expand Down Expand Up @@ -98,6 +98,12 @@ message Schema {
// Properties of Type.OBJECT.
map<string, Schema> properties = 3 [(google.api.field_behavior) = OPTIONAL];

// Optional. The order of the properties.
// Not a standard field in open api spec. Only used to support the order of
// the properties.
repeated string property_ordering = 25
[(google.api.field_behavior) = OPTIONAL];

// Optional. Required properties of Type.OBJECT.
repeated string required = 5 [(google.api.field_behavior) = OPTIONAL];

Expand Down

0 comments on commit 65306b9

Please sign in to comment.