You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
postControlPing {
test (inline_model_11)
}
inline_model_11 {
hash (Inline Model 1, optional)
}
Inline Model 1 {
int_array (Array[Integer])
}
The example isn't perfect but i can fix that with a note in the description of the endpoint.
Thanks
The text was updated successfully, but these errors were encountered:
Crystark
changed the title
Hash > Hash > Array[Integer] isn't properly reflected in the Data Type Example Value
Hash > Hash > Array[Integer] isn't properly reflected in the Data Type column of the UI
Feb 10, 2017
Hi,
Considering the following resource, It seems to generate an improper swagger Data Type Example Value:
This shows the following:
However I would expect:
The model is also wrong:
it should be:
It seems like the array breaks it and is set on every parent member instead of the element iteself.
As a quick fix i'm using:
This prints out:
and
The example isn't perfect but i can fix that with a note in the description of the endpoint.
Thanks
The text was updated successfully, but these errors were encountered: