Add deprecated annotation in kotlin-spring (#5090)

* add Deprecated in kotlin dataClass

* add deprecated in CodegenProperty

* format (Column limit: 100)

* set property.deprecated

* add test

* run ./bin/kotlin-springboot-petstore-all.sh

* trim space
This commit is contained in:
Yutaka.Miyamae
2020-01-29 17:30:33 +09:00
committed by GitHub
parent 1ac0f141a6
commit 8214460ec5
7 changed files with 88 additions and 16 deletions

View File

@@ -1 +1 @@
4.2.1-SNAPSHOT
4.2.3-SNAPSHOT

View File

@@ -16,10 +16,10 @@ import io.swagger.annotations.ApiModelProperty
/**
* A pet for sale in the pet store
* @param id
* @param category
* @param name
* @param photoUrls
* @param id
* @param category
* @param tags
* @param status pet status in the store
*/