Change code generator (#4)

* Change code generator
* Remove gin
This commit is contained in:
Jonas Plum
2022-01-08 00:48:44 +01:00
committed by GitHub
parent b5dd0cfacd
commit 8333ea88a8
148 changed files with 3077 additions and 23976 deletions

View File

@@ -563,10 +563,7 @@
"content" : {
"application/json" : {
"schema" : {
"items" : {
"$ref" : "#/components/schemas/PlaybookTemplateResponse"
},
"type" : "array"
"$ref" : "#/components/schemas/PlaybookTemplateResponse"
}
},
"test" : {
@@ -815,7 +812,7 @@
"application/json" : {
"schema" : {
"items" : {
"$ref" : "#/components/schemas/TaskResponse"
"$ref" : "#/components/schemas/TaskWithContext"
},
"type" : "array"
}
@@ -1375,7 +1372,7 @@
"content" : {
"application/json" : {
"schema" : {
"$ref" : "#/components/schemas/TicketResponse"
"$ref" : "#/components/schemas/TicketWithTickets"
}
},
"test" : {
@@ -1459,7 +1456,7 @@
"content" : {
"application/json" : {
"schema" : {
"$ref" : "#/components/schemas/TicketResponse"
"$ref" : "#/components/schemas/TicketWithTickets"
}
},
"test" : {
@@ -1546,7 +1543,7 @@
"content" : {
"application/json" : {
"schema" : {
"$ref" : "#/components/schemas/TicketResponse"
"$ref" : "#/components/schemas/TicketWithTickets"
}
},
"test" : {
@@ -1757,7 +1754,7 @@
"content" : {
"application/json" : {
"schema" : {
"$ref" : "#/components/schemas/TicketResponse"
"$ref" : "#/components/schemas/TicketWithTickets"
}
},
"test" : {
@@ -2013,7 +2010,7 @@
"content" : {
"application/json" : {
"schema" : {
"$ref" : "#/components/schemas/TicketResponse"
"$ref" : "#/components/schemas/TicketWithTickets"
}
},
"test" : {
@@ -2230,7 +2227,7 @@
"content" : {
"application/json" : {
"schema" : {
"$ref" : "#/components/schemas/Artifact"
"$ref" : "#/components/schemas/TicketWithTickets"
}
},
"test" : {
@@ -2492,7 +2489,7 @@
"content" : {
"application/json" : {
"schema" : {
"$ref" : "#/components/schemas/TicketResponse"
"$ref" : "#/components/schemas/TicketWithTickets"
}
},
"test" : {
@@ -2583,7 +2580,7 @@
"content" : {
"application/json" : {
"schema" : {
"$ref" : "#/components/schemas/TicketResponse"
"$ref" : "#/components/schemas/TicketWithTickets"
}
},
"test" : {
@@ -2796,7 +2793,7 @@
"content" : {
"application/json" : {
"schema" : {
"$ref" : "#/components/schemas/TicketResponse"
"$ref" : "#/components/schemas/TicketWithTickets"
}
},
"test" : {
@@ -2887,7 +2884,7 @@
"content" : {
"application/json" : {
"schema" : {
"$ref" : "#/components/schemas/TicketResponse"
"$ref" : "#/components/schemas/TicketWithTickets"
}
},
"test" : {
@@ -2988,6 +2985,9 @@
"description" : "successful operation"
}
},
"security" : [ {
"roles" : [ "ticket:write" ]
} ],
"summary" : "Add a new ticket playbook",
"tags" : [ "tickets" ],
"x-codegen-request-body-name" : "playbook"
@@ -3021,7 +3021,7 @@
"content" : {
"application/json" : {
"schema" : {
"$ref" : "#/components/schemas/TicketResponse"
"$ref" : "#/components/schemas/TicketWithTickets"
}
},
"test" : {
@@ -3115,7 +3115,7 @@
"content" : {
"application/json" : {
"schema" : {
"$ref" : "#/components/schemas/TicketResponse"
"$ref" : "#/components/schemas/TicketWithTickets"
}
},
"test" : {
@@ -3346,7 +3346,7 @@
"content" : {
"application/json" : {
"schema" : {
"$ref" : "#/components/schemas/TicketResponse"
"$ref" : "#/components/schemas/TicketWithTickets"
}
},
"test" : {
@@ -3608,7 +3608,7 @@
"content" : {
"application/json" : {
"schema" : {
"$ref" : "#/components/schemas/TicketResponse"
"$ref" : "#/components/schemas/TicketWithTickets"
}
},
"test" : {
@@ -3682,14 +3682,14 @@
}
},
"description" : "New ticket schema",
"required" : false
"required" : true
},
"responses" : {
"200" : {
"content" : {
"application/json" : {
"schema" : {
"$ref" : "#/components/schemas/TicketResponse"
"$ref" : "#/components/schemas/TicketWithTickets"
}
},
"test" : {
@@ -3777,7 +3777,7 @@
"content" : {
"application/json" : {
"schema" : {
"$ref" : "#/components/schemas/TicketResponse"
"$ref" : "#/components/schemas/TicketWithTickets"
}
},
"test" : {
@@ -3843,7 +3843,7 @@
"content" : {
"application/json" : {
"schema" : {
"$ref" : "#/components/schemas/TicketResponse"
"$ref" : "#/components/schemas/TicketWithTickets"
}
},
"test" : {
@@ -4920,7 +4920,6 @@
"$ref" : "#/components/schemas/Context"
},
"payload" : {
"properties" : { },
"type" : "object"
},
"secrets" : {