Getting deployment error for OAS-Validation policy saying that Unsupported 'format' value 'uuid
openapispec code :
parameters:
- in: header
name: req-id
schema:
type: string
format: uuid
required: true
This error i'm getting only in hybrid org but not in edge
Can anyone help me here. Thanks in advance
Additional formats like uuid are not part of the official OAS 3.0.x spec (Reference). Here is the quote "Formats such as "email"
, "uuid"
, and so on, MAY be used even though undefined by this specification."
This is the reason for the error. There is an unofficial CLI based tool that is capable of handling such formats and generating proxies.
Also, Teja,
We'll look into changing Apigee hybrid to relax the validation of formats. ref: b/213608497
Hi @dchiesa1 ,
Could you please give us an update of the referred enhancements b/213608497?
Thx,
Marcello
Hi @MarciSoos
The bug you referenced has been fixed, for more than 1 year. So if you use an OpenAPI Spec with UUID format, you should not see the problem of
Getting deployment error for OAS-Validation policy saying that Unsupported 'format' value 'uuid
Are you seeing a problem?