message: docs(buildSchema): re-style and update to current implementation
diff: @@ -3,11 +3,21 @@ id: build-schema
  title: 'buildSchema'
  ---
  -`buildSchema(cl, options, overwriteOptions)` gets the schema from a class to modify the schema before making the model.
  +**Typings:**
  -- `cl` is the Class to be compiled
  -- `options` is to overwrite the schema options (merged with existing)
  -- `overwriteOptions` is used to overwrite name generation options
  +```ts
  +function buildSchema<U extends AnyParamConstructor<any>>(cl: U, options?: mongoose.SchemaOptions, overwriteOptions?: IModelOptions): mongoose.Schema<DocumentType<InstanceType<U>>>
  +```
  +
  +**Parameters:**
  +
  +| Name | Type | Description |
  +| :-------------------------------------------------------- | :----------------------: | :------------------------------------------------------------ |
  +| `cl` <span class="badge badge--secondary">Required</span> | `U` | The Class to build a Schema from |
  +| `options` | `mongoose.SchemaOptions` | Overwrite Schema Options, merged with original schema options |
  +| `overwriteOptions` | `IModelOptions` | Overwrite `IModelOptions` for name generation |
  +
  +`buildSchema` compiles the input class `cl` to a mongoose schema with all options applied.
  A compiled model can be re-added with [`addModelToTypegoose`](./addModelToTypegoose.md).
  