-
Notifications
You must be signed in to change notification settings - Fork 9
User can use schema #91
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
Conversation
@@ -17,4 +17,8 @@ properties: | |||
avatar: | |||
type: string | |||
example: "http://example.net/user.png" | |||
canUse: | |||
description: Feature flagging based on user's plan. Available flags are siteMediaCta, edCta, edEmbed | |||
type: object |
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.
Can you also document the properties of canUse
here?
@@ -17,4 +17,8 @@ properties: | |||
avatar: | |||
type: string | |||
example: "http://example.net/user.png" | |||
required: [uuid, name] | |||
canUse: | |||
description: Feature flagging based on user's plan. Available flags are siteMediaCta, edCta, edEmbed |
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.
this is the wrong way to do it, actually add the properties to the object with types, descriptions etc.
@@ -17,4 +17,16 @@ properties: | |||
avatar: | |||
type: string | |||
example: "http://example.net/user.png" | |||
required: [uuid, name] | |||
canUse: |
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.
These need to be under a properties
key, like in
apidocs/schemata/siteconfig.yaml
Line 32 in f859abf
cta: |
relates to https://github.com/the-grid/apis/pull/742