Add generated file

This PR adds generated files under pkg/client and vendor folder.
This commit is contained in:
xing-yang
2018-07-12 10:55:15 -07:00
parent 36b1de0341
commit e213d1890d
17729 changed files with 5090889 additions and 0 deletions

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,23 @@
{
"item": {
"type": "object",
"required": [
"title"
],
"properties": {
"id": {
"type": "integer",
"format": "uint64",
"readOnly": true
},
"title": {
"type": "string",
"minLength": 2,
"maxLength": 80
},
"subitem": {
"$ref": "item.json#/item"
}
}
}
}

View File

@@ -0,0 +1,23 @@
{
"item": {
"type": "object",
"required": [
"title"
],
"properties": {
"id": {
"type": "integer",
"format": "uint64",
"readOnly": true
},
"title": {
"type": "string",
"minLength": 2,
"maxLength": 80
},
"subitem": {
"$ref": "#/item"
}
}
}
}

View File

@@ -0,0 +1,23 @@
{
"item": {
"type": "object",
"required": [
"title"
],
"properties": {
"id": {
"type": "integer",
"format": "uint64",
"readOnly": true
},
"title": {
"type": "string",
"minLength": 2,
"maxLength": 80
},
"subitem": {
"$ref": "item4.json#/item"
}
}
}
}

View File

@@ -0,0 +1,57 @@
{
"swagger": "2.0",
"info": {
"title": "Item API",
"description": "Item API",
"version": "1.0.0"
},
"host": "item.api.local",
"basePath": "/v1",
"securityDefinitions": {
"key": {
"type": "apiKey",
"name": "x-item-token",
"in": "header"
}
},
"security": [
{
"key": []
}
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"schemes": [
"http"
],
"responses": {
"itemResponse": {
"description": "Item",
"schema": {
"$ref": "item.json#/item"
}
}
},
"paths": {
"/item": {
"get": {
"operationId": "GetItem",
"responses": {
"200": {
"description": "item detail response",
"schema": {
"$ref": "item.json#/item"
}
},
"default": {
"$ref": "#/responses/itemResponse"
}
}
}
}
}
}

View File

@@ -0,0 +1,57 @@
{
"swagger": "2.0",
"info": {
"title": "Item API",
"description": "Item API",
"version": "1.0.0"
},
"host": "item.api.local",
"basePath": "/v1",
"securityDefinitions": {
"key": {
"type": "apiKey",
"name": "x-item-token",
"in": "header"
}
},
"security": [
{
"key": []
}
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"schemes": [
"http"
],
"responses": {
"itemResponse": {
"description": "Item",
"schema": {
"$ref": "item2.json#/item"
}
}
},
"paths": {
"/item": {
"get": {
"operationId": "GetItem",
"responses": {
"200": {
"description": "item detail response",
"schema": {
"$ref": "item2.json#/item"
}
},
"default": {
"$ref": "#/responses/itemResponse"
}
}
}
}
}
}

View File

@@ -0,0 +1,51 @@
{
"swagger": "2.0",
"info": {
"title": "Item API",
"description": "Item API",
"version": "1.0.0"
},
"host": "item.api.local",
"basePath": "/v1",
"securityDefinitions": {
"key": {
"type": "apiKey",
"name": "x-item-token",
"in": "header"
}
},
"security": [
{
"key": []
}
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"schemes": [
"http"
],
"paths": {
"/item": {
"get": {
"operationId": "GetItem",
"responses": {
"200": {
"description": "item detail response",
"schema": {
"$ref": "#/definitions/myItems"
}
}
}
}
}
},
"definitions": {
"myItems": {
"$ref": "item.json#/item"
}
}
}

View File

@@ -0,0 +1,59 @@
{
"swagger": "2.0",
"info": {
"title": "Item API",
"description": "Item API",
"version": "1.0.0"
},
"host": "item.api.local",
"basePath": "/v1",
"securityDefinitions": {
"key": {
"type": "apiKey",
"name": "x-item-token",
"in": "header"
}
},
"security": [
{
"key": []
}
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"schemes": [
"http"
],
"parameters": {
"itemParameter": {
"description": "Item",
"schema": {
"$ref": "item4.json#/item"
}
}
},
"paths": {
"/item": {
"get": {
"operationId": "GetItem",
"parameters": [
{
"$ref": "#/parameters/itemParameter"
}
],
"responses": {
"200": {
"description": "item detail response",
"schema": {
"$ref": "item4.json#/item"
}
}
}
}
}
}
}