Skip to content

Commit

Permalink
Merge pull request #16769 from martenson/tags-openapi
Browse files Browse the repository at this point in the history
provide specific example for API docs - tags
  • Loading branch information
dannon authored Sep 30, 2023
2 parents d7cc3e8 + 214da61 commit 486b802
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions client/src/schema/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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[];
/**
Expand Down
1 change: 1 addition & 0 deletions lib/galaxy/schema/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"],
)


Expand Down

0 comments on commit 486b802

Please sign in to comment.