danielgtaylor / aglio

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

URI Parameters problem #316

Closed killdada closed 7 years ago

killdada commented 7 years ago

URI Parameters is not required but show required

1 2 3

lephuongbg commented 7 years ago

That is because "required" is the default if we don't specify anything. Refer to the spec here: https://github.com/apiaryio/api-blueprint/blob/master/API%20Blueprint%20Specification.md#def-uriparameters-section

kylef commented 7 years ago

Yes that's correct. If you want optional for a parameter you'd need to explicitly specify this.