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

View File

@@ -0,0 +1,18 @@
{
"properties": {
"id": {
"format": "int64",
"readOnly": true,
"type": "integer"
},
"title": {
"maxLength": 80,
"minLength": 2,
"type": "string"
}
},
"required": [
"title"
],
"type": "object"
}

View File

@@ -0,0 +1,12 @@
type: object
required:
- title
properties:
id:
type: integer
format: uint64
readOnly: true
title:
type: string
minLength: 2
maxLength: 80

View File

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

View File

@@ -0,0 +1,30 @@
---
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": "item2.yaml"