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

Scope not applied to @api-see annotations #140

Closed
erunion opened this issue Dec 15, 2017 · 0 comments
Closed

Scope not applied to @api-see annotations #140

erunion opened this issue Dec 15, 2017 · 0 comments
Assignees
Labels
Milestone

Comments

@erunion
Copy link
Owner

erunion commented Dec 15, 2017

/**
 * @api-see Connection::create metadata.interactions.add_privacy_user
 * @api-data metadata.interactions.add_privacy_user.options (array) - An array of the HTTP methods usable on this URI.
 * @api-scope private
 */

Generated result:

"metadata.interactions.add_privacy_user.options" => [
    "capability" => false,
    "description" => "An array of the HTTP methods usable on this URI.",
    "identifier" => "metadata.interactions.add_privacy_user.options",
    "nullable" => false,
    "sample_data" => false,
    "scopes" => [
        [
            "description" => false,
            "scope" => "private"
        ]
    ],
    "subtype" => false,
    "type" => "array",
    "values" => false,
    "version" => false
],
"metadata.interactions.add_privacy_user.total" => [
    "capability" => false,
    "description" => "Total number of items on this connection.",
    "identifier" => "metadata.interactions.add_privacy_user.total",
    "nullable" => false,
    "sample_data" => false,
    "scopes" => [],
    "subtype" => false,
    "type" => "number",
    "values" => false,
    "version" => false
],
"metadata.interactions.add_privacy_user.uri" => [
    "capability" => false,
    "description" => "API URI that resolves to the connection data.",
    "identifier" => "metadata.interactions.add_privacy_user.uri",
    "nullable" => false,
    "sample_data" => false,
    "scopes" => [],
    "subtype" => false,
    "type" => "uri",
    "values" => false,
    "version" => false
],
@erunion erunion added the bug label Dec 15, 2017
@erunion erunion self-assigned this Dec 15, 2017
@erunion erunion added this to the v4.0: OAI milestone Mar 24, 2018
This was referenced May 26, 2018
Merged
@erunion erunion closed this as completed May 26, 2018
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