Constructor
new module:"openapi-transformers/add-x-ms-enum-name.js"()
- Source:
Methods
transformSchemas(schemas) → {!Object.<string, object>|*}
Transforms Map[string,Schema] with named schemas by passing the
name as the second argument to transformSchema.
Parameters:
| Name | Type | Description |
|---|---|---|
schemas |
!Object.<string, object> | * | Schmea map to transform. |
- Source:
Returns:
If obj is a Map, a plain object with
the same own enumerable string-keyed properties as obj with values
returned by transformSchema. Otherwise, obj is returned unchanged.
- Type
- !Object.<string, object> | *