pucardotorg / dristi

MIT License
2 stars 12 forks source link

Tech Debt: additionalDetails field in all services should be JSONB, not string #1391

Open subhashini-egov opened 2 months ago

subhashini-egov commented 2 months ago

Describe the bug

All API specifications have an additionalDetails field. This is strictly for implementation teams to accommodate any unplanned/unforeseen data requirements in a service. This field should be a object in the specification and JSONB field in the database.

To Reproduce Steps to reproduce the behavior:

  1. Open any API specification
  2. Search for 'additionalDetails'
  3. Open Flyway migration scripts for a service from the codebase.
  4. Check the column type of additionalDetails.

Expected behavior This field should be a object in the specification and JSONB field in the database.

atulgupta2024 commented 2 months ago

updated APIs. Raised PR #1409