Skip to content

Commit

Permalink
revert changes to fakes yaml (#6758)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
jonschoning authored and wing328 committed Oct 20, 2017
1 parent 8a5c361 commit d0ec683
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 32 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -971,7 +942,6 @@ paths:
description: successful operation
schema:
$ref: '#/definitions/Client'

securityDefinitions:
petstore_auth:
type: oauth2
Expand All @@ -987,7 +957,7 @@ securityDefinitions:
api_key_query:
type: apiKey
name: api_key_query
in: query
in: query
http_basic_test:
type: basic
definitions:
Expand All @@ -1010,7 +980,7 @@ definitions:
type: string
description: Order Status
enum:
- placedtest
- placed
- approved
- delivered
complete:
Expand Down

0 comments on commit d0ec683

Please sign in to comment.