Skip to content

Commit

Permalink
Added budget forecastType
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesdickson6 committed May 7, 2024
1 parent 98fa3ab commit 9bff607
Show file tree
Hide file tree
Showing 6 changed files with 36 additions and 0 deletions.
1 change: 1 addition & 0 deletions components/examples/budget.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"id": 3,
"name": "Morpheus"
},
"forecastType": null,
"enabled": true,
"refScope": "tenant",
"refType": "Account",
Expand Down
1 change: 1 addition & 0 deletions components/examples/budgetCreateSuccess.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"id": 3,
"name": "Morpheus"
},
"forecastType": null,
"enabled": true,
"refScope": "tenant",
"refType": "Account",
Expand Down
2 changes: 2 additions & 0 deletions components/examples/budgets.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"id": 3,
"name": "Morpheus"
},
"forecastType": null,
"enabled": true,
"refScope": "tenant",
"refType": "Account",
Expand Down Expand Up @@ -58,6 +59,7 @@
"id": 3,
"name": "Morpheus"
},
"forecastType": null,
"enabled": true,
"refScope": "user",
"refType": "User",
Expand Down
10 changes: 10 additions & 0 deletions components/schemas/budget.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,16 @@ properties:
format: int64
name:
type: string
forecastType:
type: object
description: Forecast Model type
nullable: true
properties:
id:
type: integer
format: int64
name:
type: string
enabled:
type: boolean
refScope:
Expand Down
11 changes: 11 additions & 0 deletions paths/[email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,17 @@ post:
enabled:
type: boolean
default: true
forecastType:
type: object
description: Forecast Model
nullable: true
required:
- id
properties:
id:
type: integer
format: int64
description: The ID of the Forecast Model type. See GET /api/options/forecastTypes
responses:
'200':
description: Successful Request
Expand Down
11 changes: 11 additions & 0 deletions paths/api@[email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,17 @@ put:
enabled:
type: boolean
default: true
forecastType:
type: object
description: Forecast Model
nullable: true
required:
- id
properties:
id:
type: integer
format: int64
description: The ID of the Forecast Model type. See GET /api/options/forecastTypes
responses:
'200':
description: Successful Request
Expand Down

0 comments on commit 9bff607

Please sign in to comment.