Skip to content

ISO 8601 Durations #278

Description

@bernot-dev

Describe the bug
ISO 8601 durations were accidentally valid before #246 (although sometimes parsed incorrectly). Now they are rejected.

Steps to Reproduce

Validate an ISO 8601 duration, like P3Y6M4DT12H30M5S.

Expected behavior
ISO 8601 durations should be accepted and parsed correctly.

Actual behavior
ISO 8601 durations are rejected since #246, and potentially parsed incorrectly before then.

Additional context
The OpenAPI format registry refers to to RFC3339/ISO 8601 as the "official" spec.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions