Skip to content

The path of "@OA\Get(" is wrong in "bin/cake bake controller HogeHoges —prefix api". #5

@yuki-yasumura

Description

@yuki-yasumura

It seems that baking the controller with bake does not generate the expected comments if prefixes are present.

I feel it is a bug and will report it.

path is path="//.json". But I wont to path="/api/HogeHoges/index.json"

ex)

* @OA\Get(
     *     path="//.json",
     *     summary="HogeHoges index",
     *     description="HogeHoges index",
     *     @OA\Parameter(
     *         name="page",
     *         in="query",
     *         required=false,
     *         @OA\Schema(
     *             type="number",
     *         ),

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions