mirror of
https://github.com/block/goose.git
synced 2026-04-29 20:19:41 +00:00
feat: auto-initialize goose config.yaml (#2102)
This commit is contained in:
parent
5cc608dd03
commit
a3deeef05a
7 changed files with 131 additions and 2 deletions
|
|
@ -173,6 +173,29 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"/config/init": {
|
||||
"post": {
|
||||
"tags": [
|
||||
"super::routes::config_management"
|
||||
],
|
||||
"operationId": "init_config",
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "Config initialization check completed",
|
||||
"content": {
|
||||
"text/plain": {
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"500": {
|
||||
"description": "Internal server error"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/config/providers": {
|
||||
"get": {
|
||||
"tags": [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue