Skip to content

Commit d70ce2c

Browse files
committed
Fix missing param and typo
1 parent a627dd0 commit d70ce2c

File tree

1 file changed

+5
-4
lines changed
  • firebase-vertexai/src/main/kotlin/com/google/firebase/vertexai/type

1 file changed

+5
-4
lines changed

firebase-vertexai/src/main/kotlin/com/google/firebase/vertexai/type/Schema.kt

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -160,9 +160,10 @@ internal constructor(
160160
* ))
161161
* ```
162162
*
163-
* @param properties The map of the object's property names to their [Schema]s. by the model.
164-
* These names must correspond to the keys provided in the `properties` map. By default it's
165-
* empty, signaling the model that all properties are to be included.
163+
* @param properties The map of the object's property names to their [Schema]s.
164+
* @param optionalProperties The list of optional properties. They must correspond to the keys
165+
* provided in the `properties` map. By default it's empty, signaling the model that all
166+
* properties are to be included.
166167
* @param description An optional description of what the object represents.
167168
* @param nullable Indicates whether the value can be `null`. Defaults to `false`.
168169
*/
@@ -191,7 +192,7 @@ internal constructor(
191192
/**
192193
* Returns a [Schema] for an array.
193194
*
194-
* @param item The [Schema] of the elements stored in the array.
195+
* @param items The [Schema] of the elements stored in the array.
195196
* @param description An optional description of what the array represents.
196197
* @param nullable Indicates whether the value can be `null`. Defaults to `false`.
197198
*/

0 commit comments

Comments
 (0)