Skip to content

Commit

Permalink
update spring samples
Browse files Browse the repository at this point in the history
  • Loading branch information
wing328 committed Nov 7, 2018
1 parent d19f32f commit 889de8a
Show file tree
Hide file tree
Showing 342 changed files with 1,055 additions and 1,055 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public Category id(Long id) {
/**
* Get id
* @return id
**/
*/
@ApiModelProperty(value = "")


Expand All @@ -48,7 +48,7 @@ public Category name(String name) {
/**
* Get name
* @return name
**/
*/
@ApiModelProperty(value = "")


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public ModelApiResponse code(Integer code) {
/**
* Get code
* @return code
**/
*/
@ApiModelProperty(value = "")


Expand All @@ -51,7 +51,7 @@ public ModelApiResponse type(String type) {
/**
* Get type
* @return type
**/
*/
@ApiModelProperty(value = "")


Expand All @@ -71,7 +71,7 @@ public ModelApiResponse message(String message) {
/**
* Get message
* @return message
**/
*/
@ApiModelProperty(value = "")


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public Order id(Long id) {
/**
* Get id
* @return id
**/
*/
@ApiModelProperty(value = "")


Expand All @@ -95,7 +95,7 @@ public Order petId(Long petId) {
/**
* Get petId
* @return petId
**/
*/
@ApiModelProperty(value = "")


Expand All @@ -115,7 +115,7 @@ public Order quantity(Integer quantity) {
/**
* Get quantity
* @return quantity
**/
*/
@ApiModelProperty(value = "")


Expand All @@ -135,7 +135,7 @@ public Order shipDate(OffsetDateTime shipDate) {
/**
* Get shipDate
* @return shipDate
**/
*/
@ApiModelProperty(value = "")

@Valid
Expand All @@ -156,7 +156,7 @@ public Order status(StatusEnum status) {
/**
* Order Status
* @return status
**/
*/
@ApiModelProperty(value = "Order Status")


Expand All @@ -176,7 +176,7 @@ public Order complete(Boolean complete) {
/**
* Get complete
* @return complete
**/
*/
@ApiModelProperty(value = "")


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public Pet id(Long id) {
/**
* Get id
* @return id
**/
*/
@ApiModelProperty(value = "")


Expand All @@ -100,7 +100,7 @@ public Pet category(Category category) {
/**
* Get category
* @return category
**/
*/
@ApiModelProperty(value = "")

@Valid
Expand All @@ -121,7 +121,7 @@ public Pet name(String name) {
/**
* Get name
* @return name
**/
*/
@ApiModelProperty(example = "doggie", required = true, value = "")
@NotNull

Expand All @@ -147,7 +147,7 @@ public Pet addPhotoUrlsItem(String photoUrlsItem) {
/**
* Get photoUrls
* @return photoUrls
**/
*/
@ApiModelProperty(required = true, value = "")
@NotNull

Expand Down Expand Up @@ -176,7 +176,7 @@ public Pet addTagsItem(Tag tagsItem) {
/**
* Get tags
* @return tags
**/
*/
@ApiModelProperty(value = "")

@Valid
Expand All @@ -197,7 +197,7 @@ public Pet status(StatusEnum status) {
/**
* pet status in the store
* @return status
**/
*/
@ApiModelProperty(value = "pet status in the store")


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public Tag id(Long id) {
/**
* Get id
* @return id
**/
*/
@ApiModelProperty(value = "")


Expand All @@ -48,7 +48,7 @@ public Tag name(String name) {
/**
* Get name
* @return name
**/
*/
@ApiModelProperty(value = "")


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public User id(Long id) {
/**
* Get id
* @return id
**/
*/
@ApiModelProperty(value = "")


Expand All @@ -66,7 +66,7 @@ public User username(String username) {
/**
* Get username
* @return username
**/
*/
@ApiModelProperty(value = "")


Expand All @@ -86,7 +86,7 @@ public User firstName(String firstName) {
/**
* Get firstName
* @return firstName
**/
*/
@ApiModelProperty(value = "")


Expand All @@ -106,7 +106,7 @@ public User lastName(String lastName) {
/**
* Get lastName
* @return lastName
**/
*/
@ApiModelProperty(value = "")


Expand All @@ -126,7 +126,7 @@ public User email(String email) {
/**
* Get email
* @return email
**/
*/
@ApiModelProperty(value = "")


Expand All @@ -146,7 +146,7 @@ public User password(String password) {
/**
* Get password
* @return password
**/
*/
@ApiModelProperty(value = "")


Expand All @@ -166,7 +166,7 @@ public User phone(String phone) {
/**
* Get phone
* @return phone
**/
*/
@ApiModelProperty(value = "")


Expand All @@ -186,7 +186,7 @@ public User userStatus(Integer userStatus) {
/**
* User Status
* @return userStatus
**/
*/
@ApiModelProperty(value = "User Status")


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public Category id(Long id) {
/**
* Get id
* @return id
**/
*/
@ApiModelProperty(value = "")


Expand All @@ -48,7 +48,7 @@ public Category name(String name) {
/**
* Get name
* @return name
**/
*/
@ApiModelProperty(value = "")


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public ModelApiResponse code(Integer code) {
/**
* Get code
* @return code
**/
*/
@ApiModelProperty(value = "")


Expand All @@ -51,7 +51,7 @@ public ModelApiResponse type(String type) {
/**
* Get type
* @return type
**/
*/
@ApiModelProperty(value = "")


Expand All @@ -71,7 +71,7 @@ public ModelApiResponse message(String message) {
/**
* Get message
* @return message
**/
*/
@ApiModelProperty(value = "")


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public Order id(Long id) {
/**
* Get id
* @return id
**/
*/
@ApiModelProperty(value = "")


Expand All @@ -95,7 +95,7 @@ public Order petId(Long petId) {
/**
* Get petId
* @return petId
**/
*/
@ApiModelProperty(value = "")


Expand All @@ -115,7 +115,7 @@ public Order quantity(Integer quantity) {
/**
* Get quantity
* @return quantity
**/
*/
@ApiModelProperty(value = "")


Expand All @@ -135,7 +135,7 @@ public Order shipDate(OffsetDateTime shipDate) {
/**
* Get shipDate
* @return shipDate
**/
*/
@ApiModelProperty(value = "")

@Valid
Expand All @@ -156,7 +156,7 @@ public Order status(StatusEnum status) {
/**
* Order Status
* @return status
**/
*/
@ApiModelProperty(value = "Order Status")


Expand All @@ -176,7 +176,7 @@ public Order complete(Boolean complete) {
/**
* Get complete
* @return complete
**/
*/
@ApiModelProperty(value = "")


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public Pet id(Long id) {
/**
* Get id
* @return id
**/
*/
@ApiModelProperty(value = "")


Expand All @@ -100,7 +100,7 @@ public Pet category(Category category) {
/**
* Get category
* @return category
**/
*/
@ApiModelProperty(value = "")

@Valid
Expand All @@ -121,7 +121,7 @@ public Pet name(String name) {
/**
* Get name
* @return name
**/
*/
@ApiModelProperty(example = "doggie", required = true, value = "")
@NotNull

Expand All @@ -147,7 +147,7 @@ public Pet addPhotoUrlsItem(String photoUrlsItem) {
/**
* Get photoUrls
* @return photoUrls
**/
*/
@ApiModelProperty(required = true, value = "")
@NotNull

Expand Down Expand Up @@ -176,7 +176,7 @@ public Pet addTagsItem(Tag tagsItem) {
/**
* Get tags
* @return tags
**/
*/
@ApiModelProperty(value = "")

@Valid
Expand All @@ -197,7 +197,7 @@ public Pet status(StatusEnum status) {
/**
* pet status in the store
* @return status
**/
*/
@ApiModelProperty(value = "pet status in the store")


Expand Down
Loading

0 comments on commit 889de8a

Please sign in to comment.