@fern-api/go-dynamic-snippets 1.56.1 → 1.57.0
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/dist/index.cjs +9 -9
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +13 -0
- package/dist/index.d.ts +13 -0
- package/dist/index.js +9 -9
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -243,6 +243,19 @@ declare class EndpointSnippetGenerator {
|
|
|
243
243
|
private getFilePropertyInfo;
|
|
244
244
|
private getInlinedRequestArg;
|
|
245
245
|
private getInlinedRequestBodyStructFields;
|
|
246
|
+
/**
|
|
247
|
+
* Whether the call leaves the body out entirely, which a nil argument expresses. Applies only to
|
|
248
|
+
* a body the caller may omit, and only once the generator opts in to that. An example that
|
|
249
|
+
* supplies nothing for the body reaches the snippet generator as an absent or empty value, since
|
|
250
|
+
* that is how the importer spells it.
|
|
251
|
+
*/
|
|
252
|
+
private callOmitsRequestBody;
|
|
253
|
+
/**
|
|
254
|
+
* Whether the generated body parameter accepts nil, which mirrors the condition the SDK
|
|
255
|
+
* generator applies before it lets a caller leave the body out. A value type keeps taking a
|
|
256
|
+
* value, so an example for it must keep supplying one.
|
|
257
|
+
*/
|
|
258
|
+
private bodyParameterIsNilable;
|
|
246
259
|
private getFileUploadRequestBodyStructFields;
|
|
247
260
|
private getReferencedRequestBodyPropertyStructField;
|
|
248
261
|
private getReferencedRequestBodyPropertyTypeInstantiation;
|
package/dist/index.d.ts
CHANGED
|
@@ -243,6 +243,19 @@ declare class EndpointSnippetGenerator {
|
|
|
243
243
|
private getFilePropertyInfo;
|
|
244
244
|
private getInlinedRequestArg;
|
|
245
245
|
private getInlinedRequestBodyStructFields;
|
|
246
|
+
/**
|
|
247
|
+
* Whether the call leaves the body out entirely, which a nil argument expresses. Applies only to
|
|
248
|
+
* a body the caller may omit, and only once the generator opts in to that. An example that
|
|
249
|
+
* supplies nothing for the body reaches the snippet generator as an absent or empty value, since
|
|
250
|
+
* that is how the importer spells it.
|
|
251
|
+
*/
|
|
252
|
+
private callOmitsRequestBody;
|
|
253
|
+
/**
|
|
254
|
+
* Whether the generated body parameter accepts nil, which mirrors the condition the SDK
|
|
255
|
+
* generator applies before it lets a caller leave the body out. A value type keeps taking a
|
|
256
|
+
* value, so an example for it must keep supplying one.
|
|
257
|
+
*/
|
|
258
|
+
private bodyParameterIsNilable;
|
|
246
259
|
private getFileUploadRequestBodyStructFields;
|
|
247
260
|
private getReferencedRequestBodyPropertyStructField;
|
|
248
261
|
private getReferencedRequestBodyPropertyTypeInstantiation;
|