openBackhaul / TypeApprovalRegister

Administrates the list of approvals of Applications.
Apache License 2.0
1 stars 8 forks source link

In ​/v1​/document-embedding-status release-number should not take random string #400

Open sunil-kumar-meena opened 4 days ago

sunil-kumar-meena commented 4 days ago

Description: In ​/v1​/document-embedding-status API's request-body , the release-number is currently without a pattern. This makes the express framework to accept any random string as a release-number. Proposal: Proposing to add the below pattern to the "request-body" attribute of the API /v1​/document-embedding-status pattern: "^([0-9]{1,2})\\.([0-9]{1,2})\\.([0-9]{1,2})$"