Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
chriskapp committed Nov 15, 2017
1 parent 7fe8fe0 commit 724a8f4
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 25 deletions.
36 changes: 18 additions & 18 deletions tests/Api/Generator/resource/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"openapi": "3.0.0",
"info": {
"title": "PSX",
"version": "0"
"version": "1"
},
"servers": [
{
Expand Down Expand Up @@ -73,23 +73,6 @@
},
"components": {
"schemas": {
"Collection": {
"type": "object",
"title": "collection",
"description": "Collection result",
"properties": {
"totalResults": {
"type": "integer"
},
"entry": {
"type": "array",
"items": {
"$ref": "#\/components\/schemas\/Entity"
}
}
},
"class": "PSX\\Project\\Tests\\Model\\Collection"
},
"Entity": {
"type": "object",
"title": "entity",
Expand Down Expand Up @@ -139,6 +122,23 @@
],
"class": "PSX\\Project\\Tests\\Model\\Entity"
},
"Collection": {
"type": "object",
"title": "collection",
"description": "Collection result",
"properties": {
"totalResults": {
"type": "integer"
},
"entry": {
"type": "array",
"items": {
"$ref": "#\/components\/schemas\/Entity"
}
}
},
"class": "PSX\\Project\\Tests\\Model\\Collection"
},
"Message": {
"type": "object",
"title": "message",
Expand Down
2 changes: 1 addition & 1 deletion tests/Api/Generator/resource/openapi_collection.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"openapi": "3.0.0",
"info": {
"title": "PSX",
"version": "0"
"version": "1"
},
"servers": [
{
Expand Down
4 changes: 2 additions & 2 deletions tests/Api/Generator/resource/raml.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#%RAML 1.0
---
baseUri: 'http://127.0.0.1/'
version: v0
title: '127.0.0.1 API'
version: v1
title: PSX
/population/popo:
description: 'Collection endpoint'
get:
Expand Down
4 changes: 2 additions & 2 deletions tests/Api/Generator/resource/raml_collection.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#%RAML 1.0
---
baseUri: 'http://127.0.0.1/'
version: v0
title: '127.0.0.1 API'
version: v1
title: PSX
/population/popo:
description: 'Collection endpoint'
get:
Expand Down
2 changes: 1 addition & 1 deletion tests/Api/Generator/resource/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"swagger": "2.0",
"info": {
"title": "PSX",
"version": "0"
"version": "1"
},
"host": "127.0.0.1",
"basePath": "\/",
Expand Down
2 changes: 1 addition & 1 deletion tests/Api/Generator/resource/swagger_collection.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"swagger": "2.0",
"info": {
"title": "PSX",
"version": "0"
"version": "1"
},
"host": "127.0.0.1",
"basePath": "\/",
Expand Down

0 comments on commit 724a8f4

Please sign in to comment.