Skip to content
Merged
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
16 changes: 5 additions & 11 deletions openapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -495,14 +495,14 @@ paths:
content:
application/json:
schema:
$ref: "#/components/schemas/SynonymSetRetrieveSchema"
$ref: "#/components/schemas/SynonymSetSchema"
"404":
description: Synonym set not found
content:
application/json:
schema:
$ref: "#/components/schemas/ApiResponse"

put:
tags:
- synonyms
Expand Down Expand Up @@ -735,7 +735,7 @@ paths:
content:
application/json:
schema:
$ref: "#/components/schemas/CurationSetRetrieveSchema"
$ref: "#/components/schemas/CurationSetSchema"
"404":
description: Curation set not found
content:
Expand Down Expand Up @@ -1805,7 +1805,7 @@ paths:
- $ref: "#/components/schemas/AnalyticsRule"
- type: array
items:
anyOf:
oneOf:
- $ref: "#/components/schemas/AnalyticsRule"
- type: object
properties:
Expand Down Expand Up @@ -4041,7 +4041,7 @@ components:
query_counter_events: { type: integer }
doc_log_events: { type: integer }
doc_counter_events: { type: integer }

APIStatsResponse:
type: object
properties:
Expand Down Expand Up @@ -4423,9 +4423,6 @@ components:
items:
$ref: "#/components/schemas/SynonymSetSchema"

SynonymSetRetrieveSchema:
$ref: "#/components/schemas/SynonymSetCreateSchema"

SynonymSetDeleteSchema:
type: object
required:
Expand Down Expand Up @@ -4586,9 +4583,6 @@ components:
type: string
description: document id that should be excluded from the search results.

CurationSetRetrieveSchema:
$ref: '#/components/schemas/CurationSetCreateSchema'

CurationSetDeleteSchema:
type: object
required:
Expand Down