Contributions
- 1.7KViews0likes0Comments
CSharp Codegen not available
I'm getting the following error message when trying to generate client/csharp code: "Failed to download the codegen package. If the problem persists, please reach out!" This previously worked. Not sure if the failure is caused by a change to the API definition. Any suggestions how to resolve this? In case it makes any difference, the API is marked as private. Thanks David1.7KViews0likes2CommentsMalformed or unreadable swagger supplied
My API definition passes validation in the editor and I can't see anything obviously wrong with it. However, there's a big red "Invalid" message at the top of the page and it prevents me from doing code generation. The API can be found here: https://app.swaggerhub.com/api/myaccount/BNA_Temp/v1 Two questions: First, can you help find out what's wrong? Second, are there any tools or techniques that I can use to track down this kind of issue myself? Thanks for any help. DavidSolved4.6KViews0likes2Comments- 4.6KViews0likes0Comments
Re: GitHub integration not working for me
Ah - user error as I suspected. Thanks for the clarification, it's working fine now I understand what it expect. I have a follow-up question. I work in YAML in the editor and I am able to download both YAML and JSON versions of the API. But it looks like the push to GitHub only supports JSON? If I load JSON into the editor is it then possible to return to a YAML view? (Apologies for newbie questions.) BTW - the editor and the whole SwaggerHub platform is great.4.6KViews0likes3CommentsGitHub integration not working for me
I'm trying to push an API definition toGitHub. I navigated to the Editor for theAPI, selected "Edit GitHub Push" from the "+" menu, entered the GitHub repository information and checked the "Enabled" box.When saving the details a message popped up telling me that the GitHub push configuration wa saved successfully. When I go to the "Show my APIs" page the Git icon is disabled next to all of my APIs, including the one I configured. If I click on it I get a message telling me that "GitHub has not been associated with this API". Looks like I must have missed a step - can anyone point me in the right direction? Thanks. DavidSolved4.6KViews0likes5Comments