Search code examples
apiary

Can Apiary create an anchor on a response object


I have a request that returns different 200 responses depending on the parameters passed in. I would like to link directly to a specific response. The responses are structured like so:

+ Response 200 (application/json) <--- Anchor 1


    [
        {
            Response 1
        }
    ]

+ Response 200 (application/json) <--- Anchor 2

    [
        {
            Response 2
        }
    ]

+ Response 200 (application/json) <--- Anchor 3

    [
        {
            Response 3
        }
    ]

Is it possible to add an anchor to the responses so I can link to the responses directly?


Solution

  • I think you might be looking for something like this, https://github.com/apiaryio/api-blueprint/issues/58#issuecomment-98200102.

    Please be aware that the feature is not yet available but is planned soon.

    Thanks.