From ff4713e878da1d5784c88aebfa9c894342ce5543 Mon Sep 17 00:00:00 2001 From: Axel Bocciarelli Date: Mon, 29 Jan 2024 13:20:52 +0100 Subject: [PATCH] Fix discriminator in API schema --- docs/_static/api.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/_static/api.yaml b/docs/_static/api.yaml index 459a3f5..30abeb1 100644 --- a/docs/_static/api.yaml +++ b/docs/_static/api.yaml @@ -115,7 +115,7 @@ paths: - $ref: '#/components/schemas/groupMetadata' - $ref: '#/components/schemas/softLinkMetadata' discriminator: - propertyName: type + propertyName: kind mapping: dataset: '#/components/schemas/datasetMetadata' external_link: '#/components/schemas/externalLinkMetadata'