File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -259,6 +259,11 @@ directive:
259259 - from : ' openapi-document'
260260 where : $.components.schemas.ReferenceUpdate..properties['@odata.id']
261261 transform : $['description'] = 'The entity reference URL of the resource. For example, https://graph.microsoft.com/v1.0/directoryObjects/{id}.'
262+ # Fix Base64 serialization.
263+ - from : ' openapi-document'
264+ where : $.components.schemas..properties.*
265+ transform : >-
266+ if ($.format === 'base64url') { $['format'] = 'byte' }
262267# Mark consistency level parameter as required for /$count paths when header is present.
263268 - from : openapi-document
264269 where : $..paths.*[?(/(.*_GetCount)/gmi.exec(@.operationId))]..parameters[?(@.name === "ConsistencyLevel")]
You can’t perform that action at this time.
0 commit comments