From 4caaa238505171630700a3ccc4f9c6cda113e017 Mon Sep 17 00:00:00 2001 From: Faaz Shaikh Date: Fri, 7 Jan 2022 19:48:46 -0800 Subject: [PATCH] add automation index endpoint to api_specs --- lib/api_spec/specs/automation.rb | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 lib/api_spec/specs/automation.rb diff --git a/lib/api_spec/specs/automation.rb b/lib/api_spec/specs/automation.rb new file mode 100644 index 0000000..3d53a77 --- /dev/null +++ b/lib/api_spec/specs/automation.rb @@ -0,0 +1,9 @@ +class ApiSpec::Spec + endpoint 'Automations' do |automation| + automation.method('Index') do |method| + method.synopsis = 'Shows the list of on-demand automations' + method.http_method = 'GET' + method.uri = '/v1/automations' + end + end +end