Remove trailing commas from test-swagger.json

Trailing commas are not allowed in JSON.
This commit is contained in:
Marko Luksa 2017-12-05 14:46:04 +01:00
parent b97e17603b
commit 2dd8aec34e

View File

@ -12,7 +12,7 @@
"OneKind": { "OneKind": {
"description": "OneKind has a short description", "description": "OneKind has a short description",
"required": [ "required": [
"field1", "field1"
], ],
"properties": { "properties": {
"field1": { "field1": {
@ -42,23 +42,23 @@
"OtherKind": { "OtherKind": {
"description": "This is another kind of Kind", "description": "This is another kind of Kind",
"required": [ "required": [
"string", "string"
], ],
"properties": { "properties": {
"string": { "string": {
"description": "This string must be a string", "description": "This string must be a string",
"type": "string", "type": "string"
}, },
"int": { "int": {
"description": "This int must be an int", "description": "This int must be an int",
"type": "integer", "type": "integer"
}, },
"array": { "array": {
"description": "This array must be an array of int", "description": "This array must be an array of int",
"type": "array", "type": "array",
"items": { "items": {
"description": "This is an int in an array", "description": "This is an int in an array",
"type": "integer", "type": "integer"
} }
}, },
"object": { "object": {
@ -66,7 +66,7 @@
"type": "object", "type": "object",
"additionalProperties": { "additionalProperties": {
"description": "this is a string in an object", "description": "this is a string in an object",
"type": "string", "type": "string"
} }
}, },
"primitive": { "primitive": {