Description
Hello. I've stumbled across some inconsistencies between Readme description and swagger spec on ongoing master branch (19ac4f4) and some things that I just don't understand, mainly about upcoming custom fields.
project_custom_field_extension
describes minArraySize
and maxArraySize
and plain integers, but readme for 3.1.4 GET Project Extension Service states that they can be null. Only maxArraySize can be null or minArraySize too? What if they are both null?
Same paragraph: there are 6 supported types. In swagger project_custom_field_extension
defines additional date
type not described in readme.
Custom field can have an array value, so project_custom_field_extension
defines defaultValue
field as an array of strings. However, topic_custom_field
defines custom field value
as single nullable string.
Other things, not related to custom fields:
-
user_GET
defines aoneOf
constraint onname
andemail
fields, which renders strangely in swagger. From client's perspective, I think theid
field is a required one, because we use it in other endpoints, andname
is used for display in client, so i think it should be required too. These fields may contain actual user's email or login, but the client should not rely on that - it treats them as opaque fields. -
extension_item_set
- why use the object like{ "id": "id_value" }
instead of just"id_value"
? It's not like you need some other data to establish a relationship between two objects, like assign a user to the topic or set status or label.
Best regards.