Skip to content
This repository has been archived by the owner on May 23, 2024. It is now read-only.

Dot-notation representation data requires parent entries #82

Closed
erunion opened this issue May 15, 2017 · 1 comment
Closed

Dot-notation representation data requires parent entries #82

erunion opened this issue May 15, 2017 · 1 comment
Assignees
Labels
Milestone

Comments

@erunion
Copy link
Owner

erunion commented May 15, 2017

/**
 * @api-data preferences.videos.privacy.view (string) - The users' video view privacy preference.
 */

With an annotation like this, the API Blueprint generator requires that separate @api-data annotations are in place for preferences, preferences.videos, and preferences.videos.privacy or else what's generated in the API Blueprint file is just:

- `preferences` (object)
@erunion erunion added this to the v2.0 milestone May 15, 2017
@erunion erunion self-assigned this May 15, 2017
@erunion
Copy link
Owner Author

erunion commented May 19, 2017

This bug only exists if there isn't anything else in the tree of that object. So if we add preferences.videos.privacy.something, the full tree will be present in the Blueprint.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant