Skip to content

Allow lastStatusTime to be nullable #80

Description

@eric-murray

Problem description
lastStatusTime is required when the roaming status is returned, but some backend implementations do not include any clue as to the date when the roaming status they provide was last updated. Such implementations either have to use a "default" date, or be non-compliant by not providing a lastStatusTime value.

Possible evolution
Allow lastStatusTime to be nullable, so that null can be provided as a value when the implementation has no clue when the roaming status they provide was known to be correct. The API consumer must then decide for themselves whether the roaming status provided is of any value to them.

Alternative solution
The format for lastStatusTime could be removed, allowing arbitrary string values to be returned. But this makes OAS validation problematic, as any string would then be valid.

Additional context
Some other APIs are using the nullable property as a solution to this problem

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions