revert changes to fakes yaml (#6758)

* revert changes to fakes yaml

the yaml currently includes invalid definitions that do not exist: ('#/definitions/xmlObject').
revert to known good yaml state.

* update template creators
This commit is contained in:
Jon Schoning 2017-10-19 22:06:28 -05:00 committed by wing328
parent 8a5c361c1a
commit d0ec683a86
2 changed files with 3 additions and 32 deletions

View File

@ -970,6 +970,7 @@ Here is a list of template creators:
* Groovy: @victorgit
* Go: @wing328
* Go (rewritten in 2.3.0): @antihax
* Haskell (http-client): @jonschoning
* Java (Feign): @davidkiss
* Java (Retrofit): @0legg
* Java (Retrofit2): @emilianobonassi

View File

@ -898,35 +898,6 @@ paths:
responses:
'200':
description: successful operation
/fake/xmlFeatures:
get:
summary: Get some XML
operationId: getXmlFeatures
produces:
- application/xml
consumes:
- application/xml
responses:
200:
description: Success
schema:
$ref: '#/definitions/xmlObject'
post:
parameters:
- name: xmlObject
in: body
required: true
schema:
$ref: '#/definitions/xmlObject'
summary: Post some xml
operationId: postXmlFeatures
produces:
- application/xml
consumes:
- application/xml
responses:
200:
description: Success
/fake/inline-additionalProperties:
post:
tags:
@ -971,7 +942,6 @@ paths:
description: successful operation
schema:
$ref: '#/definitions/Client'
securityDefinitions:
petstore_auth:
type: oauth2
@ -987,7 +957,7 @@ securityDefinitions:
api_key_query:
type: apiKey
name: api_key_query
in: query
in: query
http_basic_test:
type: basic
definitions:
@ -1010,7 +980,7 @@ definitions:
type: string
description: Order Status
enum:
- placedtest
- placed
- approved
- delivered
complete: