-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
We try to overwrite the timetype from LOCAL to ZONED. In documentation is mentioned, that we could overwrite it in build.gradle on same position as ids, apimodel, etc. could be configured.
But if we set it, then we get the message:
Could not set unknown property 'useTimeType' for object of type com.sngular.api.generator.plugin.model.OperationParameter.
The OperationParameter.java also does not contain the parameter:
class OperationParameter {
String ids
String apiPackage
String modelPackage
String modelNameSuffix
String classNamePostfix
Is there a reason why this property is not set here?
Configuration looks like:
asyncapimodel {
specFile {
{
filePath = "$rootDir/apis/async/service.yaml"
consumer {
ids = '....'
apiPackage = 'de.abc.events'
modelPackage = 'de.abc.events.model'
useTimeType = TimeType.ZONED
}
}
}
overWriteModel = true
springBootVersion = 3
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels