Skip to content

Commit

Permalink
Fix docs & bumped version to 1.0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
dekelev committed Aug 25, 2018
1 parent d4685a6 commit 3a89a77
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,13 +79,12 @@ class User extends Model {
static get jsonSchema() {
return {
type: 'object',
required: ['firstName', 'lastName', 'todoId'],
required: ['firstName', 'lastName'],

properties: {
id: { type: 'integer' },
firstName: { type: 'string', maxLength: 45 },
lastName: { type: 'string', maxLength: 45 },
todoId: { type: 'integer' },
status: { type: 'string', enum: ['active', 'disabled'], default: 'active' },
},
};
Expand Down

0 comments on commit 3a89a77

Please sign in to comment.