Skip to content

[v4.1.1] Areas not working as expected #1771

Open
@michanismus

Description

@michanismus

I use this bundle with API Platform bundle.
I followed the documentation on https://symfony.com/doc/4.x/bundles/NelmioApiDocBundle/areas.html

My config:

nelmio_api_doc:
    areas:
        store:
            path_patterns: [ ^/store-api ]
        default:
            path_patterns: [ ^/customer-sale-api ]

The route is defined as /api/doc/{area}.

The doc for /api/doc only shows tags with path pattern defined in default. Everything is fine.

The store area shows tags from store and default area but should only show store tags.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions