We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ef83778 commit 03d85c9Copy full SHA for 03d85c9
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "@fern-api/sdk",
3
- "version": "0.12.1",
+ "version": "0.12.2",
4
"private": false,
5
"repository": "https://github.com/fern-api/fern-typescript",
6
"license": "MIT",
src/wrapper/Template.ts
@@ -41,6 +41,10 @@ export class Template implements Fern.templates.EndpointSnippetTemplate {
41
return await _innerResolver.resolveWithFormatting();
42
}
43
44
+ public serialize(): string {
45
+ return JSON.stringify(this.endpointSnippetTemplate);
46
+ }
47
+
48
public static from(template: Fern.templates.EndpointSnippetTemplate): Template {
49
return new Template(template.sdk, template.endpointId, template.snippetTemplate);
50
0 commit comments