Skip to content

Commit f84a620

Browse files
committed
Fix required query parameter
1 parent eb80aff commit f84a620

File tree

4 files changed

+3
-9
lines changed

4 files changed

+3
-9
lines changed

output/schema/schema.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/schema/validation-errors.json

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -156,12 +156,6 @@
156156
],
157157
"response": []
158158
},
159-
"inference.put_watsonx": {
160-
"request": [
161-
"Request: path parameter 'task_type' is required in the json spec"
162-
],
163-
"response": []
164-
},
165159
"inference.update": {
166160
"request": [
167161
"/_inference/{inference_id}/_update: different http methods in the json spec",

output/typescript/types.ts

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

specification/inference/put_watsonx/PutWatsonxRequest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export interface Request extends RequestBase {
5151
* The task type.
5252
* The only valid task type for the model to perform is `text_embedding`.
5353
*/
54-
task_type?: WatsonxTaskType
54+
task_type: WatsonxTaskType
5555
/**
5656
* The unique identifier of the inference endpoint.
5757
*/

0 commit comments

Comments
 (0)