mirror of
https://github.com/GSA/notifications-api.git
synced 2026-09-11 02:23:32 -04:00
notify-api-412 use black to enforce python style standards
This commit is contained in:
@@ -7,9 +7,7 @@ get_all_template_request = {
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"description": "request schema for parameters allowed when getting all templates",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"type": {"enum": TEMPLATE_TYPES}
|
||||
},
|
||||
"properties": {"type": {"enum": TEMPLATE_TYPES}},
|
||||
"additionalProperties": False,
|
||||
}
|
||||
|
||||
@@ -20,14 +18,9 @@ get_all_template_response = {
|
||||
"properties": {
|
||||
"templates": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/template"
|
||||
}
|
||||
"items": {"type": "object", "$ref": "#/definitions/template"},
|
||||
}
|
||||
},
|
||||
"required": ["templates"],
|
||||
"definitions": {
|
||||
"template": template
|
||||
}
|
||||
"definitions": {"template": template},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user