You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

14 lines
388 B

Merging of traits got a bit of an overhaul in 3.0.4/5.
By default traits annotations are now inherited via `allOf`. This is done by the `InheritTraits` processor.
If this is not working for you this processor can be swapped for the `MergeTraits` (this used to be the default).
<?php
/**
* @OA\Info(
* version="1.0.0",
* title="Example of using traits in swagger-php",
* )
*/