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
When we associate a schema as a request or a response, this schema is automatically used to generate documentation. (And this is beautiful). But when looking at the documentation, the value of an object with type str has an example value of string.
The question is, can we change this?
If I have a Schema field cost name is email, I would like its example value to be user@example.com and not string.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
When we associate a schema as a request or a response, this schema is automatically used to generate documentation. (And this is beautiful). But when looking at the documentation, the value of an object with type
str
has an example value ofstring
.The question is, can we change this?
If I have a Schema field cost name is email, I would like its example value to be
user@example.com
and notstring
.Beta Was this translation helpful? Give feedback.
All reactions