danielgtaylor / aglio

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

Example URI error #266

Open sangar82 opened 8 years ago

sangar82 commented 8 years ago

I try to show configuration_name in the example URI

# Group Number1
Test 1

## Something [POST /something/{?configuration%5Fname,message}]
Text 2

+ Parameters

    + configuration%5Fname (required, string, `configuration_1`) ... Configuration name
    + message (required, string, `The message to send`) ... The message to send

+ Response 200 (application/json)

captura de pantalla 2016-06-01 a las 11 26 07

Why the configuration_name is not showed?

sangar82 commented 8 years ago

Same #170?

sangar82 commented 8 years ago

My API are full of uri parameters with underscores...

esseti commented 8 years ago

same here.

parameter 'subject_id (required, string, `e00084ef-b6f7-42131-9863-d35b99543389`) ... String `id`  the `subject_type` identifier.' not specified in its '/perms/{action}/{resource_type}/{subject_type}/{subject_id}' URI template (warning code 8)
>> Context
       ...

       ## /perms/{action}/{resource_type}/{subject_type}/{subject_id}

>>>>   + Parameters
           + action (required, string, `grant`) ... String can be `grant` or `revoke`.
           + resource_type (required, string, `user_schemas`) ... String `name` of the `Resource`.
           + subject_type (required, string, `users`) ... String can be `users` or `groups`.
           + subject_id (required, string, `e00084ef-b6f7-42131-9863-d35b99543389`) ... String `id`  the `subject_type` identifier.

any guess on how to fix it (without rewriting everything)?

earnaway commented 8 years ago

Anyone found a solution to this issue with the underscores yet?

sangar82 commented 8 years ago

ping @danielgtaylor

jackbentley commented 7 years ago

Looks like this in issue with upstream apiaryio/Drafter that's been fixed now as of 3.2.3. A re-install to get latest apiaryio/Protagonist etc should fix it?