diff --git a/openapi.yml b/openapi.yml index e1a279d..9bc76ee 100644 --- a/openapi.yml +++ b/openapi.yml @@ -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 @@ -735,7 +735,7 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/CurationSetRetrieveSchema" + $ref: "#/components/schemas/CurationSetSchema" "404": description: Curation set not found content: @@ -1805,7 +1805,7 @@ paths: - $ref: "#/components/schemas/AnalyticsRule" - type: array items: - anyOf: + oneOf: - $ref: "#/components/schemas/AnalyticsRule" - type: object properties: @@ -4041,7 +4041,7 @@ components: query_counter_events: { type: integer } doc_log_events: { type: integer } doc_counter_events: { type: integer } - + APIStatsResponse: type: object properties: @@ -4423,9 +4423,6 @@ components: items: $ref: "#/components/schemas/SynonymSetSchema" - SynonymSetRetrieveSchema: - $ref: "#/components/schemas/SynonymSetCreateSchema" - SynonymSetDeleteSchema: type: object required: @@ -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: