Splitting this out from here, as it's a separate issue: https://github.com/ScottLogic/openapi-forge/issues/171#issuecomment-1431717235