Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions specs/common/schemas/HighlightResult.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
highlightResultOption:
title: highlightResultOption
type: object
description: Surround words that match the query with HTML tags for highlighting.
additionalProperties: false
Expand Down Expand Up @@ -35,12 +36,14 @@ matchLevel:
enum: [none, partial, full]

highlightResultArray:
title: highlightResultArray
type: array
description: Surround words that match the query with HTML tags for highlighting.
items:
$ref: '#/highlightResult'

highlightResultMap:
title: highlightResultMap
type: object
description: Surround words that match the query with HTML tags for highlighting.
x-is-free-form: false # openapi-generator thinks this is a free-form object since https://github.com/OpenAPITools/openapi-generator/pull/19605
Expand Down
3 changes: 3 additions & 0 deletions specs/common/schemas/SnippetResult.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
snippetResultOption:
title: snippetResultOption
type: object
description: Snippets that show the context around a matching search query.
additionalProperties: false
Expand All @@ -14,6 +15,7 @@ snippetResultOption:
- matchLevel

snippetResultMap:
title: snippetResultMap
type: object
description: Snippets that show the context around a matching search query.
x-is-free-form: false # openapi-generator thinks this is a free-form object since https://github.com/OpenAPITools/openapi-generator/pull/19605
Expand All @@ -22,6 +24,7 @@ snippetResultMap:
$ref: '#/snippetResult'

snippetResultArray:
title: snippetResultArray
type: array
description: Snippets that show the context around a matching search query.
items:
Expand Down