Forum Discussion

beantownace's avatar
beantownace
New Contributor
4 years ago

OpenAPI Generate NetCore Client - Way to not generate model constructor?

Hello all,

 

I am generating both the service and client for an OpenAPI project.   The npm run generate-service-dotnetcore generates model classes without a model constructor.  The npm run generate-client-dotnetcore is causing issues when serializing because there is a constructor in the client model.  Is there a parameter I can set to ignore and not generate the constructor in the client models?

No RepliesBe the first to reply