NJsonSchema icon indicating copy to clipboard operation
NJsonSchema copied to clipboard

Custom Type Resolver

Open csehatt741 opened this issue 2 years ago • 0 comments

I'd like to generate System.Version for the following schema:

schema:
  type: string
  format: version

Generator: CSharpGenerator NSwag version: 13.15.10.0

Based on my current understanding, CSharpTypeResolver.ResolveString is responsible for such type resolution, but I cannot figure out the way to extend this functionality or specify a custom type resolver.

csehatt741 avatar Mar 16 '22 08:03 csehatt741