Closed panosgit closed 3 years ago
Welcome to AsyncAPI. Thanks a lot for reporting your first issue. Keep in mind there are also other channels you can use to interact with AsyncAPI community. For more details check out this issue.
Hi @panosgit
I'm not sure which JSON result you would like to have by combining type: array
and $ref
:
iAmAnArrayWithRefThatWillNotLetYouGenerate:
type: array
minItems: 0
$ref: '#/components/schemas/iAmAnArrayWithRefThatWillNotLetYouGenerate'
Did you miss items:
before $ref
?
Regarding wrong enum generation, i'll take it with me.
:tada: This issue has been resolved in version 0.19.1 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
Hello, I am trying to generate a client from a yaml and i am getting the error below
After removing the
$ref: '#/components/schemas/iAmAnArrayWithRefThatWillNotLetYouGenerate'
and setting inline the object the generation was successfull.Another issue is that after the generation if I have an enumeration with Dash '-' then it is not replaced with an underscore
Could you please investigate it when you have some time?
Ps i am attaching you the yaml file in a TXT format as it does not let me attach it as a yaml failingExample.yaml.txt