redoc 2.1.0 → 2.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "redoc",
3
- "version": "2.1.0",
3
+ "version": "2.1.1",
4
4
  "description": "ReDoc",
5
5
  "repository": {
6
6
  "type": "git",
@@ -17,7 +17,7 @@ export declare function serializeParameterValueWithMime(value: any, mime: string
17
17
  export declare function serializeParameterValue(parameter: (OpenAPIParameter & {
18
18
  serializationMime?: string;
19
19
  }) | FieldModel, value: any): string;
20
- export declare function getSerializedValue(field: FieldModel, example: any): any;
20
+ export declare function getSerializedValue(field: FieldModel, example: any): string;
21
21
  export declare function langFromMime(contentType: string): string;
22
22
  export declare function isNamedDefinition(pointer?: string): boolean;
23
23
  export declare function getDefinitionName(pointer?: string): string | undefined;