com.google.api.tools.framework.importers.swagger.testdata.array_type_missing_items.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": {
"post": {
"operationId": "simpleMethod",
"parameters": [
],
"responses": {
"default": {
"description": "successful operation",
"schema": {
"$ref": "#/definitions/simpleDef"
}
}
}
}
}
},
"definitions": {
"simpleDef": {
"properties": {
"myArray": {
"type": "array"
}
}
}
},
"securityDefinitions": {
"api_key": {
"type": "apiKey",
"name": "key",
"in": "query"
}
},
"security": [{
"api_key": []
}]
}