我有一个API蓝图,它是这样的:
## Organization Users [/organizations/{id}/Users]
+ Parameters
+ id (string, required) - path variable, id of the organization.
some text was here.
### Get Org Users [GET]
some text was here.
+ Request (application/json)当我用类似于:
aglio --theme-variables streak -i AppServices/Organizations.apib -o Build/AppServices.html我得到的输出如下:

注意,路径变量根本不存在。
其他事实:
发布于 2017-04-04 05:32:35
凯尔·富勒(https://github.com/kylef)回答了我关于Aglio's github问题的问题:
参数部分的意图是错误的,因此显示为原始的标记描述。
我想你想要的是:
## Organization Users [/organizations/{id}/Users]
+ Parameters
+ id (string, required) - path variable, id of the organization.
some text was here.
### Get Org Users [GET]
some text was here.
+ Request (application/json)https://stackoverflow.com/questions/43084514
复制相似问题