Skip to content

Commit

Permalink
Updated rest api descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
nilshoffmann committed Apr 14, 2023
1 parent 44725b9 commit 5278c6f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public LipidNameValidation(LipidNameValidationService validationService) {
})
@PostMapping()
public ResponseEntity<ValidationResults> validate(
@ApiParam(value = "Validation request with list of lipid names and grammars to use. For each grammar, a specialized parser is instantiated and used to parse the lipid name. The first successful parser result is returned. If no parser was successful, the returned list will contain validation messages to help you track down the issue and the name of the last grammar / parser used to validate the lipid name. If you provide an empty list or null for grammars, jgoslin will use the LipidParser internally, which supports all grammars. ", required = true)
@ApiParam(value = "Validation request with list of lipid names and grammars to use. For each grammar, a specialized parser is instantiated and used to parse the lipid name. The first successful parser result is returned. If no parser was successful, the returned list will contain validation messages to help you track down the issue and the name of the last grammar / parser used to validate the lipid name. If you provide an empty list or null for grammars, jgoslin will use the LipidParser internally, which supports all grammars. skipInvalid is currently only relevant to the form based validation. REST service validation will commence on all lipid names.", required = true)
@RequestBody ValidationRequest validationRequest) {
List<ValidationResult> results;
HttpStatus httpStatus = HttpStatus.OK;
Expand Down

0 comments on commit 5278c6f

Please sign in to comment.