Search in sources :

Example 1 with RESTDocsGenerator

use of org.neo4j.doc.server.rest.RESTDocsGenerator in project neo4j-documentation by neo4j.

the class AbstractPluginTestBase method performPost.

protected String performPost(String uri, String body) {
    RESTDocsGenerator requestBuilder = gen.get().expectedStatus(200);
    if (body != null) {
        requestBuilder.payload(body);
    }
    String result = requestBuilder.post(uri).entity();
    return result;
}
Also used : RESTDocsGenerator(org.neo4j.doc.server.rest.RESTDocsGenerator)

Aggregations

RESTDocsGenerator (org.neo4j.doc.server.rest.RESTDocsGenerator)1