summaryrefslogtreecommitdiffstats
path: root/swagger.v1.json
diff options
context:
space:
mode:
authorCyborus <cyborus@cyborus.xyz>2024-04-26 19:34:08 +0200
committerCyborus <cyborus@cyborus.xyz>2024-04-26 19:36:13 +0200
commitfd0c22a1c61d9ddf8d30d3ab2a1a96592ca49ee1 (patch)
tree97c10078fb4068d7dbe398af1f55439bd589baab /swagger.v1.json
parentMerge pull request 'format swagger file' (#49) from fmt-swagger into main (diff)
downloadforgejo-api-fd0c22a1c61d9ddf8d30d3ab2a1a96592ca49ee1.tar.xz
forgejo-api-fd0c22a1c61d9ddf8d30d3ab2a1a96592ca49ee1.zip
add `CreateHookOptionConfig` required properties as fields
Diffstat (limited to 'swagger.v1.json')
-rw-r--r--swagger.v1.json9
1 files changed, 9 insertions, 0 deletions
diff --git a/swagger.v1.json b/swagger.v1.json
index ae371d0..052fafe 100644
--- a/swagger.v1.json
+++ b/swagger.v1.json
@@ -16942,9 +16942,18 @@
"CreateHookOptionConfig": {
"description": "CreateHookOptionConfig has all config options in it\nrequired are \"content_type\" and \"url\" Required",
"type": "object",
+ "required": ["content_type", "url"],
"additionalProperties": {
"type": "string"
},
+ "properties": {
+ "content_type": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ }
+ },
"x-go-package": "code.gitea.io/gitea/modules/structs"
},
"CreateIssueCommentOption": {