类的使用
springfox.documentation.builders.ResponseMessageBuilder
使用ResponseMessageBuilder的程序包
-
springfox.documentation.builders中ResponseMessageBuilder的使用
修饰符和类型方法说明ResponseMessageBuilder.code(int code) Updates the http response codeResponseMessageBuilder.headers(Map<String, ModelReference> headers) 已过时。ResponseMessageBuilder.headersWithDescription(Map<String, Header> headers) Updates the response headersUpdates the response messageResponseMessageBuilder.responseModel(ModelReference responseModel) Updates the model the response representsResponseMessageBuilder.vendorExtensions(List<VendorExtension> extensions) Updates the response message extensions
headersWithDescription(java.util.Map<java.lang.String, springfox.documentation.service.Header>)instead