Skip to content

Undefined array key "owl:maxCardinality" #5913

Description

@Aerendir

API Platform version(s) affected: 3.2.0
Nelmio/ApiDocBundle: 4.12.0

Description

The documentation cannot be generated and generates this error:

Caused by
ErrorException: Undefined array key "owl:maxCardinality"

/srv/app/vendor/nelmio/api-doc-bundle/OpenApiPhp/Util.php:412
/srv/app/vendor/symfony/framework-bundle/Test/BrowserKitAssertionsTrait.php:33
/srv/app/tests/App/api/ApiDocRouteTest.php:27

With

  • ApiPlatform 3.1.21
  • Nelmio/ApiDocBundle: 4.12.0

All works well.

I don't know if it's a ApiDocBundle's fault or one of ApiPlatform/core's, but, as ApiDocBundle is working well with ApiPlatform/core 3.1.19, I'm posting the issue here.

I opened an issue on ApiDocBundle, but closed it as the most recent release is of ApiPlatform.

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