类的使用
springfox.documentation.builders.OperationBuilder
使用OperationBuilder的程序包
-
springfox.documentation.builders中OperationBuilder的使用
修饰符和类型方法说明OperationBuilder.authorizations(Collection<SecurityReference> securityReferences) Updates the security checks that apply to this operationOperationBuilder.codegenMethodNameStem(String codeGenMethodNameStem) This is an optional override that provides a custom method name stem, such that the method name that is generated for the purposes of code-gen can be customized.Updates the existing media types with new entries that this documentation consumesOperationBuilder.deprecated(String deprecated) Marks the listing as deprecatedOperationBuilder.extensions(List<VendorExtension> extensions) Updates the operation extensionsOperationBuilder.hidden(boolean isHidden) Marks the operation as hiddenOperationBuilder.method(org.springframework.http.HttpMethod method) Updates the http methodUpdates the operation notesOperationBuilder.parameters(List<Parameter> parameters) Updates the input parameters this operation needsOperationBuilder.position(int position) Updates the index of the operationUpdates the existing media types with new entries that this documentation producesUpdate the protocols this operation supportsOperationBuilder.responseMessages(Set<ResponseMessage> responseMessages) Updates the response messagesOperationBuilder.responseModel(ModelReference responseType) Updates the reference to the response modelUpdates the operation summaryUpdates the tags that identify this operationUpdates the uniqueId for the operation.