Add generated file
This PR adds generated files under pkg/client and vendor folder.
This commit is contained in:
18
vendor/github.com/go-openapi/spec/fixtures/local_expansion/item.json
generated
vendored
Normal file
18
vendor/github.com/go-openapi/spec/fixtures/local_expansion/item.json
generated
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"properties": {
|
||||
"id": {
|
||||
"format": "int64",
|
||||
"readOnly": true,
|
||||
"type": "integer"
|
||||
},
|
||||
"title": {
|
||||
"maxLength": 80,
|
||||
"minLength": 2,
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"title"
|
||||
],
|
||||
"type": "object"
|
||||
}
|
12
vendor/github.com/go-openapi/spec/fixtures/local_expansion/item2.yaml
generated
vendored
Normal file
12
vendor/github.com/go-openapi/spec/fixtures/local_expansion/item2.yaml
generated
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
type: object
|
||||
required:
|
||||
- title
|
||||
properties:
|
||||
id:
|
||||
type: integer
|
||||
format: uint64
|
||||
readOnly: true
|
||||
title:
|
||||
type: string
|
||||
minLength: 2
|
||||
maxLength: 80
|
46
vendor/github.com/go-openapi/spec/fixtures/local_expansion/spec.json
generated
vendored
Normal file
46
vendor/github.com/go-openapi/spec/fixtures/local_expansion/spec.json
generated
vendored
Normal 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"
|
||||
}
|
30
vendor/github.com/go-openapi/spec/fixtures/local_expansion/spec2.yaml
generated
vendored
Normal file
30
vendor/github.com/go-openapi/spec/fixtures/local_expansion/spec2.yaml
generated
vendored
Normal 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"
|
Reference in New Issue
Block a user