Open ChristopherL-STCU opened 3 years ago
Hi @ChristopherL-STCU, why would you add YAML file to specs folder? Can you please tell what are you trying to achieve?
Sorry, I didn't realize you're talking about YAML format of spec. This format is not supported yet.
Yes, that's it. Okay, thank you.
When I add a YAML file to the
api-specs
folder and then runnpm run publish
it results in an error.Sample OpenAPI file:
Error:
It seems to be trying to parse the YAML file as JSON.