Open ploef opened 1 year ago
Hi,
Using the csharp-netcore generator, I only need the models to be generated.
--global-property=models,modelDocs=false,modelTests=false,apiTests=false
"packageName": "Test", "targetFramework": "net6.0", "optionalProjectFile": false, "optionalAssemblyInfo": false, "optionalEmitDefaultValue": true, "validatable": false, "useCollection": true, "returnICollection": true, "optionalEmitDefaultValues": true, "library": "generichost"
Unfortunately the models have a dependency on the client because they include JsonConverters
Utf8JsonReader guidReader = reader; bool guidDeserialized = Client.ClientUtils.TryDeserialize<Guid>(ref guidReader, options, out Guid? guid); Utf8JsonReader academicSessionReader = reader; bool academicSessionDeserialized = Client.ClientUtils.TryDeserialize<AcademicSession>(ref academicSessionReader, options, out AcademicSession? academicSession);
Is there a way I could make those models not needing the client?
Same need here.
Hi,
Using the csharp-netcore generator, I only need the models to be generated.
Unfortunately the models have a dependency on the client because they include JsonConverters
Is there a way I could make those models not needing the client?