generated from camaraproject/Template_API_Repository
-
Notifications
You must be signed in to change notification settings - Fork 9
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Problem description
As we target developer adoption for our API, 2 feedbacks from development:
- The polymorphic patter use on line 576-578 is not developer-friendly as it require a manual processing with code generator. It will be better to use same name for the enum value and the corresponding class.
NO_DATA: '#/components/schemas/PopulationDensityData'
LOW_DENSITY: '#/components/schemas/PopulationDensityData'
DENSITY_ESTIMATION: '#/components/schemas/DensityEstimationPopulationDensityData'
- There is probably unnecessary complexity with all the classes defined in the yaml. We can merge
CellPopulationDensityDataandPopulationDensityDatain one class and avoid one unnecessary level that will make the API sipler - The class
DensityEstimationPopulationDensityDatahas probably too many Density but this point is linked to my first point.
Possible evolution
Alternative solution
Additional context
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request