我有一个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时aglio --theme-variables streak -i AppServices/Organizations.apib -o Build/AppServices.html
请注意,路径变量根本不存在。
其他事实:
答案 0 :(得分:0)
Kyle Fuller(https://github.com/kylef)回答了关于Aglio的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)