yahehe / Nancy.Swagger

Nancy plugin for generated API documentation in Swagger format.
MIT License
133 stars 60 forks source link

Customize propertyname of DTO in Nancy Swagger #178

Open romaluca opened 4 years ago

romaluca commented 4 years ago

0

I have a c# application where the dto properties are serialized with newtonjson in this way:

PropertyOne -> propertyOne
PROPERTYTwo -> propertyTwo

I have also Nancy swagger but the properties generated of the DTO are:

PropertyOne -> propertyOne
PROPERTYTwo -> pROPERTYTwo

How can i set Nancy.Swagger to use the newtonjson method of serialization?

Thanks