docfx
docfx copied to clipboard
REST API: Issue overwriting a parameter "description" in a swagger operation
When overwriting a parameter "description", all parameters get the new description
Here is an example
...
"parameters": [
{
"name": "db",
"in": "path",
"description": "",
"required": true,
"type": "integer",
"format": "int32"
},
{
"name": "accountKey",
"in": "query",
"description": "",
"required": true,
"type": "string"
}
],~
...
And the the overwrite md
---
uid: my-uid
summary: a summary
parameters:
- name: db
description: The database number
- name: accountKey
description: The account key
---
And here is the result

Yes this is indeed an issue, we fixed it by #825
@hellosnow Thank you very much.
The fix will be released at version 2.6.4