
com.mangofactory.swagger.models.dto.builder.ApiDescriptionBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of swagger-models Show documentation
Show all versions of swagger-models Show documentation
This project integrates swagger with the Spring Web MVC framework
The newest version!
package com.mangofactory.swagger.models.dto.builder;
import com.mangofactory.swagger.models.dto.ApiDescription;
import com.mangofactory.swagger.models.dto.Operation;
import java.util.List;
public class ApiDescriptionBuilder {
private String path;
private String description;
private List operations;
private Boolean hidden;
public ApiDescriptionBuilder path(String path) {
this.path = path;
return this;
}
public ApiDescriptionBuilder description(String description) {
this.description = description;
return this;
}
public ApiDescriptionBuilder operations(List operations) {
this.operations = operations;
return this;
}
public ApiDescriptionBuilder hidden(Boolean hidden) {
this.hidden = hidden;
return this;
}
public ApiDescription build() {
return new ApiDescription(path, description, operations, hidden);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy