Skip to content

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

Merged
merged 10 commits into from
Jan 20, 2017
Merged

User can use schema #91

merged 10 commits into from
Jan 20, 2017

Conversation

cbchouinard
Copy link
Contributor

@@ -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
Copy link
Contributor

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
Copy link
Contributor

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:
Copy link
Contributor

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

@bergie bergie merged commit 401e230 into master Jan 20, 2017
@bergie bergie deleted the user-can-use-schema branch January 20, 2017 12:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants