Skip to content

Commit

Permalink
Merge pull request #10 from fehguy/master
Browse files Browse the repository at this point in the history
added readOnly field
  • Loading branch information
fehguy committed Jun 17, 2014
2 parents 0861c3a + 7818a4d commit 52cb19a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions samples/v2.0/json/03-simple-model.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"id": {
"type": "integer",
"format": "int64",
"description": "the ID of the user"
"description": "the ID of the user",
"readOnly": true
},
"firstName": {
"type": "string"
Expand All @@ -24,7 +25,8 @@
"age": {
"type": "integer",
"format": "int32",
"min": 0
"min": 0,
"readOnly": true
},
"birthDate": {
"type": "string",
Expand Down

0 comments on commit 52cb19a

Please sign in to comment.