snazy commented on code in PR #2237: URL: https://github.com/apache/polaris/pull/2237#discussion_r2248381123
########## api/management-model/build.gradle.kts: ########## @@ -50,13 +50,13 @@ val generatedOpenApiSrcDir = project.layout.buildDirectory.dir("generated-openap openApiGenerate { // The OpenAPI generator does NOT resolve relative paths correctly against the Gradle project // directory - inputSpec = specsDir.file("polaris-management-service.yml").asFile.absolutePath + inputSpec = provider { specsDir.file("polaris-management-service.yml").asFile.absolutePath } generatorName = "jaxrs-resteasy" - outputDir = generatedDir.get().asFile.absolutePath + outputDir = provider { generatedDir.get().asFile.absolutePath } modelPackage = "org.apache.polaris.core.admin.model" - ignoreFileOverride = rootDir.file(".openapi-generator-ignore").asFile.absolutePath - removeOperationIdPrefix = true - templateDir = templatesDir.asFile.absolutePath + ignoreFileOverride.set(provider { rootDir.file(".openapi-generator-ignore").asFile.absolutePath }) Review Comment: This is because the property's declared as `Property<String?>` by the plugin extension. It doesn't make sense to declare nullable values as `Property`s - it has a value or not. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@polaris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org