Webapi project, then is there any tool can automatically generate the interface documentation, then we can put it on the server directly call interface, but the document page requires permissions control, landing allowed people to see, or through what means of control, not anyone can see the interface documents????? My side can access, direct operating various webapi, a man without permission not ~ ~ ~ attention to operation, are automatically generated webapi interface list page ~ ~ ~ ~ now are implemented by swagger UI, but don't know how to control permissions ~
CodePudding user response:
Sigh, no one to answer, under the help of?? This how to thinking can also be a little ha ~ ~ ~
CodePudding user response:
I also in this research, I Q1851669614
CodePudding user response:
https://www.cnblogs.com/adawoo/p/8349598.html
CodePudding user response:
When you visit the above is not a key?
Access interface automatically when will take the key to.
So you only judge any request in the request (" key ") is equal to your default.