-01 towering building a stage, the primary foundation - Chapter 3 registered user login module development -3-8 display optimization Swagger2

The whole left side is in English

Ignore api


HelloController also ignore the

restart api service, refresh the page. Only the passport of the Controller

to the passport interfaces add comments.

Restart the service, and to refresh the page



point to open inside the link address

The method of transformation

ApiOperations contains a lot of property

if the designated Method, then there must be capitalized if the



user is set to POST


userBO optimization











It indicates whether the current property is required of

any write a value, let the other see here what kind of value can fill.

name and the name field will remain the same.

Username is mandatory



Run the test

Since the modified BO is a sub-project in pojo, it is necessary to install maven install.


Rerun the API project

 

End

 

Guess you like

Origin www.cnblogs.com/wangjunwei/p/12081686.html