Code generation via NSWAG

I have…

I’m submitting a…

  • [ ] Regression (a behavior that stopped working in a new release)
  • [ ] Bug report
  • [ ] Performance issue
  • [ ] Documentation issue or request

Current behavior

We generated code through NSWAG by passing Squidex Swagger.Json. Earlier the method used to have parameter id with datatype guid.But now it has been changed to string. This was working till yesterday. Now when we tried to generate code again through NSWAG, signature of the method is changed.
Do you have any other version which will pass the parameter as Guid.

Earlier
public async System.Threading.Tasks.Task DeleteIntroductiontwoContentAsync(System.Guid id, System.Threading.CancellationToken cancellationToken)

Current one
public async System.Threading.Tasks.Task DeleteIntroductiontwoContentAsync(string id, System.Threading.CancellationToken cancellationToken)

Did any changes happened from Squidex end. If that is the case then we need to do so many modifications in our code.

Expected behavior

Minimal reproduction of the problem

Environment

  • [ ] Self hosted with docker
  • [ ] Self hosted with IIS
  • [ ] Self hosted with other version
  • [ ] Cloud version

Version: [VERSION]

Browser:

  • [ ] Chrome (desktop)
  • [ ] Chrome (Android)
  • [ ] Chrome (iOS)
  • [ ] Firefox
  • [ ] Safari (desktop)
  • [ ] Safari (iOS)
  • [ ] IE
  • [ ] Edge

Others:

You are using the cloud, right?

The guids have been changed to strings, because in the newest version you can use custom IDs, when creating content over the API.

Perhaps you can configure the nswag generator to use a guid instead if you download the swagger.json first and manipulate it before you generate the code, but I am not sure.