apicurio-studio
apicurio-studio copied to clipboard
Publishing Spec to Github fails
Hi Team,
Thanks for the amazing tool.
We are trying to publish the spec manually via APIcurio "Publish" action.
Although being able to link GitHub account successfully, but click on publishing always throw an error:
Does this work in a different way? Also, wanted to check if there is a way to automate it.
Are you using the online version of Apicurio Studio or have you deployed it locally in some way?
As for automation - everything you can do in the UI has a corresponding REST API endpoint on the backend for automation. We currently don't have any triggers/events though. So there's no way to e.g. automatically sync between Studio and GitHub other than by implementing some sort of polling (e.g. a cron job that polls for new versions of an API and then automatically pushes to GH).
Nevermind, I just tried this on https://studio.apicur.io and was able to reproduce your same issue:
I wasn't aware this was broken and will need to look into it.
Ah OK I have figured out the problem. I'm guessing you chose "YAML" format when trying to publish. Right now the conversion to YAML is broken. For more info go here:
https://github.com/Apicurio/apicurio-studio/issues/1925
This will be fixed in the next release.
If you can confirm that you can successfully Publish your API in JSON
format that would be helpful. We could close this issue as a duplicate.
Yes, thanks for looking into this.
Publishing API
in JSON works fine.
Do we generally have a timeline to fix YAML one, like when is the next release planned?
We just need to do final testing of the migration from Thorntail to Quarkus. It's taking longer than normal due to summer vacations on the team. :)
Once everyone is back in action we'll get things fixed. But it might not be until the end of August or even early September. :(
I have also the same problem, so I am waiting for the next release.
Hoping to get a release done next week. Thank you for your patience.
Closing as a duplicate of https://github.com/Apicurio/apicurio-studio/issues/1925