aglio icon indicating copy to clipboard operation
aglio copied to clipboard

Example URI error

Open sangar82 opened this issue 9 years ago • 6 comments

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 avatar Jun 01 '16 09:06 sangar82

Same #170?

sangar82 avatar Jun 01 '16 09:06 sangar82

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

sangar82 avatar Jun 01 '16 09:06 sangar82

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)?

esseti avatar Jun 15 '16 08:06 esseti

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

earnaway avatar Oct 03 '16 11:10 earnaway

ping @danielgtaylor

sangar82 avatar Oct 03 '16 12:10 sangar82

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?

jackbentley avatar Mar 03 '17 23:03 jackbentley