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

@@ -795,10 +795,7 @@
"content" : {
"application/json" : {
"schema" : {
"items" : {
"$ref" : "#/components/schemas/PlaybookTemplateResponse"
},
"type" : "array"
"$ref" : "#/components/schemas/PlaybookTemplateResponse"
}
},
"test" : {
@@ -1245,7 +1242,7 @@
"application/json" : {
"schema" : {
"items" : {
"$ref" : "#/components/schemas/TaskResponse"
"$ref" : "#/components/schemas/TaskWithContext"
},
"type" : "array"
}
@@ -1805,7 +1802,7 @@
"content" : {
"application/json" : {
"schema" : {
"$ref" : "#/components/schemas/TicketResponse"
"$ref" : "#/components/schemas/TicketWithTickets"
}
},
"test" : {
@@ -1889,7 +1886,7 @@
"content" : {
"application/json" : {
"schema" : {
"$ref" : "#/components/schemas/TicketResponse"
"$ref" : "#/components/schemas/TicketWithTickets"
}
},
"test" : {
@@ -1976,7 +1973,7 @@
"content" : {
"application/json" : {
"schema" : {
"$ref" : "#/components/schemas/TicketResponse"
"$ref" : "#/components/schemas/TicketWithTickets"
}
},
"test" : {
@@ -2187,7 +2184,7 @@
"content" : {
"application/json" : {
"schema" : {
"$ref" : "#/components/schemas/TicketResponse"
"$ref" : "#/components/schemas/TicketWithTickets"
}
},
"test" : {
@@ -2443,7 +2440,7 @@
"content" : {
"application/json" : {
"schema" : {
"$ref" : "#/components/schemas/TicketResponse"
"$ref" : "#/components/schemas/TicketWithTickets"
}
},
"test" : {
@@ -2660,7 +2657,7 @@
"content" : {
"application/json" : {
"schema" : {
"$ref" : "#/components/schemas/Artifact"
"$ref" : "#/components/schemas/TicketWithTickets"
}
},
"test" : {
@@ -2922,7 +2919,7 @@
"content" : {
"application/json" : {
"schema" : {
"$ref" : "#/components/schemas/TicketResponse"
"$ref" : "#/components/schemas/TicketWithTickets"
}
},
"test" : {
@@ -3013,7 +3010,7 @@
"content" : {
"application/json" : {
"schema" : {
"$ref" : "#/components/schemas/TicketResponse"
"$ref" : "#/components/schemas/TicketWithTickets"
}
},
"test" : {
@@ -3226,7 +3223,7 @@
"content" : {
"application/json" : {
"schema" : {
"$ref" : "#/components/schemas/TicketResponse"
"$ref" : "#/components/schemas/TicketWithTickets"
}
},
"test" : {
@@ -3317,7 +3314,7 @@
"content" : {
"application/json" : {
"schema" : {
"$ref" : "#/components/schemas/TicketResponse"
"$ref" : "#/components/schemas/TicketWithTickets"
}
},
"test" : {
@@ -3418,6 +3415,9 @@
"description" : "successful operation"
}
},
"security" : [ {
"roles" : [ "ticket:write" ]
} ],
"summary" : "Add a new ticket playbook",
"tags" : [ "tickets" ],
"x-codegen-request-body-name" : "playbook"
@@ -3451,7 +3451,7 @@
"content" : {
"application/json" : {
"schema" : {
"$ref" : "#/components/schemas/TicketResponse"
"$ref" : "#/components/schemas/TicketWithTickets"
}
},
"test" : {
@@ -3545,7 +3545,7 @@
"content" : {
"application/json" : {
"schema" : {
"$ref" : "#/components/schemas/TicketResponse"
"$ref" : "#/components/schemas/TicketWithTickets"
}
},
"test" : {
@@ -3776,7 +3776,7 @@
"content" : {
"application/json" : {
"schema" : {
"$ref" : "#/components/schemas/TicketResponse"
"$ref" : "#/components/schemas/TicketWithTickets"
}
},
"test" : {
@@ -4038,7 +4038,7 @@
"content" : {
"application/json" : {
"schema" : {
"$ref" : "#/components/schemas/TicketResponse"
"$ref" : "#/components/schemas/TicketWithTickets"
}
},
"test" : {
@@ -4112,14 +4112,14 @@
}
},
"description" : "New ticket schema",
"required" : false
"required" : true
},
"responses" : {
"200" : {
"content" : {
"application/json" : {
"schema" : {
"$ref" : "#/components/schemas/TicketResponse"
"$ref" : "#/components/schemas/TicketWithTickets"
}
},
"test" : {
@@ -4207,7 +4207,7 @@
"content" : {
"application/json" : {
"schema" : {
"$ref" : "#/components/schemas/TicketResponse"
"$ref" : "#/components/schemas/TicketWithTickets"
}
},
"test" : {
@@ -4273,7 +4273,7 @@
"content" : {
"application/json" : {
"schema" : {
"$ref" : "#/components/schemas/TicketResponse"
"$ref" : "#/components/schemas/TicketWithTickets"
}
},
"test" : {
@@ -5433,7 +5433,6 @@
"$ref" : "#/components/schemas/Context"
},
"payload" : {
"properties" : { },
"type" : "object"
},
"secrets" : {