Project

General

Profile

bug #8932

Swagger does not distinguish overloaded controller endpoints

Added by Andreas Kohlbecker 8 months ago. Updated 6 months ago.

Status:
In Progress
Priority:
Priority14
Category:
cdmlib-remote
Target version:
Start date:
04/03/2020
Due date:
% Done:

20%

Severity:
normal
Found in Version:
Tags:

Description

the BaseListController defines three mappings for /{type}/

  • doList(Integer, Integer, Class, HttpServletRequest, HttpServletResponse)
  • doPage(Integer, Integer, Class, OrderHintPreset, HttpServletRequest, HttpServletResponse)
  • doPageByRestrictions(Integer, Integer, Class, List>, List, OrderHintPreset, HttpServletRequest, HttpServletResponse)

Each has different required parameters. Swagger whoever only shows one endpoint which is doPageByRestrictions

Associated revisions

Revision c916a82a (diff)
Added by Andreas Kohlbecker 8 months ago

fix #8932 configuring swagger to support overloaded controller methods

History

#1 Updated by Andreas Kohlbecker 8 months ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 50

#2 Updated by Andreas Kohlbecker 8 months ago

  • Status changed from Resolved to Closed
  • Target version changed from Release 5.15 to Release 5.14
  • % Done changed from 50 to 100

fixed

#3 Updated by Andreas Kohlbecker 8 months ago

  • Status changed from Closed to In Progress
  • % Done changed from 100 to 20

#4 Updated by Andreas Kohlbecker 8 months ago

  • Target version changed from Release 5.14 to Release 5.15

#5 Updated by Andreas Kohlbecker 6 months ago

  • Target version changed from Release 5.15 to Release 5.18

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 40 MB)