Skip to content

Draft: Use RegEx to validate record ID URL parameter in V3 CRUD APIs

Yannick requested to merge validate_crud_v3_record_id into master
  • All CRUD v3 {record_id} parameter validated using RegEx from its associated schema (was only 'str' before)
  • OSDU Models reuses the same RegEx to ensure
  • function to split a record_id and version unified in a dedicated file instead of DMS_v3 utils.
  • removed unused function from DDMS v3 utils and associated tests (using the unified function + remove unused function since validation done at API level)
Edited by Yannick

Merge request reports