Nelmioapidocbundle: @Model Naming

Created on 12 Apr 2018  路  1Comment  路  Source: nelmio/NelmioApiDocBundle

I'm trying to name a Model specificate.

An exmaple:

/**
* @SWG\Response(
*     description="Successfully created",
*     response="201",
*     @Model(type=Folder::class, groups={"folder_detail"}, definition="Folder_Detail")
* )
*/

So in ApiDoc the response Model is named "Folder_Detail" and not "Folder3". Is something like this included in the project?

Most helpful comment

I think it's will be a good feature.
I have many entities with same name (ex. User, User2, User3), i want to have ability to rename this models to Login, Registration, Profile.

>All comments

I think it's will be a good feature.
I have many entities with same name (ex. User, User2, User3), i want to have ability to rename this models to Login, Registration, Profile.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

smuralidharan picture smuralidharan  路  3Comments

alxfv picture alxfv  路  5Comments

jhkchan picture jhkchan  路  4Comments

timotheemoulin picture timotheemoulin  路  5Comments

manseuk picture manseuk  路  6Comments