All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.api.tools.framework.importers.swagger.testdata.array_model.json Maven / Gradle / Ivy

{
    "swagger": "2.0",
    "info": {
      "title": "Google Example Library API",
      "description": "A simple Google Example Library API.",
      "version": "v1"
    },
    "host": "library-example.cloud.goog",
     "paths": {
        "/v1/pets/{name}": {
            "post": {
                "operationId": "simpleMethod",
                "parameters": [
                    {
                        "name": "name",
                        "in": "path",
                        "type": "string"
                    }
                ],
                "responses": {
                    "default": {
                        "description": "successful operation",
                        "schema": {
                                "$ref": "#/definitions/SimpleDef"
                        }
                    }
                }
            }
        }
    },
    "definitions": {
        "SimpleDef": {
            "type" : "object",
            "properties": {
               "arrayObject": {
                   "$ref": "#/definitions/SimpleDefArray"
               }
            }
        },
        "SimpleDefArray": {
            "type" : "array",
            "items" : {
                "type": "string"
           }
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy