Skip to content

Commit

Permalink
fix dumping script, update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
krustowski committed Oct 22, 2024
1 parent 20f5e72 commit 28e3212
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

APP_NAME=swis-api
APP_ROOT=/opt/${APP_NAME}
APP_VERSION=5.18.0
APP_VERSION=5.18.1


#
Expand Down
14 changes: 7 additions & 7 deletions api/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"name": "MIT",
"url": "https://github.com/vxn-dev/swis-api/blob/master/LICENSE"
},
"version": "5.18.0"
"version": "5.18.1"
},
"host": "swis-api-run-prod:8050",
"basePath": "/",
Expand Down Expand Up @@ -4931,22 +4931,22 @@
"properties": {
"domains": {
"description": "Domains linked to such infrastructure.",
"type": "array",
"items": {
"type": "object",
"additionalProperties": {
"$ref": "#/definitions/pkg_infra.Domain"
}
},
"hosts": {
"description": "Hosts/nodes linked to such infrastructure.",
"type": "array",
"items": {
"type": "object",
"additionalProperties": {
"$ref": "#/definitions/pkg_infra.Host"
}
},
"networks": {
"description": "Networks linked to such infrastructure.",
"type": "array",
"items": {
"type": "object",
"additionalProperties": {
"$ref": "#/definitions/pkg_infra.Network"
}
}
Expand Down
2 changes: 1 addition & 1 deletion cmd/swis-api/main.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// @title swis-api (swapi) v5
// @version 5.18.0
// @version 5.18.1
// @description sakalWeb Information System v5 RESTful API documentation
// @termsOfService http://swagger.io/terms/

Expand Down
18 changes: 9 additions & 9 deletions scripts/dump_prod_data.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,20 +54,20 @@ function dump_generic {

declare -a paths=(
"/alvax"
"/backups/"
"/business/"
"/backups"
"/business"
"/depots/items"
"/dish/"
"/dish"

"/finance/"
"/infra/"
"/links/"
"/finance"
"/infra"
"/links"
"/news/sources"
"/projects/"
"/projects"

"/queue/tasks"
"/roles/"
"/users/"
"/roles"
"/users"
)
declare -a files=(
"/alvax_configs.json"
Expand Down

0 comments on commit 28e3212

Please sign in to comment.