Skip to content

Commit f566f85

Browse files
committed
#44 fixing typos in docs
1 parent 63049b5 commit f566f85

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

fragnet-search/src/main/java/org/squonk/fragnet/service/v2/FragnetSearchRouteBuilder.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -221,9 +221,9 @@ public void configure() throws Exception {
221221
})
222222
.marshal().json(JsonLibrary.Jackson)
223223
.endRest()
224-
// Is this molecule part of the fragment network
224+
// Fetch the child fragments of a molecule
225225
// example:
226-
// curl "$FRAGNET_SERVER/fragnet-search/rest/v2/search/molecule/OC(Cn1ccnn1)C1CC1"
226+
// curl "$FRAGNET_SERVER/fragnet-search/rest/v2/search/fragments/OC(Cn1ccnn1)C1CC1"
227227
.get("fragments/{smiles}").description("Find fragments of a molecule")
228228
.param().name("smiles").type(RestParamType.path).description("SMILES query").endParam()
229229
.produces("application/json")
@@ -232,7 +232,7 @@ public void configure() throws Exception {
232232
executeFragmentQuery(exch);
233233
})
234234
.endRest()
235-
.post("fragments").description("MFind fragments of a molecule")
235+
.post("fragments").description("Find fragments of a molecule")
236236
.bindingMode(RestBindingMode.off)
237237
.param().name("molfile").type(RestParamType.body).description("Molfile query").endParam()
238238
.produces("application/json")

0 commit comments

Comments
 (0)