From 8669d5dedad6dcb2dea4416684ac9e81ee175bd4 Mon Sep 17 00:00:00 2001 From: Martin Cech Date: Fri, 29 Sep 2023 12:03:48 -0700 Subject: [PATCH 1/2] provide specific example for tags so it renders correctly in the docs --- client/src/schema/schema.ts | 5 +++++ lib/galaxy/schema/schema.py | 1 + 2 files changed, 6 insertions(+) diff --git a/client/src/schema/schema.ts b/client/src/schema/schema.ts index c6063ed8f6f8..0d7f3b1cb0af 100644 --- a/client/src/schema/schema.ts +++ b/client/src/schema/schema.ts @@ -8667,6 +8667,11 @@ export interface components { /** * TagCollection * @description The collection of tags associated with an item. + * @example [ + * "COVID-19", + * "#myFancyTag", + * "covid19.galaxyproject.org" + * ] */ TagCollection: string[]; /** diff --git a/lib/galaxy/schema/schema.py b/lib/galaxy/schema/schema.py index 4517cb6e6d3e..ed2ae0ea9b95 100644 --- a/lib/galaxy/schema/schema.py +++ b/lib/galaxy/schema/schema.py @@ -504,6 +504,7 @@ class TagCollection(Model): default=..., title="Tags", description="The collection of tags associated with an item.", + example=['COVID-19', '#myFancyTag', 'covid19.galaxyproject.org'], ) From 214da611a4b9a130a8d3eb8e698386ef5b93e847 Mon Sep 17 00:00:00 2001 From: Martin Cech Date: Fri, 29 Sep 2023 13:52:23 -0700 Subject: [PATCH 2/2] yiixhaaa --- lib/galaxy/schema/schema.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/galaxy/schema/schema.py b/lib/galaxy/schema/schema.py index ed2ae0ea9b95..13593d951c22 100644 --- a/lib/galaxy/schema/schema.py +++ b/lib/galaxy/schema/schema.py @@ -504,7 +504,7 @@ class TagCollection(Model): default=..., title="Tags", description="The collection of tags associated with an item.", - example=['COVID-19', '#myFancyTag', 'covid19.galaxyproject.org'], + example=["COVID-19", "#myFancyTag", "covid19.galaxyproject.org"], )