Dropwizard · Schema

Dropwizard Configuration

JSON Schema for the Dropwizard config.yml file covering server, logging, metrics, database, and application settings.

API DevelopmentFrameworksJavaMicroservicesRESTWeb Services

Properties

Name Type Description
server object HTTP server configuration.
logging object Logging configuration.
metrics object Metrics reporting configuration.
database object Database / DataSource configuration.
View JSON Schema on GitHub

JSON Schema

dropwizard-config.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://github.com/api-evangelist/dropwizard/json-schema/dropwizard-config.json",
  "title": "Dropwizard Configuration",
  "description": "JSON Schema for the Dropwizard config.yml file covering server, logging, metrics, database, and application settings.",
  "type": "object",
  "properties": {
    "server": {
      "type": "object",
      "description": "HTTP server configuration.",
      "properties": {
        "type": {
          "type": "string",
          "description": "Server type.",
          "enum": ["default", "simple"],
          "default": "default"
        },
        "applicationConnectors": {
          "type": "array",
          "description": "Application port connectors.",
          "items": {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "enum": ["http", "https"],
                "default": "http"
              },
              "port": {
                "type": "integer",
                "default": 8080,
                "minimum": 0,
                "maximum": 65535
              },
              "bindHost": {
                "type": "string",
                "description": "Interface to bind to."
              },
              "keyStorePath": {
                "type": "string"
              },
              "keyStorePassword": {
                "type": "string"
              },
              "certAlias": {
                "type": "string"
              }
            },
            "additionalProperties": true
          }
        },
        "adminConnectors": {
          "type": "array",
          "description": "Admin port connectors.",
          "items": {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "enum": ["http", "https"],
                "default": "http"
              },
              "port": {
                "type": "integer",
                "default": 8081,
                "minimum": 0,
                "maximum": 65535
              },
              "bindHost": {
                "type": "string"
              }
            },
            "additionalProperties": true
          }
        },
        "requestLog": {
          "type": "object",
          "description": "Request logging configuration.",
          "properties": {
            "appenders": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "type": {
                    "type": "string",
                    "enum": ["console", "file", "syslog"]
                  },
                  "threshold": {
                    "type": "string"
                  },
                  "currentLogFilename": {
                    "type": "string"
                  },
                  "archivedLogFilenamePattern": {
                    "type": "string"
                  }
                },
                "additionalProperties": true
              }
            }
          },
          "additionalProperties": true
        },
        "maxThreads": {
          "type": "integer",
          "description": "Maximum number of threads.",
          "default": 1024
        },
        "minThreads": {
          "type": "integer",
          "description": "Minimum number of threads.",
          "default": 8
        },
        "idleThreadTimeout": {
          "type": "string",
          "description": "Idle thread timeout duration.",
          "default": "1 minute"
        },
        "gzip": {
          "type": "object",
          "properties": {
            "enabled": {
              "type": "boolean",
              "default": true
            },
            "minimumEntitySize": {
              "type": "string",
              "default": "256 bytes"
            }
          },
          "additionalProperties": true
        }
      },
      "additionalProperties": true
    },
    "logging": {
      "type": "object",
      "description": "Logging configuration.",
      "properties": {
        "level": {
          "type": "string",
          "description": "Default log level.",
          "enum": ["TRACE", "DEBUG", "INFO", "WARN", "ERROR", "OFF"],
          "default": "INFO"
        },
        "loggers": {
          "type": "object",
          "description": "Per-logger level overrides.",
          "additionalProperties": {
            "type": "string",
            "enum": ["TRACE", "DEBUG", "INFO", "WARN", "ERROR", "OFF"]
          }
        },
        "appenders": {
          "type": "array",
          "description": "Log appenders.",
          "items": {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "enum": ["console", "file", "syslog"]
              },
              "threshold": {
                "type": "string"
              },
              "currentLogFilename": {
                "type": "string"
              },
              "archivedLogFilenamePattern": {
                "type": "string"
              },
              "archivedFileCount": {
                "type": "integer",
                "default": 5
              },
              "maxFileSize": {
                "type": "string"
              },
              "timeZone": {
                "type": "string",
                "default": "UTC"
              }
            },
            "additionalProperties": true
          }
        }
      },
      "additionalProperties": true
    },
    "metrics": {
      "type": "object",
      "description": "Metrics reporting configuration.",
      "properties": {
        "frequency": {
          "type": "string",
          "description": "Reporting frequency.",
          "default": "1 minute"
        },
        "reporters": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "description": "Reporter type (e.g., log, graphite, console)."
              },
              "host": {
                "type": "string"
              },
              "port": {
                "type": "integer"
              },
              "prefix": {
                "type": "string"
              },
              "frequency": {
                "type": "string"
              }
            },
            "additionalProperties": true
          }
        }
      },
      "additionalProperties": true
    },
    "database": {
      "type": "object",
      "description": "Database / DataSource configuration.",
      "properties": {
        "driverClass": {
          "type": "string",
          "description": "JDBC driver class name."
        },
        "url": {
          "type": "string",
          "description": "JDBC connection URL."
        },
        "user": {
          "type": "string"
        },
        "password": {
          "type": "string"
        },
        "maxSize": {
          "type": "integer",
          "description": "Max connection pool size.",
          "default": 8
        },
        "minSize": {
          "type": "integer",
          "description": "Min connection pool size.",
          "default": 0
        },
        "initialSize": {
          "type": "integer",
          "description": "Initial connection pool size.",
          "default": 0
        },
        "checkConnectionWhileIdle": {
          "type": "boolean",
          "default": true
        },
        "validationQuery": {
          "type": "string",
          "description": "SQL query to validate connections.",
          "default": "SELECT 1"
        }
      },
      "additionalProperties": true
    }
  },
  "additionalProperties": true
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/dropwizard-config"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.