Class Config

    • Method Detail

      • fromEnv

        public static Config fromEnv()
                              throws OpenApiException
        Create a new `Config` from the given environment variables

        It first gets the environment variables from the .env file in the current directory.

        Returns:
        Config object
        Throws:
        OpenApiException - If an error occurs