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
properties:
annual:
description: 'Some description.'type: string # there isn't nullable here, because I defined another type.format: numberexample: '0.00'
I would like to know, it is a bug or a feature? Perhabs the tool should override the detected state of the property.
Thank you!
The text was updated successfully, but these errors were encountered:
Type handling is not very consistent and the introduction of attributes added to that too.
There are no clear rules about priority, but I agree the annotation should be the authority in this case.
Hopefully this will be fixed as part of #1310
Hello. Thank you for your package, it has saved some my time due to existent documentation in classes.
But I found a feature or a bug) when the real properties of a class are different with schema properties.
Steps to reproduce
I have the next code.
It describes the value that has the default value
null
, but this value is never returned in responses and there is always non-null values, like 0.00.I expected the follow description in yaml. There is
nullable: false
or withoutnullable
due to I redefine this property.or
But I got the follow result.
To fix it I've redefined the value type:
type="string"
.Now I got this result.
I would like to know, it is a bug or a feature? Perhabs the tool should override the detected state of the property.
Thank you!
The text was updated successfully, but these errors were encountered: