Skip to content

Commit

Permalink
Merge pull request #234 from grails/enableSwaggerUi
Browse files Browse the repository at this point in the history
Enable Swagger UI
  • Loading branch information
puneetbehl authored Nov 17, 2023
2 parents 4ab0bdb + 7ca24d2 commit dac1fd8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
*/
@OpenAPIDefinition(
info = @Info(
title = "Grails Application Forge",
title = "Grails Forge",
version = "${api.version}",
description = "API for Creating Grails Applications",
license = @License(name = "Apache 2.0")
Expand Down
3 changes: 3 additions & 0 deletions grails-forge-web-netty/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ micronaut:
swagger:
paths: classpath:META-INF/swagger
mapping: /swagger/**
swagger-ui:
paths: classpath:META-INF/swagger/views/swagger-ui
mapping: /swagger-ui/**
server:
cors:
enabled: true
Expand Down

0 comments on commit dac1fd8

Please sign in to comment.