Skip to content

Setting Post output to false exception in React Admin on missing owl:Nothing reference #7624

@rvanlaak

Description

@rvanlaak

API Platform version(s) affected: 4.2.2

Description

With output: false on a Post operation on a resource the documentation points to owl:Nothing and that leads to a failure on the React Admin documentation parsing.

How to reproduce

Set Operation output to false. In my situation the input is a DTO command and messenger is set to true.

Possible Solution

This likely relates to \ApiPlatform\Hydra\Serializer\DocumentationNormalizer::getHydraOperation based on the $outputClass, and owl:Nothing not being defined in the documentation yet.

Additional Context

Image

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