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

Allow enum on parameter declarations #113

Closed
erunion opened this issue Aug 14, 2017 · 0 comments · Fixed by #117
Closed

Allow enum on parameter declarations #113

erunion opened this issue Aug 14, 2017 · 0 comments · Fixed by #117
Assignees
Milestone

Comments

@erunion
Copy link
Owner

erunion commented Aug 14, 2017

* @api-param:private grant_type (enum, required) - Grant type. Must be set to "google".
*      + Members
*          - `google`

With this parameter declaration, API Blueprint for this will be generated as:

 - `grant_type` (enum[enum[string]], required) - Grant type. Must be set to "google".
    + Members
        + `google`

Since having Members present, Mill automatically infers the parameter as an enum[string], we should just allow enum for doing the same.

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

Successfully merging a pull request may close this issue.

1 participant