danielgtaylor / danielgtaylor/aglio

HTML generation error for param that start with "template_"

Open
#294 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
CoffeeScript
Stars
4.7k
Forks
471
PR merge metrics
No merged PRs in 30d

Description

Our API has a query parameter that starts with "template_"; this causes the HTML generation to fail. Example output herein and apiary.apib source file attached.

aglio -i apiary.apib -o apiary.html

> > Line 3939: parameter 'template_name (string, optional, `sequencing_file_info`) ... The unique `template_name` of the template; performs an exact match.' not specified in 'View All Object Metadata' its '/meta/{object_kind}/{object_id}{?template_name}' URI template (warning code 8)
> > Context
> > ...

```
+ Response 204

## View All Object Metadata [/meta/{object_kind}/{object_id}{?template_name}]
```

> > > > - Parameters
> > > > + object_kind (string, required, `dds-file`) ... The kind of object.
> > > > + object_id (string, required, `b80a2679-f6bf-46da-acaa-b7a4582b1eda`) ... The unique id of the object.
> > > > + template_name (string, optional, `sequencing_file_info`) ... The unique `template_name` of the template; performs an exact match.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.