<code> section not being recognized

时间:2018-09-18 19:27:36

标签: c#

I have a code block in my XML comments -

    /// <code>
    /// {
    /// "partner": "1a",
    /// "subscriber": "E1",
    /// "ids": [
    ///     {
    ///         "id": [
    ///         "4ea333ae-740f-4afd-9d5e-3cfe898d8324"
    ///         ]
    ///     }
    ///   ]
    /// }
    /// </code>

This shows up in Swagger like so -

    {
    "partner": "1a",
    "subscriber": "E1",
    "ids": [
    {
    "id": [
    "4ea333ae-740f-4afd-9d5e-3cfe898d8324"
    ]
    }
    ]
    }

Is there a way for it to identify the indents I have specified in the code.

0 个答案:

没有答案