-
-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Generating code/docs results in error #1144
Comments
Welcome to AsyncAPI. Thanks a lot for reporting your first issue. Please check out our contributors guide and the instructions about a basic recommended setup useful for opening a pull request. |
Situation with
So there is no a one-byte solution to this issue currently. @Amzani, can you please share what the current thoughts are on Maybe someone else should be tagged in this issue also? |
@aeworxet server-api is not working anyway with v3, so I suggest to directly support generator it in studio. |
Yeah this is the natural next step. |
Describe the bug
When trying to generate a "HTML website" or "Markdown documentation" for the default project "Streetlights Kafka API 1.0.0" or any other project file an error message is shown: "Failed to generate."
This behaviour is similar for the version running on https:/studio.asyncapi.com and on a checkout of the master branch, running it locally (localhost:3000).
Browser console shows the error:
POST http://localhost:3001/api/v1/generate net::ERR_CONNECTION_REFUSED
(Chromium, Version 129.0.6668.70, Linux, 64 Bit)Quellübergreifende (Cross-Origin) Anfrage blockiert: Die Gleiche-Quelle-Regel verbietet das Lesen der externen Ressource auf http://localhost:3001/api/v1/generate. (Grund: CORS-Anfrage schlug fehl). Statuscode:
(Firefox, 130.0.1, Linux, 64-Bit).
How to Reproduce
Expected behavior
There should be no error message. Documentation should be generated.
The text was updated successfully, but these errors were encountered: