Helen,
Gladly. Here it is:
"inline_response_GET_XXX": {
"type": "object",
"properties": {
"data": {
"type": "array",
"items": {
"type": "object",
"properties": {
"content_status": {
"type": "string",
"description": "There are several values that may appear here.",
"example": "captured."
},
"content_url": {
"type": "string",
"description": "The URL of the node.",
"example": "https://www.massis.com/aboutus.html"
},
"content_url_hash": {
"type": "string",
"description": "The hash of the URL of the node.",
"example": 4467086592462243000
},
"context_url": {
"type": "string",
"description": "The URL of the node from which the node was spidered.",
"example": "www.massis.com"
},
"total_num_blocks": {
"type": "integer",
"description": "The total number of blocks in this node.",
"example": 4
},
"total_num_words": {
"type": "integer",
"description": "The total number of words in this node.",
"example": 4
}
},
"type": "object",
"properties": {
"label": {
"type": "string",
"description": "A label for the node.",
"example": "aboutus.html"
},
"my_num_blocks": {
"type": "integer",
"description": "The number of blocks in this node.",
"example": 4
},
"my_num_words": {
"type": "integer",
"description": "The number of words in this node.",
"example": 4
},
},
},
"total_word_count": {
"type": "integer",
"description": "The total number of words spidered on this node. This value includes words captured on child nodes.",
"example": 34
}
}
},
The duplicated mapping key error shows up at the third
"type": "object",
Perhaps Swagger thinks that I am trying to create a multi-dimensional array?
Thanks,
Kevin