-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Handle array examples; document Example usage #1807
Conversation
08f5251
to
3bc9e60
Compare
docs/use/spec/model.md
Outdated
@@ -74,6 +75,7 @@ type User struct { | |||
// the email address for this user | |||
// | |||
// required: true | |||
// example: user@provider.net |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How come this alignment is off ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sorry, accidentally made spaces instead of a tab. (Elsewhere in the file spaces are used, so it confused my editor.) Fixed.
3bc9e60
to
3370a15
Compare
I previously added JSON parsing for examples on object types; this adds it for array types. It also adds basic documentation for Example. Signed-off-by: Leon Barrett <leon@cogitai.com>
Signed-off-by: Leon Barrett <leon@cogitai.com>
3370a15
to
c95492a
Compare
@casualjim Thanks. Is there anything else I need to do? (I can't merge. Do I need to figure out commit signing first?) |
Yes all commits must be pgp signed |
I previously added JSON parsing for examples on object types; this adds
it for array types. It also adds basic documentation for Example.