You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've use v2.0 Swagger-php
When you have trait, that you want to annotate, you receive error:
Trying to get property of non-object
// Merge unmerged @SWG\Property annotations into the @SWG\Definition of the class$unmergedProperties = $analysis->unmerged()->getAnnotationsOfType('\Swagger\Annotations\Property');
foreach ($unmergedPropertiesas$property) {
$classContext = $property->_context->with('class');
if ($classContext->annotations) { // <------- This line$definition = false;
Is there's ability to Define trait?
The text was updated successfully, but these errors were encountered:
I've use v2.0 Swagger-php
When you have trait, that you want to annotate, you receive error:
Is there's ability to Define trait?
The text was updated successfully, but these errors were encountered: