lib/gapic/generators/ads_generator.rb in gapic-generator-ads-0.6.8 vs lib/gapic/generators/ads_generator.rb in gapic-generator-ads-0.6.10
- old
+ new
@@ -13,10 +13,11 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
require "gapic/generators/default_generator"
+require "gapic/generators/default_generator_parameters"
require "gapic/presenters"
module Gapic
module Generators
# The generator orchestrates the rendering of templates for
@@ -77,9 +78,15 @@
files
end
# rubocop:enable all
+
+ # Schema of the parameters that the generator accepts
+ # @return [Gapic::Schema::ParameterSchema]
+ def self.parameter_schema
+ DefaultGeneratorParameters.default_schema
+ end
private
# Hook to override the default formatter
def format_files files