package net.devh.springboot.autoconfigure.grpc.server;

import org.springframework.boot.context.properties.ConfigurationProperties;

import lombok.Data;

/**
 * User: Michael
 * Email: yidongnan@gmail.com
 * Date: 5/17/16
 */
@Data
@ConfigurationProperties("grpc.server")
public class GrpcServerProperties {
    /**
     * Server port to listen on. Defaults to 9090.
     */
    private int port = 9090;

    /**
     * Bind address for the server. Defaults to 0.0.0.0.
     */
    private String address = "0.0.0.0";

    private final Security security = new Security();

    @Data
    public static class Security {

        private Boolean enabled = false;

        private String certificateChainPath = "";

        private String certificatePath = "";

    }

}

@@ -508,24 +508,111 @@
 %220.0.0.0%22;%0A%0A
+    /**%0A     * Security options for transport security. Defaults to disabled. %0A     */%0A
     private 
@@ -712,92 +712,307 @@
     
-private Boolean enabled = false;%0A%0A        private String certificateChainPath = %22%22;%0A
+/**%0A         * Flag that controls whether transport security is used%0A         */%0A        private Boolean enabled = false;%0A%0A         /**%0A         * Path to SSL certificate chain%0A         */%0A        private String certificateChainPath = %22%22;%0A%0A         /**%0A         * Path to SSL certificate%0A         */
 %0A   

Add some light documentation