Skip to content

Commit

Permalink
Update Swagger and TypeSpec for details property (#30632)
Browse files Browse the repository at this point in the history
  • Loading branch information
minhanh-phan authored Oct 7, 2024
1 parent f10366b commit 75efbd8
Show file tree
Hide file tree
Showing 8 changed files with 5 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -191,5 +191,5 @@ model ContentFilterDetailedResults {
...FilteredResultBase;

@doc("The collection of detailed blocklist result information.")
details: ContentFilterBlocklistIdResult[];
details?: ContentFilterBlocklistIdResult[];
}
Original file line number Diff line number Diff line change
Expand Up @@ -3005,8 +3005,7 @@
}
],
"required": [
"filtered",
"details"
"filtered"
]
},
"promptFilterResult": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1973,7 +1973,6 @@ components:
type: array
required:
- filtered
- details
promptFilterResult:
type: object
description: Content filtering results for a single prompt in the request.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3465,8 +3465,7 @@
}
],
"required": [
"filtered",
"details"
"filtered"
]
},
"promptFilterResult": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2238,7 +2238,6 @@ components:
type: array
required:
- filtered
- details
promptFilterResult:
type: object
description: Content filtering results for a single prompt in the request.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3465,8 +3465,7 @@
}
],
"required": [
"filtered",
"details"
"filtered"
]
},
"promptFilterResult": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2238,7 +2238,6 @@ components:
type: array
required:
- filtered
- details
promptFilterResult:
type: object
description: Content filtering results for a single prompt in the request.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3251,8 +3251,7 @@
}
],
"required": [
"filtered",
"details"
"filtered"
]
},
"promptFilterResult": {
Expand Down

0 comments on commit 75efbd8

Please sign in to comment.