giddyinc / mongoose-to-swagger

Conversion library for transforming Mongoose schema objects into Swagger schema definitions.
MIT License
54 stars 29 forks source link

Nested fields not omitted #34

Closed BlueWater86 closed 2 years ago

BlueWater86 commented 3 years ago

The omitFields option only omits fields in the top level schema and does nothing for nested schemas.

I have a pull request created including a unit test.