Skip to content

Commit

Permalink
Fix errors in api documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
matsbov committed Jul 8, 2024
1 parent c00f2de commit bdedcab
Showing 1 changed file with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1295,9 +1295,12 @@ class WebServiceController {

@JsonIgnoreProperties('metaClass')
static class SpeciesListItemBody {
String guid
//String guid
String rawScientificName
HashMap<String, String> extra
String additionalProp1
String additionalProp2
String additionalProp3
//HashMap<String, String> extra
}

@JsonIgnoreProperties('metaClass')
Expand Down Expand Up @@ -1366,7 +1369,7 @@ class WebServiceController {
required = true)
],
requestBody = @RequestBody(
description = "The JSON object containing new species list item guid, rawScientificName and extra fields and values.",
description = "The JSON object containing rawScientificName and extra fields and values.",
required = true,
content = @Content(
mediaType = 'application/json',
Expand Down Expand Up @@ -1422,6 +1425,7 @@ class WebServiceController {
)
]
)
@Path("/ws/deleteItem")
@RequireApiKey(scopes = ['ala/internal'])
@Transactional
def deleteItem() {
Expand Down

0 comments on commit bdedcab

Please sign in to comment.