SMillerDev / phpdraft

An API Blueprint parser in PHP

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Inline enums don't show when a default value is present

SMillerDev opened this issue · comments

This will not show the inline enum.

        + scale   : `4` (enum[number], optional) - scale from 0 (worst) to 1 (best)
            + 0
            + 1

This will only show the inline enum default value as a normal field.

        + scale   : `4` (enum, optional) - scale from 0 (worst) to 1 (best)
            + 0
            + 1