mirror of
https://github.com/mudler/LocalAI.git
synced 2026-11-06 04:23:15 -05:00
docs(api): regenerate the swagger files
The add-on host operation result gained deniedRequired and deniedOptional without a regenerated schema. Output of `make swagger`. Assisted-by: Claude:claude-sonnet-5-5 swag
This commit is contained in:
3 files changed
+39
No files matched your search
@@ -17292,6 +17292,19 @@ const docTemplate = `{
|
||||
"hostops.RequestSummary": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"deniedOptional": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"deniedRequired": {
|
||||
"description": "DeniedRequired and DeniedOptional are the missing operations that a deny\nrule forbids. They are also listed in the Missing lists. An operation\nthat is denied can never be approved, so a caller reads this to tell\n\"ask the administrator to approve\" from \"blocked by policy\".",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"granted": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
|
||||
@@ -17289,6 +17289,19 @@
|
||||
"hostops.RequestSummary": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"deniedOptional": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"deniedRequired": {
|
||||
"description": "DeniedRequired and DeniedOptional are the missing operations that a deny\nrule forbids. They are also listed in the Missing lists. An operation\nthat is denied can never be approved, so a caller reads this to tell\n\"ask the administrator to approve\" from \"blocked by policy\".",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"granted": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
|
||||
@@ -2024,6 +2024,19 @@ definitions:
|
||||
type: object
|
||||
hostops.RequestSummary:
|
||||
properties:
|
||||
deniedOptional:
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
deniedRequired:
|
||||
description: |-
|
||||
DeniedRequired and DeniedOptional are the missing operations that a deny
|
||||
rule forbids. They are also listed in the Missing lists. An operation
|
||||
that is denied can never be approved, so a caller reads this to tell
|
||||
"ask the administrator to approve" from "blocked by policy".
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
granted:
|
||||
items:
|
||||
type: string
|
||||
|
||||
Reference in new issue
Block a user