Skip to content

Commit

Permalink
Merge branch '4.9.x' into router_versions
Browse files Browse the repository at this point in the history
# Conflicts:
#	gradle.properties
  • Loading branch information
altro3 committed Jun 23, 2023
2 parents f286b32 + 1b6fea5 commit 99fddb1
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 15 deletions.
Original file line number Diff line number Diff line change
@@ -1,16 +1,12 @@
By default the generation of views is disabled. You can enable views generation with a <<propertiesFileConfiguration, configuration properties file>>.
By default, the generation of views is disabled. You can enable views generation with a <<propertiesFileConfiguration, configuration properties file>>.

.openapi.properties Example Views Generation Swagger-UI Redoc, Rapidoc
.openapi.properties Example Views Generation Swagger-UI, Redoc, Rapidoc
[source]
----
swagger-ui.enabled=true
redoc.enabled=true
rapidoc.enabled=true
rapidoc.bg-color=#14191f
rapidoc.text-color=#aec2e0
rapidoc.sort-endpoints-by=method
...
..
.
micronaut.openapi.views.spec = swagger-ui.enabled=true,\
redoc.enabled=true, \
rapidoc.enabled=true, \
rapidoc.bg-color=#14191f, \
rapidoc.text-color=#aec2e0, \
rapidoc.sort-endpoints-by=method
----

Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
By default the generation of views is disabled.
By default, the generation of views is disabled.

To turn it on you have to set the following system property `micronaut.openapi.views.spec`.

The string syntax is a series of comma-separated key-value pairs, to enable and configure the views.
The string syntax is a series of comma-separated key-value pairs, to enable and configure the views.

.System Property
[source]
Expand Down Expand Up @@ -110,4 +110,4 @@ or in Maven with Groovy:
</plugin>
</plugins>
</build>
----
----

0 comments on commit 99fddb1

Please sign in to comment.