Open abtris opened 8 years ago
@pksunkara commented
page (optional, number) ... The page of questions to return
implies the parameter is old syntax. Which means it doesn't need the enum[]
part. Members
is new syntax enumeration which gets ignored since the parameter is old syntax.
+ page (optional, number) ... The page of questions to return
+ Default: 2
+ Values
+ 1
+ 2
is the actual correct thing here.
@klokane opened apiaryio/snowcrash#355
As say Blueprint specification: https://github.com/apiaryio/api-blueprint/blob/master/API%20Blueprint%20Specification.md#def-uriparameters-section
But following definition is parsed without any warning or error
Valid definition should be
+ page (optional, enum[number])
original definition should generate warning likeURI parameter section for primitive types does not allows member section definition