Skip to content

Commit

Permalink
Fix hints from configuration-metadata.json (#1638)
Browse files Browse the repository at this point in the history
- remove `additional` from name
- add groups to help IDEs identifying types of configuration
  • Loading branch information
kasmarian authored Sep 29, 2023
1 parent 0d21892 commit 08af0ae
Showing 1 changed file with 34 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,4 +1,31 @@
{
"groups": [
{
"name": "logbook",
"type": "org.zalando.logbook.autoconfigure.LogbookProperties",
"sourceType": "org.zalando.logbook.autoconfigure.LogbookProperties"
},
{
"name": "logbook.predicate",
"type": "org.zalando.logbook.autoconfigure.LogbookProperties$PredicateProperties",
"sourceType": "org.zalando.logbook.autoconfigure.LogbookProperties"
},
{
"name": "logbook.obfuscate",
"type": "org.zalando.logbook.autoconfigure.LogbookProperties$Obfuscate",
"sourceType": "org.zalando.logbook.autoconfigure.LogbookProperties"
},
{
"name": "logbook.write",
"type": "org.zalando.logbook.autoconfigure.LogbookProperties$Write",
"sourceType": "org.zalando.logbook.autoconfigure.LogbookProperties"
},
{
"name": "logbook.filter",
"type": "org.zalando.logbook.autoconfigure.LogbookProperties$Filter",
"sourceType": "org.zalando.logbook.autoconfigure.LogbookProperties"
}
],
"hints": [
{
"name": "logbook.format.style",
Expand Down Expand Up @@ -173,7 +200,7 @@
},
{
"name": "logbook.filter.form-request-mode",
"type": "java.lang.String",
"type": "org.zalando.logbook.servlet.FormRequestMode",
"defaultValue": "BODY",
"description": "Determines how form requests are handled."
},
Expand All @@ -183,6 +210,12 @@
"defaultValue": true,
"description": "Enables/disables default body filter."
},
{
"name": "logbook.attribute-extractors",
"type": "java.util.List<org.zalando.logbook.autoconfigure.LogbookProperties.ExtractorProperty>",
"defaultValue": [],
"description": "A list of attribute extractors to use."
},
{
"name": "logbook.attribute-extractors.type",
"type": "java.lang.String",
Expand Down

0 comments on commit 08af0ae

Please sign in to comment.