Skip to content
This repository was archived by the owner on Mar 16, 2025. It is now read-only.
This repository was archived by the owner on Mar 16, 2025. It is now read-only.

option to disable jackson Access? #89

@hauner

Description

@hauner

@JsonProperty(...., access = JsonProperty.Access.READ_ONLY)

I have a case where a model class is deserialized, processed, and then (unmodified) serialized again before it is delivered to the client. This breaks when a property is defined as readOnly in the openapi description.

  • disable Access in this case ?
  • manually duplicate the object ?
  • any clever jackson trick?
  • remove readOnly

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions