Closed wizzardich closed 2 months ago
Hello @wizzardich, thanks for taking the time to fill in the issue and sorry about that !
I'll fix it asap, it should not be difficult :)
Should be good now ! Feel free to reopen it if there is any problem or to open another if you encounter any other bug :)
Wow, that was quick! Thanks! I got another one coming :)
Thanks ! This tool is not perfect, but little by little, we can improve it :)
Current Behaviour
Given the following configuration of the
servers
object:The execution of
asyncapi-codegen
fails while unmarshalling the spec:According to the AsyncAPI v3 specification, the
servers
object is supposed to be a map.Expected Behaviour
The objects are unmarshalled correctly according to the AsyncAPI spec.
Notes
servers
field names are patterned according to the spec with the^[A-Za-z0-9_\-]+$
regex, so it probably requires further validation.PS. Thanks so much for this tool! We actively use
oapi-codegen
in our projects so having a similar toolking for AsyncAPI would be very helpful for us. Kudos!