Reference URL:
How did you build the web frontend Mock Server?
1:swagger-ui
Required String parameter is not present : A required parameter, if not passed, spring will return 400 directly ; http://blog.csdn.net/smile_juan/article/details/8592707
<h1>HTTP Status 405 - Request method 'GET' not supported</h1>
Post is required, but the request uses get
swagger + spring mvc 配置:http://www.jianshu.com/p/f76d2c421422?utm_campaign=maleskine
swagger + JAX-RS configuration: http://blog.csdn.net/chuchus/article/details/45026351
https://github.com/swagger-api/swagger-samples swagger supported languages
java-servlet;java-spring-boot;java-jaxrs;
2: apizza.cc interface management tool
apizza.cc official website: support team collaboration, support display history, support environment variables, export documents, support Mock testing;
For mock usage, see: Using Mock.js for back-end-independent front-end development official website
Produced by the Alibaba front-end team, with complete Chinese documents and video tutorials, support for automatic generation of interface documents, automatic testing, version management, api copying, mobile