Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

remove projection paths

ulferts909635fc1506
diff --git a/lib/api/v3/utilities/path_helper.rb b/lib/api/v3/utilities/path_helper.rb
index cb38a6ad3e6..0bdb0af2155 100644
--- a/lib/api/v3/utilities/path_helper.rb
+++ b/lib/api/v3/utilities/path_helper.rb
@@ -339,26 +339,6 @@ module API
"#{queries}/available_projects"
end
- def self.query_projection_schemas
- "#{queries}/projection_schemas"
- end
-
- def self.query_projection_table_schema
- "#{query_projection_schemas}/table"
- end
-
- def self.query_projection_calendar_schema
- "#{query_projection_schemas}/calendar"
- end
-
- def self.query_projection_team_calendar_schema
- "#{query_projection_schemas}/team_calendar"
- end
-
- def self.query_projection_gantt_schema
- "#{query_projection_schemas}/gantt"
- end
-
index :relations
show :relation
diff --git a/modules/team_planner/spec/lib/api/v3/utilities/path_helper_spec.rb b/modules/team_planner/spec/lib/api/v3/utilities/path_helper_spec.rb
new file mode 100644
index 00000000000..e69de29bb2d
diff --git a/spec/lib/api/v3/utilities/path_helper_spec.rb b/spec/lib/api/v3/utilities/path_helper_spec.rb
index 2ff1bd42565..af5c783ec4a 100644
--- a/spec/lib/api/v3/utilities/path_helper_spec.rb
+++ b/spec/lib/api/v3/utilities/path_helper_spec.rb
@@ -386,36 +386,6 @@ describe ::API::V3::Utilities::PathHelper do
it_behaves_like 'api v3 path', '/queries/available_projects'
end
-
- describe '#query_projection_schemas' do
- subject { helper.query_projection_schemas }
-
- it_behaves_like 'api v3 path', '/queries/projection_schemas'
- end
-
- describe '#query_projection_table_schema' do
- subject { helper.query_projection_table_schema }
-
- it_behaves_like 'api v3 path', '/queries/projection_schemas/table'
- end
-
- describe '#query_projection_calendar_schema' do
- subject { helper.query_projection_calendar_schema }
-
- it_behaves_like 'api v3 path', '/queries/projection_schemas/calendar'
- end
-
- describe '#query_projection_gantt_schema' do
- subject { helper.query_projection_gantt_schema }
-
- it_behaves_like 'api v3 path', '/queries/projection_schemas/gantt'
- end
-
- describe '#query_projection_team_calendar_schema' do
- subject { helper.query_projection_team_calendar_schema }
-
- it_behaves_like 'api v3 path', '/queries/projection_schemas/team_calendar'
- end
end
describe 'relations paths' do