openfairdb icon indicating copy to clipboard operation
openfairdb copied to clipboard

Improve API-Documentation

Open wellemut opened this issue 4 years ago • 0 comments

What is the difference between TagList and Tag, and Tag array?

https://github.com/kartevonmorgen/openfairdb/blob/master/openapi.yaml#L777 TagList: type: string description: | Comma-separated list of tags example: organic,non-profit

https://github.com/kartevonmorgen/openfairdb/blob/master/openapi.yaml#L815 Tag: type: string minLength: 1 example: non-profit

https://github.com/kartevonmorgen/openfairdb/blob/master/openapi.yaml#L819 TagArray: type: array items: $ref: '#/components/schemas/Tag' example: [organic, non-profit]

wellemut avatar Feb 24 '20 17:02 wellemut