Skip to content

Commit

Permalink
fix: remove duplicate import keyword in Kotlin generator example (#2115)
Browse files Browse the repository at this point in the history
  • Loading branch information
Manancode authored Oct 29, 2024
1 parent e08fbda commit 8c3c152
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export function getKotlinGeneratorCode(generatorOptions: ModelinaKotlinOptions)
optionString.push(`typeMapping: {
Integer: ({ dependencyManager, constrainedModel, options, partOfProperty }) => {
// Add custom dependency for your type if required.
dependencyManager.addDependency('import kotlinx.datetime.*');
dependencyManager.addDependency('kotlinx.datetime.*');
//Return the type for the integer model
return 'LocalDate';
Expand Down

0 comments on commit 8c3c152

Please sign in to comment.