danielgtaylor / aglio

An API Blueprint renderer with theme support that outputs static HTML
4.75k stars 480 forks source link

parameter mock value can not contain “-” #307

Closed ustory closed 7 years ago

ustory commented 7 years ago

origin doc

display doc checkIn string (required) Example: 2016 10-08 - checkin date checkOut string (required) Example: 2016 10-10 - checkout date

the first “-” used to separate parameter mock value and parameter description,so mock value can not contain “-”

kylef commented 7 years ago

You will need to escape your values:

+ Parameters
    + checkIn: `2016-10-08` - checkin date
    + checkOut: `2016-10-10` - checkout date
ustory commented 7 years ago

have solve this issue,thanks!