cancel
Showing results for 
Search instead for 
Did you mean: 

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

beantownace
New Contributor

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?

New Here?
Join us and watch the welcome video:
Announcements
Top Kudoed Authors