Skip to content

Commit f6a73f5

Browse files
localai-botmudler
andauthored
feat(swagger): update swagger (#9872)
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: mudler <2420543+mudler@users.noreply.github.com>
1 parent 24e04d8 commit f6a73f5

3 files changed

Lines changed: 64 additions & 0 deletions

File tree

swagger/docs.go

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2946,6 +2946,30 @@ const docTemplate = `{
29462946
},
29472947
"url": {
29482948
"type": "string"
2949+
},
2950+
"verification": {
2951+
"$ref": "#/definitions/config.GalleryVerification"
2952+
}
2953+
}
2954+
},
2955+
"config.GalleryVerification": {
2956+
"type": "object",
2957+
"properties": {
2958+
"identity": {
2959+
"type": "string"
2960+
},
2961+
"identity_regex": {
2962+
"type": "string"
2963+
},
2964+
"issuer": {
2965+
"type": "string"
2966+
},
2967+
"issuer_regex": {
2968+
"type": "string"
2969+
},
2970+
"not_before": {
2971+
"description": "NotBefore is an RFC3339 timestamp. Empty disables the time check.",
2972+
"type": "string"
29492973
}
29502974
}
29512975
},

swagger/swagger.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2943,6 +2943,30 @@
29432943
},
29442944
"url": {
29452945
"type": "string"
2946+
},
2947+
"verification": {
2948+
"$ref": "#/definitions/config.GalleryVerification"
2949+
}
2950+
}
2951+
},
2952+
"config.GalleryVerification": {
2953+
"type": "object",
2954+
"properties": {
2955+
"identity": {
2956+
"type": "string"
2957+
},
2958+
"identity_regex": {
2959+
"type": "string"
2960+
},
2961+
"issuer": {
2962+
"type": "string"
2963+
},
2964+
"issuer_regex": {
2965+
"type": "string"
2966+
},
2967+
"not_before": {
2968+
"description": "NotBefore is an RFC3339 timestamp. Empty disables the time check.",
2969+
"type": "string"
29462970
}
29472971
}
29482972
},

swagger/swagger.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,22 @@ definitions:
66
type: string
77
url:
88
type: string
9+
verification:
10+
$ref: '#/definitions/config.GalleryVerification'
11+
type: object
12+
config.GalleryVerification:
13+
properties:
14+
identity:
15+
type: string
16+
identity_regex:
17+
type: string
18+
issuer:
19+
type: string
20+
issuer_regex:
21+
type: string
22+
not_before:
23+
description: NotBefore is an RFC3339 timestamp. Empty disables the time check.
24+
type: string
925
type: object
1026
functions.Function:
1127
properties:

0 commit comments

Comments
 (0)