Skip to content

Commit

Permalink
pkp/pkp-lib#5716 Fix errors in API docs
Browse files Browse the repository at this point in the history
  • Loading branch information
NateWr authored and withanage committed Dec 14, 2022
1 parent a38cc3f commit 4461c8a
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions docs/dev/swagger-source.json
Original file line number Diff line number Diff line change
Expand Up @@ -2957,13 +2957,6 @@
"required": false,
"type": "string"
},
{
"name": "isCustom",
"description": "Filter results by those with or without a default template. A truthy value will return only templates with a key that does not match one of the default templates. A falsey value will return only templates with a key that matches one of the default templates. Note that a default template may be customized, but this does not qualify for `isCustom`. Only completely custom templates, not a customization of a default template, will be returned when `isCustom` is `true`. If you want to see default templates that have been customized, use `isModified`.",
"in": "query",
"required": false,
"type": "boolean"
},
{
"name": "isModified",
"description": "Filter results by those that have been modified from the default template. This is different from `isCustom` because it will return custom templates alongside any default templates that have been modified.",
Expand All @@ -2983,7 +2976,7 @@
"description": "How many templates to return in a single request. Max is `100`.",
"in": "query",
"required": false,
"type": "type",
"type": "integer",
"default": 30
},
{
Expand All @@ -2992,7 +2985,7 @@
"in": "query",
"required": false,
"type": "integer"
},
}
],
"responses": {
"200": {
Expand Down

0 comments on commit 4461c8a

Please sign in to comment.