Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I've update the bundle and I am getting the error below(Argument #2 ($area) must be of type string) #2193

Open
LeikoDmitry opened this issue Jan 18, 2024 · 0 comments

Comments

@LeikoDmitry
Copy link

LeikoDmitry commented Jan 18, 2024

Nelmio\ApiDocBundle\Render\RenderOpenApi::render(): Argument #2 ($area) must be of type string, null given, called in /app/vendor/nelmio/api-doc-bundle/Render/RenderOpenApi.php on line 61

My config file

nelmio_api_doc:
    documentation:
        servers:
            - url: https://localhost
              description: This is just default server
        info:
            title: Publisher API
            description: This is an awesome app!
            version: 1.0.0
        components:
            securitySchemes:
                Bearer:
                    type: http
                    scheme: bearer
                    bearerFormat: JWT
        security:
            - Bearer: []
                
    areas:
        path_patterns:
            - ^/api/v1
@LeikoDmitry LeikoDmitry changed the title I've update the bundle and I am getting the error below I've update the bundle and I am getting the error below(Argument #2 ($area) must be of type string) Jan 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant