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 * Groovy: @victorgit
* Go: @wing328 * Go: @wing328
* Go (rewritten in 2.3.0): @antihax * Go (rewritten in 2.3.0): @antihax
* Haskell (http-client): @jonschoning
* Java (Feign): @davidkiss * Java (Feign): @davidkiss
* Java (Retrofit): @0legg * Java (Retrofit): @0legg
* Java (Retrofit2): @emilianobonassi * Java (Retrofit2): @emilianobonassi

View File

@ -898,35 +898,6 @@ paths:
responses: responses:
'200': '200':
description: successful operation 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: /fake/inline-additionalProperties:
post: post:
tags: tags:
@ -971,7 +942,6 @@ paths:
description: successful operation description: successful operation
schema: schema:
$ref: '#/definitions/Client' $ref: '#/definitions/Client'
securityDefinitions: securityDefinitions:
petstore_auth: petstore_auth:
type: oauth2 type: oauth2
@ -1010,7 +980,7 @@ definitions:
type: string type: string
description: Order Status description: Order Status
enum: enum:
- placedtest - placed
- approved - approved
- delivered - delivered
complete: complete: