Показаны сообщения с ярлыком api-platform. Показать все сообщения
Показаны сообщения с ярлыком api-platform. Показать все сообщения

четверг, 20 октября 2022 г.

[NelmioApiDocBundle] how to register models without annotations or attributes?

config/packages/nelmio_api_doc.yaml:

```

nelmio_api_doc:

    models:

        use_jms: true

        names:

            - { alias: ExamType, type: StudentBundle\Form\ExamType }

            - { alias: User, type: App\Entity\User }

            - { alias: Pager, type: ApiBundle\Model\Pager }

``` 

понедельник, 30 апреля 2018 г.

How to fix "the system cannot find the file specified. (code: 2)" and "unable to evaluate symlinks in Dockerfile"

If you receive "unable to evaluate symlinks in Dockerfile path" or "windows named pipe error: the system cannot find the file specified. (code: 2)" errors on Docker for Windows, enable Hyper-V in "turn on or off windows features" app and restart the computer.