Skip to content

[BUG] Jackson Deserializer for java.time types isn't RFC3339 compliant #19921

@beikov

Description

@beikov

Bug Report Checklist

  • Have you provided a full/minimal spec to reproduce the issue?
  • Have you validated the input using an OpenAPI validator (example)?
  • Have you tested with the latest master to confirm the issue still exists?
  • Have you searched for related issues/PRs?
  • What's the actual output vs expected output?
  • [Optional] Sponsorship to speed up the bug fix or feature request (example)
Description

When parsing a java.time type with Jackson and the value is not in ISO8601 format (which is a subset of RFC3339), a parsing error occurs. The Jackson configuration in generated projects misses certain aspects.

openapi-generator version

7.10-SNAPSHOT

Suggest a fix

See #19925

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions