forked from loafle/openapi-generator-original
[PHP-SYMFONY] Support BackedEnum for enum ref (16846) (#16847)
* [PHP-SYMFONY] Support BackedEnum for enumm ref (16846) * [PHP-SYMFONY] Support BackedEnum for enumm ref (16846) * [PHP-SYMFONY] Support BackedEnum for enumm ref (16846) * [PHP-SYMFONY] Support BackedEnum for enumm ref (16846) * [PHP-SYMFONY] Support BackedEnum for enum ref (16846) * [PHP-SYMFONY] Support BackedEnum for enum ref (16846) * [PHP-SYMFONY] Support BackedEnum for enum ref (16846)
This commit is contained in:
@@ -31,6 +31,7 @@ namespace OpenAPI\Server\Model;
|
||||
|
||||
use Symfony\Component\Validator\Constraints as Assert;
|
||||
use JMS\Serializer\Annotation\Type;
|
||||
use JMS\Serializer\Annotation\Accessor;
|
||||
use JMS\Serializer\Annotation\SerializedName;
|
||||
|
||||
/**
|
||||
@@ -121,6 +122,8 @@ class Order
|
||||
return $this->id;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Sets id.
|
||||
*
|
||||
@@ -145,6 +148,8 @@ class Order
|
||||
return $this->petId;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Sets petId.
|
||||
*
|
||||
@@ -169,6 +174,8 @@ class Order
|
||||
return $this->quantity;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Sets quantity.
|
||||
*
|
||||
@@ -193,6 +200,8 @@ class Order
|
||||
return $this->shipDate;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Sets shipDate.
|
||||
*
|
||||
@@ -217,6 +226,8 @@ class Order
|
||||
return $this->status;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Sets status.
|
||||
*
|
||||
@@ -241,6 +252,8 @@ class Order
|
||||
return $this->complete;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Sets complete.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user