You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a created a folder that is "v1@messages" which has a post.cs file in it for the csharp code sample, but when I put the get.cs file in there and try to build it produces the following error:
I'm getting the same error. I've created a new repo and following the cli steps added an existing spec.yaml and enabled the "splitting" setting. It split the file for me allright, with paths and components folders, but it cannot build or run due to this error ^
The definitions have links in them like this:
$ref: '#/components/schemas/Error'
after a bit of debugging I see that in the thrown error the path equals to '/echo' and the verb is 'post'. operation is undefined.
I haven't yet found out where those come from.
--
Okay, the problem was that there were code_samples generated. I deleted them and everything built.
I have a created a folder that is "v1@messages" which has a post.cs file in it for the csharp code sample, but when I put the get.cs file in there and try to build it produces the following error:
throw Error('Code sample for non-existing operation: "' + path + '",' + verb);
If I move it out of there into it's own folder it produces the same error. I have tried with this folder name:
"v1@messages@{messageId}"
and
"v1@messages@messageId"
What else should I try? Also, this should be updated in the readme for code samples.
The text was updated successfully, but these errors were encountered: