-
Updated
Jul 6, 2022 - Java
codegenerator
Here are 251 public repositories matching this topic...
-
Updated
Jun 17, 2022 - Swift
-
Updated
Jun 27, 2022 - C#
-
Updated
Jan 16, 2022 - C#
-
Updated
Mar 9, 2019 - JavaScript
-
Updated
Jun 6, 2022 - Go
-
Updated
Feb 2, 2021 - TypeScript
-
Updated
Jul 8, 2022 - Java
-
Updated
Oct 5, 2020 - Kotlin
Using SynType
extensions from Myriad.Core.AstExtensions
:
SynType.Option(SynType.Int())
generatesOptionint
instead ofOption<int>
SynType.ResizeArray(SynType.Int())
generatesResizeArrayint
instead ofResizeArray<int>
At the same time, postfix notation works fine:
SynType.CreateApp(SynType.Create("option"), [SynType.Int()], true)
generates int option
correctly.
-
Updated
Jun 15, 2022 - Go
-
Updated
Jul 2, 2022 - Go
-
Updated
Oct 17, 2021 - F#
-
Updated
Jun 12, 2019 - C#
-
Updated
Jun 27, 2022 - TypeScript
-
Updated
Apr 19, 2022 - Java
-
Updated
Jul 4, 2022 - C#
What to solve
Sometimes you want to decide on the naming format for the data model, maybe you always want to append something, or just want a different format.
This can be done by changing the naming convention, by providing a custom function for formatting the data type name.
Use the following code in the example:
generator = new TypeScriptGenerator({
namingConvention: {
-
Updated
May 2, 2022 - JavaScript
-
Updated
Jun 23, 2022 - Python
-
Updated
Jan 26, 2020 - Kotlin
-
Updated
Apr 28, 2022 - Swift
-
Updated
Mar 5, 2018 - Go
-
Updated
Oct 11, 2021 - FreeMarker
-
Updated
Oct 13, 2020 - Java
Improve this page
Add a description, image, and links to the codegenerator topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the codegenerator topic, visit your repo's landing page and select "manage topics."
Reason/Context
The problem is described here asyncapi-archived-repos/playground#79. It must be clear that returned data is not content but an object with content and metadata + what is this metadata, and that it is only with React renderer.
Description
Probably JSDoc must be only updated. Of course, some additional section in the readme would be also welcomed😄