You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Class and constructor variables are named after ref schema class name which does not compile. We are only using this template because of the handy artifactType param that can be set to library because we want the models only.
How to Reproduce
Define a schema with props referencing another schema e.g.:
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.
Describe the bug
Class and constructor variables are named after ref schema class name which does not compile. We are only using this template because of the handy
artifactType
param that can be set tolibrary
because we want the models only.How to Reproduce
Define a schema with props referencing another schema e.g.:
Expected behavior
Expected behavior would be to generate a class
MySchema
with a constructor and member variables named after the prop names e.g.:Actual behavior
Does not compile (variables already defined):
The text was updated successfully, but these errors were encountered: