refactor: Reduce zb binary size (#1783)

Signed-off-by: Alexei Dodon <adodon@cisco.com>
This commit is contained in:
Alexei Dodon
2023-09-13 10:28:14 +03:00
committed by GitHub
parent 98ab43f6ef
commit 48bf7f69f8
17 changed files with 243 additions and 152 deletions
+8 -8
View File
@@ -1146,7 +1146,7 @@ const docTemplate = `{
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/api.ImageTags"
"$ref": "#/definitions/common.ImageTags"
}
},
"400": {
@@ -1280,13 +1280,10 @@ const docTemplate = `{
}
}
},
"api.ImageTags": {
"api.RepositoryList": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"tags": {
"repositories": {
"type": "array",
"items": {
"type": "string"
@@ -1294,10 +1291,13 @@ const docTemplate = `{
}
}
},
"api.RepositoryList": {
"common.ImageTags": {
"type": "object",
"properties": {
"repositories": {
"name": {
"type": "string"
},
"tags": {
"type": "array",
"items": {
"type": "string"