{
  "swagger": "2.0",
  "info": {
    "title": "",
    "version": "",
    "description": ""
  },
  "paths": {
    "/posts/{id}": {
      "get": {
        "responses": {
          "200": {
            "description": "OK",
            "headers": {},
            "examples": {
              "application/json": [
                {
                  "id": 42,
                  "text": "Hello World",
                  "author": {
                    "name": "Boba Fett",
                    "email": "fett@intergalactic.com"
                  },
                  "editors": [
                    {
                      "name": "Lando Calrissian",
                      "email": "lando@intergalactic.com"
                    }
                  ]
                }
              ]
            },
            "schema": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "number"
                  },
                  "text": {
                    "type": "string"
                  },
                  "author": {
                    "type": "object",
                    "properties": {
                      "name": {
                        "type": "string"
                      },
                      "email": {
                        "type": "string"
                      }
                    },
                    "additionalProperties": false,
                    "description": "Author of the blog post."
                  },
                  "editors": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "name": {
                          "type": "string"
                        },
                        "email": {
                          "type": "string"
                        }
                      }
                    }
                  }
                },
                "required": [
                  "id"
                ]
              }
            }
          }
        },
        "summary": "Retrieve A Post",
        "description": "",
        "tags": [],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "x-example": "12345",
            "type": "string"
          }
        ],
        "produces": [
          "application/json"
        ]
      }
    },
    "/posts": {
      "post": {
        "responses": {
          "200": {
            "description": "OK",
            "headers": {},
            "examples": {}
          }
        },
        "summary": "Create Post",
        "description": "",
        "tags": [],
        "parameters": [
          {
            "name": "body",
            "in": "body",
            "schema": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "number"
                },
                "text": {
                  "type": "string"
                },
                "author": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "type": "string"
                    },
                    "email": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": false,
                  "description": "Author of the blog post."
                },
                "editors": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "name": {
                        "type": "string"
                      },
                      "email": {
                        "type": "string"
                      }
                    }
                  }
                }
              },
              "required": [
                "id",
                "text",
                "author",
                "editors"
              ],
              "additionalProperties": false,
              "example": {
                "id": 42,
                "text": "Hello World",
                "author": {
                  "name": "Boba Fett",
                  "email": "fett@intergalactic.com"
                },
                "editors": [
                  {
                    "name": "Lando Calrissian",
                    "email": "lando@intergalactic.com"
                  }
                ]
              }
            }
          }
        ]
      }
    }
  },
  "definitions": {
    "Blog Post": {},
    "Create Blog Posts": {},
    "BlogPost": {
      "type": "object",
      "required": [
        "id"
      ],
      "properties": {
        "id": {
          "type": "number"
        },
        "text": {
          "type": "string"
        },
        "author": {
          "$ref": "#/definitions/Author",
          "description": "Author of the blog post."
        },
        "editors": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/Editors"
          }
        }
      }
    },
    "Author": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "email": {
          "type": "string"
        }
      }
    },
    "Editors": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "email": {
          "type": "string"
        }
      }
    }
  },
  "securityDefinitions": {},
  "tags": []
}