Skip to content

Commit 0a62b6b

Browse files
authored
Merge pull request #1013 from AtlasOfLivingAustralia/feature/issue1007
#1007 re-enable swagger ui
2 parents 42af18d + 68d770f commit 0a62b6b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

grails-app/controllers/au/org/ala/ecodata/ApiKeyInterceptor.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class ApiKeyInterceptor {
2121

2222
public ApiKeyInterceptor() {
2323
// These controllers use JWT authorization instead
24-
matchAll().excludes(controller: 'graphql').excludes(controller: 'paratoo').excludes(controller: 'harvest').excludes(controller:'graphqlWs')
24+
matchAll().excludes(controller: 'graphql').excludes(controller: 'paratoo').excludes(controller: 'harvest').excludes(controller:'graphqlWs').excludes(controller:'openapi')
2525
}
2626

2727
boolean before() {

grails-app/controllers/au/org/ala/ecodata/ParatooController.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ class ParatooController {
127127
summary = "Gets the list of all org minted uuids submitted by an authenticated user.",
128128
description = "Gets the list of all org minted uuids submitted by an authenticated user.",
129129
responses = [
130-
@ApiResponse(responseCode = "200", description = "Returns the list of all org minted uuids submitted by the user.", content = @Content(mediaType = "application/json", array = @ArraySchema(schema = @Schema(implementation = Map.class)))),
130+
@ApiResponse(responseCode = "200", description = "Returns the list of all org minted uuids submitted by the user.", content = @Content(mediaType = "application/json", schema = @Schema(implementation = Map.class))),
131131
@ApiResponse(responseCode = "403", description = "Forbidden"),
132132
@ApiResponse(responseCode = "404", description = "Not found")
133133
],

0 commit comments

Comments
 (0)