Regenerate hashCode, equals, toString (#4648)

* update hashCode, equals, toString in CodegenParameter

* update equals, hashCode, toString in CodegenProperty

* update toString, hashCode, equals in CodegenOperation

* update toString, hashCode, equals in CodegenResponse

* update toString, hashCode, equals in CodegenSecurity

* update hashCode, toString, equals in CodegenModel

* add hashCode, toString, equals to CodegenServer and more

* update hashCode, equals, toString in CodegenDiscriminator

* update testS

* update samples
This commit is contained in:
William Cheng
2019-12-04 10:07:33 +08:00
committed by GitHub
parent 06ba8317f9
commit e774db05b6
12 changed files with 827 additions and 850 deletions

View File

@@ -43,15 +43,6 @@ use OpenAPI\Server\Model\Pet;
interface PetApiInterface
{
/**
* Sets authentication method petstore_auth
*
* @param string $value Value of the petstore_auth authentication method.
*
* @return void
*/
public function setpetstore_auth($value);
/**
* Sets authentication method api_key
*
@@ -61,6 +52,15 @@ interface PetApiInterface
*/
public function setapi_key($value);
/**
* Sets authentication method petstore_auth
*
* @param string $value Value of the petstore_auth authentication method.
*
* @return void
*/
public function setpetstore_auth($value);
/**
* Operation addPet
*