我想为现有的一组RESTful API构建Swagger文档.我有以下要求:
到目前为止使用上面的插件我能够实现第1点.所以对于现有的REST方法:
/**
* <p>
* Gets the {@link DisplayPreferenceModel} with the name as provided in the parameter. The preference with the given name defined at the tenant or master level is returned.
* This API gives us the preference if it is eligible for unauthorized access If it is not eligible it throws an Exception saying Authorization required.
* </p>
* @param preferenceName
* - The name of the preference.
* @return {@link …Run Code Online (Sandbox Code Playgroud)