Merge pull request #57087 from luksa/trailing_commas_test_swagger_json

Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Remove trailing commas from test-swagger.json

Trailing commas are not allowed in JSON. Commas are only allowed between values. See http://www.json.org/

**What this PR does / why we need it**:
Fixes invalid JSON in test-swagger.json

**Release note**:
```release-note
NONE
```
pull/6/head
Kubernetes Submit Queue 2018-02-21 09:51:26 -08:00 committed by GitHub
commit 2b530438f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 6 deletions

View File

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