Closed lo00l closed 2 months ago
Hello @lo00l ! Thanks for your interest in this project ☺️
Well, this is a really interesting feature which is not yet developed. There is another issue with kinda the same request, so I'll do a PR to have this ASAP as it should not be difficult (I aim for the end of the week, but no guarantee).
Should be fixed now ! Do not hesitate to reopen this thread if needed !
First of all, thank you for your package! This is exactly what I was looking for.
Suppose I have 2 yaml files:
asyncapi.yaml
:common.yaml
:When I run
asyncapi-codegen -g types -i asyncapi.yaml -o ./models.gen.go -p test
I get errorerror when using AsyncAPI: invalid reference: empty target for schema reference "common.yaml#/components/schemas/Foo"
.Is it even possible to define my schemas in separate file to make it reusable?