Skip to content

$ref property of path item object is not able to reference a file in the same domain.  #295

@RashmiRam

Description

@RashmiRam

The below piece of code is in swagger.json

"paths":{
    "/path/to/action":{
        "$ref":"http://same.domain.com/action_doc.json"
    }
}

references another file in the same domain.
As shown in the example here
https://github.com/swagger-api/swagger-spec/blob/master/fixtures/v2.0/json/resources/resourceWithLinkedDefinitions.json#L32

Any advise would be helpful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions