Skip to content

Commit

Permalink
updated swagger docs
Browse files Browse the repository at this point in the history
  • Loading branch information
runabol committed Sep 13, 2023
1 parent f2ed8b9 commit e1e80d9
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ Start Tork in `standalone` or `coordinator` mode.
go run cmd/main.go run standalone
```

Server the Swagger Docs
Serve the Swagger Docs

```shell
docker compose up -d swagger
Expand Down
31 changes: 31 additions & 0 deletions docs/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,9 @@
"name": {
"type": "string"
},
"registry": {
"$ref": "#/definitions/input.Registry"
},
"run": {
"type": "string"
},
Expand Down Expand Up @@ -428,6 +431,17 @@
}
}
},
"input.Registry": {
"type": "object",
"properties": {
"password": {
"type": "string"
},
"username": {
"type": "string"
}
}
},
"input.Retry": {
"type": "object",
"required": [
Expand Down Expand Up @@ -546,6 +560,9 @@
"queue": {
"type": "string"
},
"registry": {
"$ref": "#/definitions/input.Registry"
},
"retry": {
"$ref": "#/definitions/input.Retry"
},
Expand Down Expand Up @@ -813,6 +830,17 @@
}
}
},
"tork.Registry": {
"type": "object",
"properties": {
"password": {
"type": "string"
},
"username": {
"type": "string"
}
}
},
"tork.SubJobTask": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -938,6 +966,9 @@
"queue": {
"type": "string"
},
"registry": {
"$ref": "#/definitions/tork.Registry"
},
"result": {
"type": "string"
},
Expand Down

0 comments on commit e1e80d9

Please sign in to comment.