diff --git a/components/examples/budget.json b/components/examples/budget.json index f1fb3410..7ba04cf9 100644 --- a/components/examples/budget.json +++ b/components/examples/budget.json @@ -8,6 +8,7 @@ "id": 3, "name": "Morpheus" }, + "forecastType": null, "enabled": true, "refScope": "tenant", "refType": "Account", diff --git a/components/examples/budgetCreateSuccess.json b/components/examples/budgetCreateSuccess.json index 2921d400..ec739f45 100644 --- a/components/examples/budgetCreateSuccess.json +++ b/components/examples/budgetCreateSuccess.json @@ -8,6 +8,7 @@ "id": 3, "name": "Morpheus" }, + "forecastType": null, "enabled": true, "refScope": "tenant", "refType": "Account", diff --git a/components/examples/budgets.json b/components/examples/budgets.json index 728fadf3..179eb836 100644 --- a/components/examples/budgets.json +++ b/components/examples/budgets.json @@ -8,6 +8,7 @@ "id": 3, "name": "Morpheus" }, + "forecastType": null, "enabled": true, "refScope": "tenant", "refType": "Account", @@ -58,6 +59,7 @@ "id": 3, "name": "Morpheus" }, + "forecastType": null, "enabled": true, "refScope": "user", "refType": "User", diff --git a/components/schemas/budget.yaml b/components/schemas/budget.yaml index 09fa7995..ff93bddf 100644 --- a/components/schemas/budget.yaml +++ b/components/schemas/budget.yaml @@ -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: diff --git a/paths/api@budgets.yaml b/paths/api@budgets.yaml index 243cd520..ae88bdc5 100644 --- a/paths/api@budgets.yaml +++ b/paths/api@budgets.yaml @@ -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 diff --git a/paths/api@budgets@id.yaml b/paths/api@budgets@id.yaml index ccde6eb3..0f4f351d 100644 --- a/paths/api@budgets@id.yaml +++ b/paths/api@budgets@id.yaml @@ -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