Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Docs Bug 🐞 report]: error in KotlinGenerator's example output with generatorOptions.showTypeMappingExample == true #2107

Open
1 task done
Christian1984 opened this issue Oct 9, 2024 · 1 comment

Comments

@Christian1984
Copy link

Describe the bug you found in AsyncAPI Docs.

The output of KotlinGenerator's example with generatorOptions.showTypeMappingExample == true in KotlinGenerator.ts:18 reads

dependencyManager.addDependency('import kotlinx.datetime.*');

This generates the import statement import import kotlinx.datetime.*, so the import keyword should be ommited in the example. It should read

dependencyManager.addDependency('kotlinx.datetime.*');

in the example output.

Attach any resources that can help us understand the issue.

N/A

Code of Conduct

  • I agree to follow this project's Code of Conduct
Copy link
Contributor

github-actions bot commented Oct 9, 2024

Welcome to AsyncAPI. Thanks a lot for reporting your first issue. Please check out our contributors guide and the instructions about a basic recommended setup useful for opening a pull request.
Keep in mind there are also other channels you can use to interact with AsyncAPI community. For more details check out this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant