- Update console-api-XXX-swagger.json file
- Manually modify updated file as described bellow
- Run make all
::: tip Some manual changes are required due to limitations/errors in the client generation tool. :::
Modify type, value should be:
"value" : {
"type" : "string"
}
Modify type, resource should be:
"resource" : {
"type" : "string"
}
Modify type, add identity lookups property:
"identityLookups" : {
"uniqueItems" : true,
"type" : "array",
"items" : {
"$ref" : "#/components/schemas/IdentityLookupDTO"
}
},
diff -u console-api-1.5.0-SNAPSHOT-swagger.json console-api-1.5.0-SNAPSHOT-swagger.json.new > console.patch
Remove changes to CustomBarandingDefinitionDTO, StoreBrandingReq, GetBrandingRes, ResourceDTO, IdentityProviderDTO
patch console-api-1.5.0-SNAPSHOT-swagger.json < console.patch