Skip to content

Commit

Permalink
Stripped "excerpt" and "plaintext" from API v2 schema
Browse files Browse the repository at this point in the history
no issue

- exceprt -> virtual field
- plaintext -> generated field
  • Loading branch information
kirrg001 committed Feb 26, 2019
1 parent 5a52336 commit 90aef4f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions core/server/api/v2/utils/validators/input/schemas/pages.json
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,12 @@
},
"primary_author": {
"strip": true
},
"excerpt": {
"strip": true
},
"plaintext": {
"strip": true
}
}
},
Expand Down
6 changes: 6 additions & 0 deletions core/server/api/v2/utils/validators/input/schemas/posts.json
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,12 @@
},
"primary_author": {
"strip": true
},
"excerpt": {
"strip": true
},
"plaintext": {
"strip": true
}
}
},
Expand Down

0 comments on commit 90aef4f

Please sign in to comment.