Skip to content
Snippets Groups Projects
Commit 76b71403 authored by Yves Adler's avatar Yves Adler
Browse files

feat: add 'possibleNextStatus' to destination (planning#287)

parent 485944d5
No related branches found
No related tags found
No related merge requests found
......@@ -19,6 +19,8 @@ Don’t forget to tag @ https://git.fitko.de/fit-connect/submission-api/-/tags
## Unreleased
* Erweiterung des destination Schemas um `possibleNextStatus`, welches die aktuell möglichen nächsten Zustände des Zustellpunktes zurückgibt ([planning#287](https://git.fitko.de/fit-connect/planning/-/issues/287)).
## [1.12.0]
### Added
......
type: array
items:
$ref: './destination-status.yaml'
minItems: 0
description: Eine Liste von möglichen nächsten Status des Zustellpunktes, ausgehend vom aktuellen Zustand des Zustellpunktes. Eine Beschreibung der Status finden Sie in den Detailinformationen unter [Zustellpunktverwaltung](https://docs.fitko.de/fit-connect/docs/details/destination-management).
......@@ -34,15 +34,9 @@ properties:
items:
$ref: './destination-service.yaml'
status:
type: string
enum:
- created
- active
- inactive
- decommissioned
description: >
Status des Zustellpunktes.
Eine Beschreibung der Status finden Sie in den Detailinformationen unter [Zustellpunktverwaltung](https://docs.fitko.de/fit-connect/docs/details/destination-management).
$ref: './destination-status.yaml'
possibleNextStatus:
$ref: './destination-possible-next-status.yaml'
name:
$ref: './destination-name.yaml'
contactInformation:
......
......@@ -34,12 +34,4 @@ properties:
items:
$ref: './destination-service.yaml'
status:
type: string
enum:
- created
- active
- inactive
- decommissioned
description: >
Status des Zustellpunktes.
Eine Beschreibung der Status finden Sie in den Detailinformationen unter [Zustellpunktverwaltung](https://docs.fitko.de/fit-connect/docs/details/destination-management).
$ref: './destination-status.yaml'
type: string
enum:
- created
- active
- inactive
- decommissioned
description: Status des Zustellpunktes. Eine Beschreibung der Status finden Sie in den Detailinformationen unter [Zustellpunktverwaltung](https://docs.fitko.de/fit-connect/docs/details/destination-management).
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment