FORMAT: 1A
HOST: http://example.com
# Example API
# Group Test
## Order Collection [/example]
### GET
+ Response 200 (application/json)
+ Attributes (EnumTest)
# Data Structures
## EnumTest (object)
+ `valueType`: date (enum[string], fixed) -
+ `date` - 'Represents a date/time'
+ `double` - Represents a floating point value
+ `integer` - Represents a whole number
+ `money` - Represents a floating point number greater than 0 and two decimal places
+ `string` - Represents a series of characters
+ `boolean` - Represents a true/false value
+ `databound` - Represents an object
Issue 1
Wrong warning "duplicit value in enumeration". Entries inherit fixed and are therefore all string literal types, differentiated on type level via their content.
Issue 2
Drafter drops the description of the first element, Represents a date/time.
Perhaps because of incorrect interpretation of enum[string], fixed,
perhaps independent parser issue (notice trailing dash on line +valueType: date (enum[string], fixed) -.
Issue 1
Wrong warning "duplicit value in enumeration". Entries inherit
fixed
and are therefore all string literal types, differentiated on type level via their content.Issue 2
Drafter drops the description of the first element,
Represents a date/time
.enum[string], fixed
,+
valueType: date (enum[string], fixed) -
.