Fix missing metadata for nested POJO
This commit fixes missing descriptions and default values when applicable for `management.server.ssl`, `server.compression`, `server.http2`, `server.servlet.jsp`, `server.servlet.session` and `server.ssl`. Those nested namespace are managed by a POJO that is declared outside of the module of the target @ConfigurationProperties type using it. As a result, the annotation processor has no access to the source model and can't extract the description and the default value, if any. This commit migrates the misleading field-level Javadoc to manual meta data for the time being. Closes gh-14669
This commit is contained in:
@@ -166,8 +166,8 @@ content into your application. Rather, pick only the properties that you need.
|
||||
# EMBEDDED SERVER CONFIGURATION ({sc-spring-boot-autoconfigure}/web/ServerProperties.{sc-ext}[ServerProperties])
|
||||
server.address= # Network address to which the server should bind.
|
||||
server.compression.enabled=false # Whether response compression is enabled.
|
||||
server.compression.excluded-user-agents= # List of user-agents to exclude from compression.
|
||||
server.compression.mime-types=text/html,text/xml,text/plain,text/css,text/javascript,application/javascript # Comma-separated list of MIME types that should be compressed.
|
||||
server.compression.excluded-user-agents= # Comma-separated list of user agents for which responses should not be compressed.
|
||||
server.compression.mime-types=text/html,text/xml,text/plain,text/css,text/javascript,application/javascript,application/json,application/xml # Comma-separated list of MIME types that should be compressed.
|
||||
server.compression.min-response-size=2048 # Minimum "Content-Length" value that is required for compression to be performed.
|
||||
server.connection-timeout= # Time that connectors wait for another HTTP request before closing the connection. When not set, the connector's container-specific default is used. Use a value of -1 to indicate no (that is, an infinite) timeout.
|
||||
server.error.include-exception=false # Include the "exception" attribute.
|
||||
@@ -197,24 +197,24 @@ content into your application. Rather, pick only the properties that you need.
|
||||
server.servlet.context-parameters.*= # Servlet context init parameters.
|
||||
server.servlet.context-path= # Context path of the application.
|
||||
server.servlet.application-display-name=application # Display name of the application.
|
||||
server.servlet.jsp.class-name=org.apache.jasper.servlet.JspServlet # The class name of the JSP servlet.
|
||||
server.servlet.jsp.class-name=org.apache.jasper.servlet.JspServlet # Class name of the servlet to use for JSPs.
|
||||
server.servlet.jsp.init-parameters.*= # Init parameters used to configure the JSP servlet.
|
||||
server.servlet.jsp.registered=true # Whether the JSP servlet is registered.
|
||||
server.servlet.path=/ # Path of the main dispatcher servlet.
|
||||
server.servlet.session.cookie.comment= # Comment for the session cookie.
|
||||
server.servlet.session.cookie.domain= # Domain for the session cookie.
|
||||
server.servlet.session.cookie.http-only= # "HttpOnly" flag for the session cookie.
|
||||
server.servlet.session.cookie.http-only= # Whether to use "HttpOnly" cookies for session cookies.
|
||||
server.servlet.session.cookie.max-age= # Maximum age of the session cookie. If a duration suffix is not specified, seconds will be used.
|
||||
server.servlet.session.cookie.name= # Session cookie name.
|
||||
server.servlet.session.cookie.path= # Path of the session cookie.
|
||||
server.servlet.session.cookie.secure= # "Secure" flag for the session cookie.
|
||||
server.servlet.session.cookie.secure= # Whether to always mark the session cookie as secure.
|
||||
server.servlet.session.persistent=false # Whether to persist session data between restarts.
|
||||
server.servlet.session.store-dir= # Directory used to store session data.
|
||||
server.servlet.session.timeout= # Session timeout. If a duration suffix is not specified, seconds will be used.
|
||||
server.servlet.session.tracking-modes= # Session tracking modes (one or more of the following: "cookie", "url", "ssl").
|
||||
server.servlet.session.timeout=30m # Session timeout. If a duration suffix is not specified, seconds will be used.
|
||||
server.servlet.session.tracking-modes= # Session tracking modes.
|
||||
server.ssl.ciphers= # Supported SSL ciphers.
|
||||
server.ssl.client-auth= # Whether client authentication is wanted ("want") or needed ("need"). Requires a trust store.
|
||||
server.ssl.enabled= # Enable SSL support.
|
||||
server.ssl.enabled=true # Whether to enable SSL support.
|
||||
server.ssl.enabled-protocols= # Enabled SSL protocols.
|
||||
server.ssl.key-alias= # Alias that identifies the key in the key store.
|
||||
server.ssl.key-password= # Password used to access the key in the key store.
|
||||
@@ -1148,21 +1148,21 @@ content into your application. Rather, pick only the properties that you need.
|
||||
management.server.address= # Network address to which the management endpoints should bind. Requires a custom management.server.port.
|
||||
management.server.port= # Management endpoint HTTP port (uses the same port as the application by default). Configure a different port to use management-specific SSL.
|
||||
management.server.servlet.context-path= # Management endpoint context-path (for instance, `/management`). Requires a custom management.server.port.
|
||||
management.server.ssl.ciphers= # Supported SSL ciphers. Requires a custom management.port.
|
||||
management.server.ssl.client-auth= # Whether client authentication is wanted ("want") or needed ("need"). Requires a trust store. Requires a custom management.server.port.
|
||||
management.server.ssl.enabled= # Whether to enable SSL support. Requires a custom management.server.port.
|
||||
management.server.ssl.enabled-protocols= # Enabled SSL protocols. Requires a custom management.server.port.
|
||||
management.server.ssl.key-alias= # Alias that identifies the key in the key store. Requires a custom management.server.port.
|
||||
management.server.ssl.key-password= # Password used to access the key in the key store. Requires a custom management.server.port.
|
||||
management.server.ssl.key-store= # Path to the key store that holds the SSL certificate (typically a jks file). Requires a custom management.server.port.
|
||||
management.server.ssl.key-store-password= # Password used to access the key store. Requires a custom management.server.port.
|
||||
management.server.ssl.key-store-provider= # Provider for the key store. Requires a custom management.server.port.
|
||||
management.server.ssl.key-store-type= # Type of the key store. Requires a custom management.server.port.
|
||||
management.server.ssl.protocol=TLS # SSL protocol to use. Requires a custom management.server.port.
|
||||
management.server.ssl.trust-store= # Trust store that holds SSL certificates. Requires a custom management.server.port.
|
||||
management.server.ssl.trust-store-password= # Password used to access the trust store. Requires a custom management.server.port.
|
||||
management.server.ssl.trust-store-provider= # Provider for the trust store. Requires a custom management.server.port.
|
||||
management.server.ssl.trust-store-type= # Type of the trust store. Requires a custom management.server.port.
|
||||
management.server.ssl.ciphers= # Supported SSL ciphers.
|
||||
management.server.ssl.client-auth= # Whether client authentication is wanted ("want") or needed ("need"). Requires a trust store.
|
||||
management.server.ssl.enabled=true # Whether to enable SSL support.
|
||||
management.server.ssl.enabled-protocols= # Enabled SSL protocols.
|
||||
management.server.ssl.key-alias= # Alias that identifies the key in the key store.
|
||||
management.server.ssl.key-password= # Password used to access the key in the key store.
|
||||
management.server.ssl.key-store= # Path to the key store that holds the SSL certificate (typically a jks file).
|
||||
management.server.ssl.key-store-password= # Password used to access the key store.
|
||||
management.server.ssl.key-store-provider= # Provider for the key store.
|
||||
management.server.ssl.key-store-type= # Type of the key store.
|
||||
management.server.ssl.protocol=TLS # SSL protocol to use.
|
||||
management.server.ssl.trust-store= # Trust store that holds SSL certificates.
|
||||
management.server.ssl.trust-store-password= # Password used to access the trust store.
|
||||
management.server.ssl.trust-store-provider= # Provider for the trust store.
|
||||
management.server.ssl.trust-store-type= # Type of the trust store.
|
||||
|
||||
# CLOUDFOUNDRY
|
||||
management.cloudfoundry.enabled=true # Whether to enable extended Cloud Foundry actuator endpoints.
|
||||
|
||||
Reference in New Issue
Block a user