Unable to import service from openApi spec

I am trying to import service actions from a valis openAPI 3 spec file. The endpoints are displayed correctly wehen loading the file, but when I press save, the Service editor responds (after trying to load the services) with “Service operations are not found”.

In the Output window, I see 2 errors for every operation I try to import: (pasted for searchability)

  1. CompilerBuilder.Compile: Keyword ‘void’ cannot be used in this context
  2. Since ‘_Client.LogAsync(Authorization10, string, Body9, CancellationToken)’ is an async method that returns ‘Task’, a return keyword must not be followed by an object expression. Did you intend to return ‘Task’?

Is this a bug, or should I provide other information in my OpenApi spec file to correctly generate an async client?

@Tom_Heintzberger, did you ever figure this out? I’m having the exact same issue doing the same thing.