restdocs.tool.export.postman.exporter.Request Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of restdocs-tool-export Show documentation
Show all versions of restdocs-tool-export Show documentation
Generates AsciiDoc snippets via Spring Restdocs that are exports for Insomnia or Postman that can be download and imported.
package restdocs.tool.export.postman.exporter;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import java.util.Set;
@JsonIgnoreProperties(ignoreUnknown = true)
public class Request {
private String method;
private Set headers;
private Url url;
private Body body;
public String getMethod() {
return method;
}
public void setMethod(String method) {
this.method = method;
}
public Set getHeaders() {
return headers;
}
public void setHeaders(Set headers) {
this.headers = headers;
}
public Url getUrl() {
return url;
}
public void setUrl(Url url) {
this.url = url;
}
public Body getBody() {
return body;
}
public void setBody(Body body) {
this.body = body;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy