From 2b3ff3e6e13d1674edea663edf5efbffbe7932c7 Mon Sep 17 00:00:00 2001 From: armandobelardo Date: Mon, 22 Apr 2024 10:01:41 -0400 Subject: [PATCH 1/4] fix, internal: leverage the union factory to create the generic template input --- generators/python/sdk/VERSION | 2 +- .../src/fern_python/snippet/snippet_template_factory.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/generators/python/sdk/VERSION b/generators/python/sdk/VERSION index bda4b623cd2..2a445aae3de 100644 --- a/generators/python/sdk/VERSION +++ b/generators/python/sdk/VERSION @@ -1 +1 @@ -1.3.0-rc3 +1.3.0-rc4 diff --git a/generators/python/src/fern_python/snippet/snippet_template_factory.py b/generators/python/src/fern_python/snippet/snippet_template_factory.py index 09764faa30c..0db32261162 100644 --- a/generators/python/src/fern_python/snippet/snippet_template_factory.py +++ b/generators/python/src/fern_python/snippet/snippet_template_factory.py @@ -133,10 +133,10 @@ def _get_generic_template( is_optional=True, template_string=f"{name}={self.TEMPLATE_SENTINEL}" if name is not None else f"{self.TEMPLATE_SENTINEL}", template_inputs=[ - PayloadInput( + TemplateInput.factory.payload(PayloadInput( location=location, path=self._get_breadcrumb_path(wire_or_original_name, name_breadcrumbs), - ) + )) ], ) ) From 648323a68690d0204fac11ba30a6c40c4788ee23 Mon Sep 17 00:00:00 2001 From: armandobelardo Date: Mon, 22 Apr 2024 10:02:46 -0400 Subject: [PATCH 2/4] precommit --- .../fern_python/snippet/snippet_template_factory.py | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/generators/python/src/fern_python/snippet/snippet_template_factory.py b/generators/python/src/fern_python/snippet/snippet_template_factory.py index 0db32261162..2c39fa2ae68 100644 --- a/generators/python/src/fern_python/snippet/snippet_template_factory.py +++ b/generators/python/src/fern_python/snippet/snippet_template_factory.py @@ -1,4 +1,3 @@ -import json from typing import Dict, List, Optional, Union import fern.ir.resources as ir_types @@ -133,10 +132,12 @@ def _get_generic_template( is_optional=True, template_string=f"{name}={self.TEMPLATE_SENTINEL}" if name is not None else f"{self.TEMPLATE_SENTINEL}", template_inputs=[ - TemplateInput.factory.payload(PayloadInput( - location=location, - path=self._get_breadcrumb_path(wire_or_original_name, name_breadcrumbs), - )) + TemplateInput.factory.payload( + PayloadInput( + location=location, + path=self._get_breadcrumb_path(wire_or_original_name, name_breadcrumbs), + ) + ) ], ) ) From 79e434f2df166bff0c77482b76ae54b713d1ad0a Mon Sep 17 00:00:00 2001 From: armandobelardo Date: Mon, 22 Apr 2024 11:20:48 -0400 Subject: [PATCH 3/4] fix: add in indentation, not perfect formatting --- .../snippet/snippet_template_factory.py | 55 +- .../api-wide-base-path/snippet-templates.json | 8 +- .../audiences/snippet-templates.json | 13 +- .../snippet-templates.json | 7 +- .../snippet-templates.json | 7 +- .../basic-auth/snippet-templates.json | 7 +- .../snippet-templates.json | 2 +- seed/python-sdk/bytes/snippet-templates.json | 5 +- .../code-samples/snippet-templates.json | 5 +- .../custom-auth/snippet-templates.json | 7 +- .../no-custom-config/snippet-templates.json | 8 +- .../enum/strenum/snippet-templates.json | 8 +- .../error-property/snippet-templates.json | 2 +- .../client-filename/snippet-templates.json | 72 +- .../no-custom-config/snippet-templates.json | 72 +- .../extra_dependencies/snippet-templates.json | 635 +++++++++++------- .../snippet-templates.json | 635 +++++++++++------- .../snippet-templates.json | 635 +++++++++++------- .../improved_imports/snippet-templates.json | 635 +++++++++++------- .../infinite-timeout/snippet-templates.json | 635 +++++++++++------- .../no-custom-config/snippet-templates.json | 635 +++++++++++------- .../snippet-templates.json | 635 +++++++++++------- .../pydantic-v1/snippet-templates.json | 635 +++++++++++------- .../snippet-templates.json | 635 +++++++++++------- .../union-utils/snippet-templates.json | 635 +++++++++++------- .../file-download/snippet-templates.json | 2 +- .../file-upload/snippet-templates.json | 74 +- .../python-sdk/folders/snippet-templates.json | 15 +- .../snippet-templates.json | 10 +- seed/python-sdk/imdb/snippet-templates.json | 17 +- .../python-sdk/literal/snippet-templates.json | 29 +- .../mixed-case/snippet-templates.json | 13 +- .../snippet-templates.json | 10 +- .../no-environment/snippet-templates.json | 2 +- .../snippet-templates.json | 162 +++++ .../optional/snippet-templates.json | 12 +- .../package-yml/snippet-templates.json | 10 +- .../pagination/snippet-templates.json | 37 +- .../plain-text/snippet-templates.json | 2 +- .../query-parameters/snippet-templates.json | 96 +-- .../reserved-keywords/snippet-templates.json | 5 +- .../server-sent-events/snippet-templates.json | 5 +- .../snippet-templates.json | 2 +- .../snippet-templates.json | 2 +- .../no-custom-config/snippet-templates.json | 5 +- .../snippet-templates.json | 5 +- .../snippet-templates.json | 2 +- seed/python-sdk/unions/snippet-templates.json | 13 +- .../python-sdk/unknown/snippet-templates.json | 5 +- .../variables/snippet-templates.json | 5 +- 50 files changed, 4367 insertions(+), 2801 deletions(-) create mode 100644 seed/python-sdk/oauth-client-credentials/snippet-templates.json diff --git a/generators/python/src/fern_python/snippet/snippet_template_factory.py b/generators/python/src/fern_python/snippet/snippet_template_factory.py index 2c39fa2ae68..6734d5a92a9 100644 --- a/generators/python/src/fern_python/snippet/snippet_template_factory.py +++ b/generators/python/src/fern_python/snippet/snippet_template_factory.py @@ -62,6 +62,8 @@ class SnippetTemplateFactory: # Write this in the fern def to share between FE + BE TEMPLATE_SENTINEL = "$FERN_INPUT" + TAB_CHAR = '\t' + def __init__( self, project: Project, @@ -149,17 +151,19 @@ def _get_container_template( location: PayloadLocation, wire_or_original_name: Optional[str], name_breadcrumbs: Optional[List[str]], + indentation_level: int = 0, ) -> Union[Template, None]: + child_indentation_level = indentation_level + 1 return container.visit( list_=lambda innerTr: Template.factory.iterable( IterableTemplate( imports=[], is_optional=True, - container_template_string=f"{name}=[{self.TEMPLATE_SENTINEL}]" + container_template_string=f"{name}=[\n{self.TAB_CHAR * child_indentation_level}{self.TEMPLATE_SENTINEL}\n{self.TAB_CHAR * indentation_level}]" if name is not None - else f"[{self.TEMPLATE_SENTINEL}]", - delimiter=", ", - inner_template=self.get_type_reference_template(innerTr, None, location, None, None), + else f"[\n{self.TAB_CHAR * child_indentation_level}{self.TEMPLATE_SENTINEL}\n{self.TAB_CHAR * indentation_level}]", + delimiter=f",\n{self.TAB_CHAR * child_indentation_level}", + inner_template=self.get_type_reference_template(innerTr, None, location, None, None, child_indentation_level), template_input=PayloadInput( location=location, path=self._get_breadcrumb_path(wire_or_original_name, name_breadcrumbs) ), @@ -169,11 +173,11 @@ def _get_container_template( IterableTemplate( imports=[], is_optional=True, - container_template_string=f"{name}={{{self.TEMPLATE_SENTINEL}}}" + container_template_string=f"{name}={{\n{self.TAB_CHAR * child_indentation_level}{self.TEMPLATE_SENTINEL}\n{self.TAB_CHAR * indentation_level}}}" if name is not None - else f"{{{self.TEMPLATE_SENTINEL}}}", - delimiter=", ", - inner_template=self.get_type_reference_template(innerTr, None, location, None, None), + else f"{{\n{self.TAB_CHAR * child_indentation_level}{self.TEMPLATE_SENTINEL}\n{self.TAB_CHAR * indentation_level}}}", + delimiter=f",\n{self.TAB_CHAR * child_indentation_level}", + inner_template=self.get_type_reference_template(innerTr, None, location, None, None, child_indentation_level), template_input=PayloadInput( location=location, path=self._get_breadcrumb_path(wire_or_original_name, name_breadcrumbs) ), @@ -183,20 +187,20 @@ def _get_container_template( DictTemplate( imports=[], is_optional=True, - container_template_string=f"{name}={{{self.TEMPLATE_SENTINEL}}}" + container_template_string=f"{name}={{\n{self.TAB_CHAR * child_indentation_level}{self.TEMPLATE_SENTINEL}\n{self.TAB_CHAR * indentation_level}}}" if name is not None - else f"{{{self.TEMPLATE_SENTINEL}}}", - delimiter=", ", + else f"{{\n{self.TAB_CHAR * child_indentation_level}{self.TEMPLATE_SENTINEL}\n{self.TAB_CHAR * indentation_level}}}", + delimiter=f",\n{self.TAB_CHAR * child_indentation_level}", key_value_separator=": ", - key_template=self.get_type_reference_template(kvTr.key_type, None, location, None, None), - value_template=self.get_type_reference_template(kvTr.value_type, None, location, None, None), + key_template=self.get_type_reference_template(kvTr.key_type, None, location, None, None, child_indentation_level), + value_template=self.get_type_reference_template(kvTr.value_type, None, location, None, None, child_indentation_level), template_input=PayloadInput( location=location, path=self._get_breadcrumb_path(wire_or_original_name, name_breadcrumbs) ), ) ), optional=lambda value: self.get_type_reference_template( - value, name, location, wire_or_original_name, name_breadcrumbs + value, name, location, wire_or_original_name, name_breadcrumbs, indentation_level ), literal=lambda _: None, ) @@ -406,6 +410,7 @@ def _get_object_template( location: PayloadLocation, wire_or_original_name: Optional[str], name_breadcrumbs: Optional[List[str]], + indentation_level: int = 0, ) -> Template: object_reference = self._context.pydantic_generator_context.get_class_reference_for_type_id( type_id=type_name.type_id @@ -429,6 +434,8 @@ def _get_object_template( if template_input is not None: template_inputs.append(template_input) + object_class_name = type_name.name.pascal_case.unsafe_name + child_indentation_level = indentation_level + 1 return Template.factory.generic( GenericTemplate( imports=[self._imports_manager._get_import_as_string(object_reference.import_)] @@ -436,11 +443,11 @@ def _get_object_template( else [], is_optional=True, # TODO: move the object name getter to a function instead of the dot access below - template_string=f"{name}={type_name.name.pascal_case.unsafe_name}(\n{self.TEMPLATE_SENTINEL}\n)" + template_string=f"{name}={object_class_name}(\n{self.TAB_CHAR * child_indentation_level}{self.TEMPLATE_SENTINEL}\n{self.TAB_CHAR * indentation_level})" if name is not None - else f"{type_name.name.pascal_case.unsafe_name}({self.TEMPLATE_SENTINEL})", + else f"{object_class_name}(\n{self.TAB_CHAR * child_indentation_level}{self.TEMPLATE_SENTINEL}\n{self.TAB_CHAR * indentation_level})", template_inputs=template_inputs, - input_delimiter=",\n", + input_delimiter=f",\n{self.TAB_CHAR * child_indentation_level}", ) ) @@ -451,6 +458,7 @@ def _get_named_template( location: PayloadLocation, wire_or_original_name: Optional[str], name_breadcrumbs: Optional[List[str]], + indentation_level: int = 0, ) -> Union[Template, None]: type_declaration = self._context.pydantic_generator_context.get_declaration_for_type_id( type_id=type_name.type_id @@ -464,6 +472,7 @@ def _get_named_template( location=location, wire_or_original_name=wire_or_original_name, name_breadcrumbs=name_breadcrumbs, + indentation_level=indentation_level ), enum=lambda etd: self._get_enum_template( type_name=type_name, @@ -480,6 +489,7 @@ def _get_named_template( location=location, wire_or_original_name=wire_or_original_name, name_breadcrumbs=name_breadcrumbs, + indentation_level=indentation_level ), union=lambda utd: self._get_discriminated_union_template( type_name=type_name, @@ -500,6 +510,7 @@ def get_type_reference_template( location: PayloadLocation, wire_or_original_name: Optional[str], name_breadcrumbs: Optional[List[str]], + indentation_level: int = 0, ) -> Union[Template, None]: # if type is literal return None, we do not use literals as inputs if self._is_type_literal(type_): @@ -524,6 +535,7 @@ def get_type_reference_template( location=location, wire_or_original_name=wire_or_original_name, name_breadcrumbs=name_breadcrumbs, + indentation_level=indentation_level, ), named=lambda type_name: self._get_named_template( type_name=type_name, @@ -531,6 +543,7 @@ def get_type_reference_template( location=location, wire_or_original_name=wire_or_original_name, name_breadcrumbs=name_breadcrumbs, + indentation_level=indentation_level, ), ) @@ -541,6 +554,7 @@ def get_type_reference_template_input( location: PayloadLocation, wire_or_original_name: Optional[str], name_breadcrumbs: Optional[List[str]], + indentation_level: int = 0, ) -> Union[TemplateInput, None]: # if type is literal return None, we do not use literals as inputs if self._is_type_literal(type_): @@ -552,6 +566,7 @@ def get_type_reference_template_input( location=location, wire_or_original_name=wire_or_original_name, name_breadcrumbs=name_breadcrumbs, + indentation_level=indentation_level, ) return self._get_template_input_from_template(template=template) if template is not None else None @@ -624,6 +639,7 @@ def generate_templates(self) -> List[SnippetRegistryEntry]: location="HEADERS", wire_or_original_name=header.name.wire_value, name_breadcrumbs=None, + indentation_level=1 ) if ti is not None: top_level_template_inputs.append(ti) @@ -635,6 +651,7 @@ def generate_templates(self) -> List[SnippetRegistryEntry]: location="PATH", wire_or_original_name=path_parameter.name.original_name, name_breadcrumbs=None, + indentation_level=1 ) if ti is not None: top_level_template_inputs.append(ti) @@ -646,6 +663,7 @@ def generate_templates(self) -> List[SnippetRegistryEntry]: location="QUERY", wire_or_original_name=query_parameter.name.name.original_name, name_breadcrumbs=None, + indentation_level=1 ) if ti is not None: top_level_template_inputs.append(ti) @@ -682,6 +700,7 @@ def generate_templates(self) -> List[SnippetRegistryEntry]: location="BODY", wire_or_original_name=parameter.raw_name, name_breadcrumbs=None, + indentation_level=1 ) if parameter.raw_type is not None else None @@ -699,7 +718,7 @@ def generate_templates(self) -> List[SnippetRegistryEntry]: imports=[], template_string=init_string_template, template_inputs=top_level_template_inputs, - input_delimiter=",\n", + input_delimiter=",\n\t", is_optional=True, ) ) diff --git a/seed/python-sdk/api-wide-base-path/snippet-templates.json b/seed/python-sdk/api-wide-base-path/snippet-templates.json index 0c05058ba33..a1ecebe3bfa 100644 --- a/seed/python-sdk/api-wide-base-path/snippet-templates.json +++ b/seed/python-sdk/api-wide-base-path/snippet-templates.json @@ -25,7 +25,8 @@ "templateInputs": [ { "location": "PATH", - "path": "resourceParam" + "path": "resourceParam", + "type": "payload" } ], "type": "generic" @@ -40,14 +41,15 @@ "templateInputs": [ { "location": "PATH", - "path": "endpointParam" + "path": "endpointParam", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" diff --git a/seed/python-sdk/audiences/snippet-templates.json b/seed/python-sdk/audiences/snippet-templates.json index 9f2b5243f3b..1b1c11a08ae 100644 --- a/seed/python-sdk/audiences/snippet-templates.json +++ b/seed/python-sdk/audiences/snippet-templates.json @@ -16,7 +16,7 @@ "isOptional": true, "templateString": "await client.folder_a.service.get_direct_thread(\n$FERN_INPUT\n)", "templateInputs": [], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -48,7 +48,8 @@ "templateInputs": [ { "location": "QUERY", - "path": "optionalString" + "path": "optionalString", + "type": "payload" } ], "type": "generic" @@ -63,7 +64,8 @@ "templateInputs": [ { "location": "BODY", - "path": "publicProperty" + "path": "publicProperty", + "type": "payload" } ], "type": "generic" @@ -78,14 +80,15 @@ "templateInputs": [ { "location": "BODY", - "path": "privateProperty" + "path": "privateProperty", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" diff --git a/seed/python-sdk/auth-environment-variables/snippet-templates.json b/seed/python-sdk/auth-environment-variables/snippet-templates.json index 138d8b58ff8..d11695ad74f 100644 --- a/seed/python-sdk/auth-environment-variables/snippet-templates.json +++ b/seed/python-sdk/auth-environment-variables/snippet-templates.json @@ -16,7 +16,7 @@ "isOptional": true, "templateString": "await client.service.get_with_api_key(\n$FERN_INPUT\n)", "templateInputs": [], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -48,14 +48,15 @@ "templateInputs": [ { "location": "HEADERS", - "path": "X-Endpoint-Header" + "path": "X-Endpoint-Header", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" diff --git a/seed/python-sdk/basic-auth-environment-variables/snippet-templates.json b/seed/python-sdk/basic-auth-environment-variables/snippet-templates.json index 6ba513d2c20..fac9d9bfa91 100644 --- a/seed/python-sdk/basic-auth-environment-variables/snippet-templates.json +++ b/seed/python-sdk/basic-auth-environment-variables/snippet-templates.json @@ -16,7 +16,7 @@ "isOptional": true, "templateString": "await client.basic_auth.get_with_basic_auth(\n$FERN_INPUT\n)", "templateInputs": [], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -48,14 +48,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" diff --git a/seed/python-sdk/basic-auth/snippet-templates.json b/seed/python-sdk/basic-auth/snippet-templates.json index 16776881285..3ee5887f879 100644 --- a/seed/python-sdk/basic-auth/snippet-templates.json +++ b/seed/python-sdk/basic-auth/snippet-templates.json @@ -16,7 +16,7 @@ "isOptional": true, "templateString": "await client.basic_auth.get_with_basic_auth(\n$FERN_INPUT\n)", "templateInputs": [], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -48,14 +48,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" diff --git a/seed/python-sdk/bearer-token-environment-variable/snippet-templates.json b/seed/python-sdk/bearer-token-environment-variable/snippet-templates.json index 2dabee5c1d0..1df24e19d61 100644 --- a/seed/python-sdk/bearer-token-environment-variable/snippet-templates.json +++ b/seed/python-sdk/bearer-token-environment-variable/snippet-templates.json @@ -16,7 +16,7 @@ "isOptional": true, "templateString": "await client.service.get_with_bearer_token(\n$FERN_INPUT\n)", "templateInputs": [], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" diff --git a/seed/python-sdk/bytes/snippet-templates.json b/seed/python-sdk/bytes/snippet-templates.json index 2b92f7f43f7..5d66195db99 100644 --- a/seed/python-sdk/bytes/snippet-templates.json +++ b/seed/python-sdk/bytes/snippet-templates.json @@ -25,14 +25,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" diff --git a/seed/python-sdk/code-samples/snippet-templates.json b/seed/python-sdk/code-samples/snippet-templates.json index 561df7462a5..f772678e7c1 100644 --- a/seed/python-sdk/code-samples/snippet-templates.json +++ b/seed/python-sdk/code-samples/snippet-templates.json @@ -25,14 +25,15 @@ "templateInputs": [ { "location": "BODY", - "path": "num_events" + "path": "num_events", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" diff --git a/seed/python-sdk/custom-auth/snippet-templates.json b/seed/python-sdk/custom-auth/snippet-templates.json index 3070d82550c..5f796e8e453 100644 --- a/seed/python-sdk/custom-auth/snippet-templates.json +++ b/seed/python-sdk/custom-auth/snippet-templates.json @@ -16,7 +16,7 @@ "isOptional": true, "templateString": "await client.custom_auth.get_with_custom_auth(\n$FERN_INPUT\n)", "templateInputs": [], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -48,14 +48,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" diff --git a/seed/python-sdk/enum/no-custom-config/snippet-templates.json b/seed/python-sdk/enum/no-custom-config/snippet-templates.json index f285540ce6d..7f4cafccaff 100644 --- a/seed/python-sdk/enum/no-custom-config/snippet-templates.json +++ b/seed/python-sdk/enum/no-custom-config/snippet-templates.json @@ -53,7 +53,7 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -113,7 +113,7 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -173,7 +173,7 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -233,7 +233,7 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" diff --git a/seed/python-sdk/enum/strenum/snippet-templates.json b/seed/python-sdk/enum/strenum/snippet-templates.json index f285540ce6d..7f4cafccaff 100644 --- a/seed/python-sdk/enum/strenum/snippet-templates.json +++ b/seed/python-sdk/enum/strenum/snippet-templates.json @@ -53,7 +53,7 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -113,7 +113,7 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -173,7 +173,7 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -233,7 +233,7 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" diff --git a/seed/python-sdk/error-property/snippet-templates.json b/seed/python-sdk/error-property/snippet-templates.json index 2457d772b57..f7bf304d65e 100644 --- a/seed/python-sdk/error-property/snippet-templates.json +++ b/seed/python-sdk/error-property/snippet-templates.json @@ -16,7 +16,7 @@ "isOptional": true, "templateString": "await client.property_based_error.throw_error(\n$FERN_INPUT\n)", "templateInputs": [], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" diff --git a/seed/python-sdk/examples/client-filename/snippet-templates.json b/seed/python-sdk/examples/client-filename/snippet-templates.json index 0f4330ae0ed..f9c9f8bd998 100644 --- a/seed/python-sdk/examples/client-filename/snippet-templates.json +++ b/seed/python-sdk/examples/client-filename/snippet-templates.json @@ -25,14 +25,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -55,7 +56,7 @@ "isOptional": true, "templateString": "await client.file.notification.service.get_exception(\n$FERN_INPUT\n)", "templateInputs": [], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -87,14 +88,15 @@ "templateInputs": [ { "location": "PATH", - "path": "filename" + "path": "filename", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -126,14 +128,15 @@ "templateInputs": [ { "location": "PATH", - "path": "id" + "path": "id", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -156,7 +159,7 @@ "isOptional": true, "templateString": "await client.health.service.ping(\n$FERN_INPUT\n)", "templateInputs": [], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -188,14 +191,15 @@ "templateInputs": [ { "location": "PATH", - "path": "movieId" + "path": "movieId", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -225,7 +229,7 @@ "from .movie import Movie" ], "isOptional": true, - "templateString": "request=Movie(\n$FERN_INPUT\n)", + "templateString": "request=Movie(\n\t\t$FERN_INPUT\n\t)", "templateInputs": [ { "type": "template", @@ -236,7 +240,8 @@ "templateInputs": [ { "location": "BODY", - "path": "id" + "path": "id", + "type": "payload" } ], "type": "generic" @@ -251,7 +256,8 @@ "templateInputs": [ { "location": "BODY", - "path": "prequel" + "path": "prequel", + "type": "payload" } ], "type": "generic" @@ -266,7 +272,8 @@ "templateInputs": [ { "location": "BODY", - "path": "title" + "path": "title", + "type": "payload" } ], "type": "generic" @@ -281,7 +288,8 @@ "templateInputs": [ { "location": "BODY", - "path": "from" + "path": "from", + "type": "payload" } ], "type": "generic" @@ -296,7 +304,8 @@ "templateInputs": [ { "location": "BODY", - "path": "rating" + "path": "rating", + "type": "payload" } ], "type": "generic" @@ -311,7 +320,8 @@ "templateInputs": [ { "location": "BODY", - "path": "tag" + "path": "tag", + "type": "payload" } ], "type": "generic" @@ -326,7 +336,8 @@ "templateInputs": [ { "location": "BODY", - "path": "book" + "path": "book", + "type": "payload" } ], "type": "generic" @@ -337,8 +348,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "metadata={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "metadata={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "keyTemplate": { "imports": [], "isOptional": true, @@ -346,7 +357,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -358,7 +370,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -372,12 +385,12 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -409,7 +422,8 @@ "templateInputs": [ { "location": "HEADERS", - "path": "X-API-Version" + "path": "X-API-Version", + "type": "payload" } ], "type": "generic" @@ -424,7 +438,8 @@ "templateInputs": [ { "location": "QUERY", - "path": "shallow" + "path": "shallow", + "type": "payload" } ], "type": "generic" @@ -439,14 +454,15 @@ "templateInputs": [ { "location": "QUERY", - "path": "tag" + "path": "tag", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" diff --git a/seed/python-sdk/examples/no-custom-config/snippet-templates.json b/seed/python-sdk/examples/no-custom-config/snippet-templates.json index bdcb8331f2a..7298892dfda 100644 --- a/seed/python-sdk/examples/no-custom-config/snippet-templates.json +++ b/seed/python-sdk/examples/no-custom-config/snippet-templates.json @@ -25,14 +25,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -55,7 +56,7 @@ "isOptional": true, "templateString": "await client.file.notification.service.get_exception(\n$FERN_INPUT\n)", "templateInputs": [], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -87,14 +88,15 @@ "templateInputs": [ { "location": "PATH", - "path": "filename" + "path": "filename", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -126,14 +128,15 @@ "templateInputs": [ { "location": "PATH", - "path": "id" + "path": "id", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -156,7 +159,7 @@ "isOptional": true, "templateString": "await client.health.service.ping(\n$FERN_INPUT\n)", "templateInputs": [], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -188,14 +191,15 @@ "templateInputs": [ { "location": "PATH", - "path": "movieId" + "path": "movieId", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -225,7 +229,7 @@ "from .movie import Movie" ], "isOptional": true, - "templateString": "request=Movie(\n$FERN_INPUT\n)", + "templateString": "request=Movie(\n\t\t$FERN_INPUT\n\t)", "templateInputs": [ { "type": "template", @@ -236,7 +240,8 @@ "templateInputs": [ { "location": "BODY", - "path": "id" + "path": "id", + "type": "payload" } ], "type": "generic" @@ -251,7 +256,8 @@ "templateInputs": [ { "location": "BODY", - "path": "prequel" + "path": "prequel", + "type": "payload" } ], "type": "generic" @@ -266,7 +272,8 @@ "templateInputs": [ { "location": "BODY", - "path": "title" + "path": "title", + "type": "payload" } ], "type": "generic" @@ -281,7 +288,8 @@ "templateInputs": [ { "location": "BODY", - "path": "from" + "path": "from", + "type": "payload" } ], "type": "generic" @@ -296,7 +304,8 @@ "templateInputs": [ { "location": "BODY", - "path": "rating" + "path": "rating", + "type": "payload" } ], "type": "generic" @@ -311,7 +320,8 @@ "templateInputs": [ { "location": "BODY", - "path": "tag" + "path": "tag", + "type": "payload" } ], "type": "generic" @@ -326,7 +336,8 @@ "templateInputs": [ { "location": "BODY", - "path": "book" + "path": "book", + "type": "payload" } ], "type": "generic" @@ -337,8 +348,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "metadata={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "metadata={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "keyTemplate": { "imports": [], "isOptional": true, @@ -346,7 +357,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -358,7 +370,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -372,12 +385,12 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -409,7 +422,8 @@ "templateInputs": [ { "location": "HEADERS", - "path": "X-API-Version" + "path": "X-API-Version", + "type": "payload" } ], "type": "generic" @@ -424,7 +438,8 @@ "templateInputs": [ { "location": "QUERY", - "path": "shallow" + "path": "shallow", + "type": "payload" } ], "type": "generic" @@ -439,14 +454,15 @@ "templateInputs": [ { "location": "QUERY", - "path": "tag" + "path": "tag", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" diff --git a/seed/python-sdk/exhaustive/extra_dependencies/snippet-templates.json b/seed/python-sdk/exhaustive/extra_dependencies/snippet-templates.json index e8361d710a1..7cafcf66364 100644 --- a/seed/python-sdk/exhaustive/extra_dependencies/snippet-templates.json +++ b/seed/python-sdk/exhaustive/extra_dependencies/snippet-templates.json @@ -21,8 +21,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "request=[$FERN_INPUT]", - "delimiter": ", ", + "containerTemplateString": "request=[\n\t\t$FERN_INPUT\n\t]", + "delimiter": ",\n\t\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -30,7 +30,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -43,7 +44,7 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -71,14 +72,14 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "request=[$FERN_INPUT]", - "delimiter": ", ", + "containerTemplateString": "request=[\n\t\t$FERN_INPUT\n\t]", + "delimiter": ",\n\t\t", "innerTemplate": { "imports": [ "from .object_with_required_field import ObjectWithRequiredField" ], "isOptional": true, - "templateString": "ObjectWithRequiredField($FERN_INPUT)", + "templateString": "ObjectWithRequiredField(\n\t\t\t$FERN_INPUT\n\t\t)", "templateInputs": [ { "type": "template", @@ -89,14 +90,15 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t\t", "type": "generic" }, "templateInput": { @@ -107,7 +109,7 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -135,8 +137,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "request={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "request={\n\t\t$FERN_INPUT\n\t}", + "delimiter": ",\n\t\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -144,7 +146,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -157,7 +160,7 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -185,14 +188,14 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "request={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "request={\n\t\t$FERN_INPUT\n\t}", + "delimiter": ",\n\t\t", "innerTemplate": { "imports": [ "from .object_with_required_field import ObjectWithRequiredField" ], "isOptional": true, - "templateString": "ObjectWithRequiredField($FERN_INPUT)", + "templateString": "ObjectWithRequiredField(\n\t\t\t$FERN_INPUT\n\t\t)", "templateInputs": [ { "type": "template", @@ -203,14 +206,15 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t\t", "type": "generic" }, "templateInput": { @@ -221,7 +225,7 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -249,8 +253,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "request={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "request={\n\t\t$FERN_INPUT\n\t}", + "delimiter": ",\n\t\t", "keyTemplate": { "imports": [], "isOptional": true, @@ -258,7 +262,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -270,7 +275,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -284,7 +290,7 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -312,8 +318,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "request={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "request={\n\t\t$FERN_INPUT\n\t}", + "delimiter": ",\n\t\t", "keyTemplate": { "imports": [], "isOptional": true, @@ -321,7 +327,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -331,7 +338,7 @@ "from .object_with_required_field import ObjectWithRequiredField" ], "isOptional": true, - "templateString": "ObjectWithRequiredField($FERN_INPUT)", + "templateString": "ObjectWithRequiredField(\n\t\t\t$FERN_INPUT\n\t\t)", "templateInputs": [ { "type": "template", @@ -342,14 +349,15 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t\t", "type": "generic" }, "keyValueSeparator": ": ", @@ -361,7 +369,7 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -391,7 +399,7 @@ "from .object_with_required_field import ObjectWithRequiredField" ], "isOptional": true, - "templateString": "request=ObjectWithRequiredField(\n$FERN_INPUT\n)", + "templateString": "request=ObjectWithRequiredField(\n\t\t$FERN_INPUT\n\t)", "templateInputs": [ { "type": "template", @@ -402,19 +410,20 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -457,7 +466,7 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -489,14 +498,15 @@ "templateInputs": [ { "location": "PATH", - "path": "id" + "path": "id", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -526,7 +536,7 @@ "from .object_with_required_field import ObjectWithRequiredField" ], "isOptional": true, - "templateString": "request=ObjectWithRequiredField(\n$FERN_INPUT\n)", + "templateString": "request=ObjectWithRequiredField(\n\t\t$FERN_INPUT\n\t)", "templateInputs": [ { "type": "template", @@ -537,19 +547,20 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -581,7 +592,8 @@ "templateInputs": [ { "location": "PATH", - "path": "id" + "path": "id", + "type": "payload" } ], "type": "generic" @@ -594,7 +606,7 @@ "from .object_with_required_field import ObjectWithRequiredField" ], "isOptional": true, - "templateString": "request=ObjectWithRequiredField(\n$FERN_INPUT\n)", + "templateString": "request=ObjectWithRequiredField(\n\t\t$FERN_INPUT\n\t)", "templateInputs": [ { "type": "template", @@ -605,19 +617,20 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -649,7 +662,8 @@ "templateInputs": [ { "location": "PATH", - "path": "id" + "path": "id", + "type": "payload" } ], "type": "generic" @@ -662,7 +676,7 @@ "from .object_with_optional_field import ObjectWithOptionalField" ], "isOptional": true, - "templateString": "request=ObjectWithOptionalField(\n$FERN_INPUT\n)", + "templateString": "request=ObjectWithOptionalField(\n\t\t$FERN_INPUT\n\t)", "templateInputs": [ { "type": "template", @@ -673,7 +687,8 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" @@ -688,7 +703,8 @@ "templateInputs": [ { "location": "BODY", - "path": "integer" + "path": "integer", + "type": "payload" } ], "type": "generic" @@ -703,7 +719,8 @@ "templateInputs": [ { "location": "BODY", - "path": "long" + "path": "long", + "type": "payload" } ], "type": "generic" @@ -718,7 +735,8 @@ "templateInputs": [ { "location": "BODY", - "path": "double" + "path": "double", + "type": "payload" } ], "type": "generic" @@ -733,7 +751,8 @@ "templateInputs": [ { "location": "BODY", - "path": "bool" + "path": "bool", + "type": "payload" } ], "type": "generic" @@ -748,7 +767,8 @@ "templateInputs": [ { "location": "BODY", - "path": "datetime" + "path": "datetime", + "type": "payload" } ], "type": "generic" @@ -763,7 +783,8 @@ "templateInputs": [ { "location": "BODY", - "path": "date" + "path": "date", + "type": "payload" } ], "type": "generic" @@ -778,7 +799,8 @@ "templateInputs": [ { "location": "BODY", - "path": "uuid" + "path": "uuid", + "type": "payload" } ], "type": "generic" @@ -793,7 +815,8 @@ "templateInputs": [ { "location": "BODY", - "path": "base64" + "path": "base64", + "type": "payload" } ], "type": "generic" @@ -804,8 +827,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "list_=[$FERN_INPUT]", - "delimiter": ", ", + "containerTemplateString": "list_=[\n\t$FERN_INPUT\n]", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -813,7 +836,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -830,8 +854,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "set_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "set_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -839,7 +863,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -856,8 +881,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "map_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "map_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "keyTemplate": { "imports": [], "isOptional": true, @@ -865,7 +890,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -877,7 +903,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -891,12 +918,12 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -928,14 +955,15 @@ "templateInputs": [ { "location": "PATH", - "path": "id" + "path": "id", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -965,7 +993,7 @@ "from .object_with_optional_field import ObjectWithOptionalField" ], "isOptional": true, - "templateString": "request=ObjectWithOptionalField(\n$FERN_INPUT\n)", + "templateString": "request=ObjectWithOptionalField(\n\t\t$FERN_INPUT\n\t)", "templateInputs": [ { "type": "template", @@ -976,7 +1004,8 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" @@ -991,7 +1020,8 @@ "templateInputs": [ { "location": "BODY", - "path": "integer" + "path": "integer", + "type": "payload" } ], "type": "generic" @@ -1006,7 +1036,8 @@ "templateInputs": [ { "location": "BODY", - "path": "long" + "path": "long", + "type": "payload" } ], "type": "generic" @@ -1021,7 +1052,8 @@ "templateInputs": [ { "location": "BODY", - "path": "double" + "path": "double", + "type": "payload" } ], "type": "generic" @@ -1036,7 +1068,8 @@ "templateInputs": [ { "location": "BODY", - "path": "bool" + "path": "bool", + "type": "payload" } ], "type": "generic" @@ -1051,7 +1084,8 @@ "templateInputs": [ { "location": "BODY", - "path": "datetime" + "path": "datetime", + "type": "payload" } ], "type": "generic" @@ -1066,7 +1100,8 @@ "templateInputs": [ { "location": "BODY", - "path": "date" + "path": "date", + "type": "payload" } ], "type": "generic" @@ -1081,7 +1116,8 @@ "templateInputs": [ { "location": "BODY", - "path": "uuid" + "path": "uuid", + "type": "payload" } ], "type": "generic" @@ -1096,7 +1132,8 @@ "templateInputs": [ { "location": "BODY", - "path": "base64" + "path": "base64", + "type": "payload" } ], "type": "generic" @@ -1107,8 +1144,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "list_=[$FERN_INPUT]", - "delimiter": ", ", + "containerTemplateString": "list_=[\n\t$FERN_INPUT\n]", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -1116,7 +1153,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1133,8 +1171,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "set_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "set_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -1142,7 +1180,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1159,8 +1198,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "map_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "map_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "keyTemplate": { "imports": [], "isOptional": true, @@ -1168,7 +1207,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1180,7 +1220,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1194,12 +1235,12 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -1229,7 +1270,7 @@ "from .object_with_required_field import ObjectWithRequiredField" ], "isOptional": true, - "templateString": "request=ObjectWithRequiredField(\n$FERN_INPUT\n)", + "templateString": "request=ObjectWithRequiredField(\n\t\t$FERN_INPUT\n\t)", "templateInputs": [ { "type": "template", @@ -1240,19 +1281,20 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -1282,15 +1324,15 @@ "from .object_with_map_of_map import ObjectWithMapOfMap" ], "isOptional": true, - "templateString": "request=ObjectWithMapOfMap(\n$FERN_INPUT\n)", + "templateString": "request=ObjectWithMapOfMap(\n\t\t$FERN_INPUT\n\t)", "templateInputs": [ { "type": "template", "value": { "imports": [], "isOptional": true, - "containerTemplateString": "map_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "map_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "keyTemplate": { "imports": [], "isOptional": true, @@ -1298,7 +1340,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1306,8 +1349,8 @@ "valueTemplate": { "imports": [], "isOptional": true, - "containerTemplateString": "{$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "{\n\t\t$FERN_INPUT\n\t}", + "delimiter": ",\n\t\t", "keyTemplate": { "imports": [], "isOptional": true, @@ -1315,7 +1358,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1327,7 +1371,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1348,12 +1393,12 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -1383,7 +1428,7 @@ "from .nested_object_with_optional_field import NestedObjectWithOptionalField" ], "isOptional": true, - "templateString": "request=NestedObjectWithOptionalField(\n$FERN_INPUT\n)", + "templateString": "request=NestedObjectWithOptionalField(\n\t\t$FERN_INPUT\n\t)", "templateInputs": [ { "type": "template", @@ -1394,7 +1439,8 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" @@ -1407,7 +1453,7 @@ "from .object_with_optional_field import ObjectWithOptionalField" ], "isOptional": true, - "templateString": "nested_object=ObjectWithOptionalField(\n$FERN_INPUT\n)", + "templateString": "nested_object=ObjectWithOptionalField(\n\t$FERN_INPUT\n)", "templateInputs": [ { "type": "template", @@ -1418,7 +1464,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.string" + "path": "NestedObject.string", + "type": "payload" } ], "type": "generic" @@ -1433,7 +1480,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.integer" + "path": "NestedObject.integer", + "type": "payload" } ], "type": "generic" @@ -1448,7 +1496,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.long" + "path": "NestedObject.long", + "type": "payload" } ], "type": "generic" @@ -1463,7 +1512,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.double" + "path": "NestedObject.double", + "type": "payload" } ], "type": "generic" @@ -1478,7 +1528,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.bool" + "path": "NestedObject.bool", + "type": "payload" } ], "type": "generic" @@ -1493,7 +1544,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.datetime" + "path": "NestedObject.datetime", + "type": "payload" } ], "type": "generic" @@ -1508,7 +1560,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.date" + "path": "NestedObject.date", + "type": "payload" } ], "type": "generic" @@ -1523,7 +1576,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.uuid" + "path": "NestedObject.uuid", + "type": "payload" } ], "type": "generic" @@ -1538,7 +1592,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.base64" + "path": "NestedObject.base64", + "type": "payload" } ], "type": "generic" @@ -1549,8 +1604,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "list_=[$FERN_INPUT]", - "delimiter": ", ", + "containerTemplateString": "list_=[\n\t$FERN_INPUT\n]", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -1558,7 +1613,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1575,8 +1631,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "set_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "set_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -1584,7 +1640,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1601,8 +1658,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "map_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "map_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "keyTemplate": { "imports": [], "isOptional": true, @@ -1610,7 +1667,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1622,7 +1680,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1636,17 +1695,17 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -1676,7 +1735,7 @@ "from .nested_object_with_required_field import NestedObjectWithRequiredField" ], "isOptional": true, - "templateString": "request=NestedObjectWithRequiredField(\n$FERN_INPUT\n)", + "templateString": "request=NestedObjectWithRequiredField(\n\t\t$FERN_INPUT\n\t)", "templateInputs": [ { "type": "template", @@ -1687,7 +1746,8 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" @@ -1700,7 +1760,7 @@ "from .object_with_optional_field import ObjectWithOptionalField" ], "isOptional": true, - "templateString": "nested_object=ObjectWithOptionalField(\n$FERN_INPUT\n)", + "templateString": "nested_object=ObjectWithOptionalField(\n\t$FERN_INPUT\n)", "templateInputs": [ { "type": "template", @@ -1711,7 +1771,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.string" + "path": "NestedObject.string", + "type": "payload" } ], "type": "generic" @@ -1726,7 +1787,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.integer" + "path": "NestedObject.integer", + "type": "payload" } ], "type": "generic" @@ -1741,7 +1803,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.long" + "path": "NestedObject.long", + "type": "payload" } ], "type": "generic" @@ -1756,7 +1819,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.double" + "path": "NestedObject.double", + "type": "payload" } ], "type": "generic" @@ -1771,7 +1835,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.bool" + "path": "NestedObject.bool", + "type": "payload" } ], "type": "generic" @@ -1786,7 +1851,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.datetime" + "path": "NestedObject.datetime", + "type": "payload" } ], "type": "generic" @@ -1801,7 +1867,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.date" + "path": "NestedObject.date", + "type": "payload" } ], "type": "generic" @@ -1816,7 +1883,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.uuid" + "path": "NestedObject.uuid", + "type": "payload" } ], "type": "generic" @@ -1831,7 +1899,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.base64" + "path": "NestedObject.base64", + "type": "payload" } ], "type": "generic" @@ -1842,8 +1911,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "list_=[$FERN_INPUT]", - "delimiter": ", ", + "containerTemplateString": "list_=[\n\t$FERN_INPUT\n]", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -1851,7 +1920,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1868,8 +1938,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "set_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "set_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -1877,7 +1947,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1894,8 +1965,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "map_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "map_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "keyTemplate": { "imports": [], "isOptional": true, @@ -1903,7 +1974,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1915,7 +1987,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1929,17 +2002,17 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -1967,14 +2040,14 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "request=[$FERN_INPUT]", - "delimiter": ", ", + "containerTemplateString": "request=[\n\t\t$FERN_INPUT\n\t]", + "delimiter": ",\n\t\t", "innerTemplate": { "imports": [ "from .nested_object_with_required_field import NestedObjectWithRequiredField" ], "isOptional": true, - "templateString": "NestedObjectWithRequiredField($FERN_INPUT)", + "templateString": "NestedObjectWithRequiredField(\n\t\t\t$FERN_INPUT\n\t\t)", "templateInputs": [ { "type": "template", @@ -1985,7 +2058,8 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" @@ -1998,7 +2072,7 @@ "from .object_with_optional_field import ObjectWithOptionalField" ], "isOptional": true, - "templateString": "nested_object=ObjectWithOptionalField(\n$FERN_INPUT\n)", + "templateString": "nested_object=ObjectWithOptionalField(\n\t$FERN_INPUT\n)", "templateInputs": [ { "type": "template", @@ -2009,7 +2083,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.string" + "path": "NestedObject.string", + "type": "payload" } ], "type": "generic" @@ -2024,7 +2099,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.integer" + "path": "NestedObject.integer", + "type": "payload" } ], "type": "generic" @@ -2039,7 +2115,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.long" + "path": "NestedObject.long", + "type": "payload" } ], "type": "generic" @@ -2054,7 +2131,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.double" + "path": "NestedObject.double", + "type": "payload" } ], "type": "generic" @@ -2069,7 +2147,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.bool" + "path": "NestedObject.bool", + "type": "payload" } ], "type": "generic" @@ -2084,7 +2163,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.datetime" + "path": "NestedObject.datetime", + "type": "payload" } ], "type": "generic" @@ -2099,7 +2179,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.date" + "path": "NestedObject.date", + "type": "payload" } ], "type": "generic" @@ -2114,7 +2195,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.uuid" + "path": "NestedObject.uuid", + "type": "payload" } ], "type": "generic" @@ -2129,7 +2211,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.base64" + "path": "NestedObject.base64", + "type": "payload" } ], "type": "generic" @@ -2140,8 +2223,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "list_=[$FERN_INPUT]", - "delimiter": ", ", + "containerTemplateString": "list_=[\n\t$FERN_INPUT\n]", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -2149,7 +2232,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -2166,8 +2250,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "set_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "set_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -2175,7 +2259,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -2192,8 +2277,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "map_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "map_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "keyTemplate": { "imports": [], "isOptional": true, @@ -2201,7 +2286,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -2213,7 +2299,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -2227,12 +2314,12 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t\t", "type": "generic" }, "templateInput": { @@ -2243,7 +2330,7 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2275,14 +2362,15 @@ "templateInputs": [ { "location": "PATH", - "path": "param" + "path": "param", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2314,7 +2402,8 @@ "templateInputs": [ { "location": "QUERY", - "path": "query" + "path": "query", + "type": "payload" } ], "type": "generic" @@ -2329,14 +2418,15 @@ "templateInputs": [ { "location": "QUERY", - "path": "number" + "path": "number", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2368,7 +2458,8 @@ "templateInputs": [ { "location": "QUERY", - "path": "query" + "path": "query", + "type": "payload" } ], "type": "generic" @@ -2383,14 +2474,15 @@ "templateInputs": [ { "location": "QUERY", - "path": "numer" + "path": "numer", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2422,7 +2514,8 @@ "templateInputs": [ { "location": "PATH", - "path": "param" + "path": "param", + "type": "payload" } ], "type": "generic" @@ -2437,14 +2530,15 @@ "templateInputs": [ { "location": "QUERY", - "path": "query" + "path": "query", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2476,7 +2570,8 @@ "templateInputs": [ { "location": "PATH", - "path": "param" + "path": "param", + "type": "payload" } ], "type": "generic" @@ -2491,14 +2586,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2530,14 +2626,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2569,14 +2666,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2608,14 +2706,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2647,14 +2746,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2686,14 +2786,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2725,14 +2826,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2764,14 +2866,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2803,14 +2906,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2842,14 +2946,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2896,7 +3001,8 @@ "templateInputs": [ { "location": "BODY", - "path": "name" + "path": "name", + "type": "payload" } ], "type": "generic" @@ -2911,7 +3017,8 @@ "templateInputs": [ { "location": "BODY", - "path": "likesToWoof" + "path": "likesToWoof", + "type": "payload" } ], "type": "generic" @@ -2936,7 +3043,8 @@ "templateInputs": [ { "location": "BODY", - "path": "name" + "path": "name", + "type": "payload" } ], "type": "generic" @@ -2951,7 +3059,8 @@ "templateInputs": [ { "location": "BODY", - "path": "likesToMeow" + "path": "likesToMeow", + "type": "payload" } ], "type": "generic" @@ -2965,7 +3074,7 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2997,7 +3106,8 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" @@ -3012,7 +3122,8 @@ "templateInputs": [ { "location": "BODY", - "path": "integer" + "path": "integer", + "type": "payload" } ], "type": "generic" @@ -3025,7 +3136,7 @@ "from .object_with_optional_field import ObjectWithOptionalField" ], "isOptional": true, - "templateString": "nested_object=ObjectWithOptionalField(\n$FERN_INPUT\n)", + "templateString": "nested_object=ObjectWithOptionalField(\n\t\t$FERN_INPUT\n\t)", "templateInputs": [ { "type": "template", @@ -3036,7 +3147,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.string" + "path": "NestedObject.string", + "type": "payload" } ], "type": "generic" @@ -3051,7 +3163,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.integer" + "path": "NestedObject.integer", + "type": "payload" } ], "type": "generic" @@ -3066,7 +3179,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.long" + "path": "NestedObject.long", + "type": "payload" } ], "type": "generic" @@ -3081,7 +3195,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.double" + "path": "NestedObject.double", + "type": "payload" } ], "type": "generic" @@ -3096,7 +3211,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.bool" + "path": "NestedObject.bool", + "type": "payload" } ], "type": "generic" @@ -3111,7 +3227,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.datetime" + "path": "NestedObject.datetime", + "type": "payload" } ], "type": "generic" @@ -3126,7 +3243,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.date" + "path": "NestedObject.date", + "type": "payload" } ], "type": "generic" @@ -3141,7 +3259,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.uuid" + "path": "NestedObject.uuid", + "type": "payload" } ], "type": "generic" @@ -3156,7 +3275,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.base64" + "path": "NestedObject.base64", + "type": "payload" } ], "type": "generic" @@ -3167,8 +3287,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "list_=[$FERN_INPUT]", - "delimiter": ", ", + "containerTemplateString": "list_=[\n\t$FERN_INPUT\n]", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -3176,7 +3296,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -3193,8 +3314,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "set_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "set_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -3202,7 +3323,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -3219,8 +3341,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "map_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "map_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "keyTemplate": { "imports": [], "isOptional": true, @@ -3228,7 +3350,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -3240,7 +3363,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -3254,12 +3378,12 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -3291,14 +3415,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -3321,7 +3446,7 @@ "isOptional": true, "templateString": "await client.no_req_body.get_with_no_request_body(\n$FERN_INPUT\n)", "templateInputs": [], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -3344,7 +3469,7 @@ "isOptional": true, "templateString": "await client.no_req_body.post_with_no_request_body(\n$FERN_INPUT\n)", "templateInputs": [], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -3376,7 +3501,8 @@ "templateInputs": [ { "location": "HEADERS", - "path": "X-TEST-ENDPOINT-HEADER" + "path": "X-TEST-ENDPOINT-HEADER", + "type": "payload" } ], "type": "generic" @@ -3391,14 +3517,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" diff --git a/seed/python-sdk/exhaustive/five-second-timeout/snippet-templates.json b/seed/python-sdk/exhaustive/five-second-timeout/snippet-templates.json index e8361d710a1..7cafcf66364 100644 --- a/seed/python-sdk/exhaustive/five-second-timeout/snippet-templates.json +++ b/seed/python-sdk/exhaustive/five-second-timeout/snippet-templates.json @@ -21,8 +21,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "request=[$FERN_INPUT]", - "delimiter": ", ", + "containerTemplateString": "request=[\n\t\t$FERN_INPUT\n\t]", + "delimiter": ",\n\t\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -30,7 +30,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -43,7 +44,7 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -71,14 +72,14 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "request=[$FERN_INPUT]", - "delimiter": ", ", + "containerTemplateString": "request=[\n\t\t$FERN_INPUT\n\t]", + "delimiter": ",\n\t\t", "innerTemplate": { "imports": [ "from .object_with_required_field import ObjectWithRequiredField" ], "isOptional": true, - "templateString": "ObjectWithRequiredField($FERN_INPUT)", + "templateString": "ObjectWithRequiredField(\n\t\t\t$FERN_INPUT\n\t\t)", "templateInputs": [ { "type": "template", @@ -89,14 +90,15 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t\t", "type": "generic" }, "templateInput": { @@ -107,7 +109,7 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -135,8 +137,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "request={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "request={\n\t\t$FERN_INPUT\n\t}", + "delimiter": ",\n\t\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -144,7 +146,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -157,7 +160,7 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -185,14 +188,14 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "request={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "request={\n\t\t$FERN_INPUT\n\t}", + "delimiter": ",\n\t\t", "innerTemplate": { "imports": [ "from .object_with_required_field import ObjectWithRequiredField" ], "isOptional": true, - "templateString": "ObjectWithRequiredField($FERN_INPUT)", + "templateString": "ObjectWithRequiredField(\n\t\t\t$FERN_INPUT\n\t\t)", "templateInputs": [ { "type": "template", @@ -203,14 +206,15 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t\t", "type": "generic" }, "templateInput": { @@ -221,7 +225,7 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -249,8 +253,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "request={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "request={\n\t\t$FERN_INPUT\n\t}", + "delimiter": ",\n\t\t", "keyTemplate": { "imports": [], "isOptional": true, @@ -258,7 +262,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -270,7 +275,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -284,7 +290,7 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -312,8 +318,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "request={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "request={\n\t\t$FERN_INPUT\n\t}", + "delimiter": ",\n\t\t", "keyTemplate": { "imports": [], "isOptional": true, @@ -321,7 +327,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -331,7 +338,7 @@ "from .object_with_required_field import ObjectWithRequiredField" ], "isOptional": true, - "templateString": "ObjectWithRequiredField($FERN_INPUT)", + "templateString": "ObjectWithRequiredField(\n\t\t\t$FERN_INPUT\n\t\t)", "templateInputs": [ { "type": "template", @@ -342,14 +349,15 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t\t", "type": "generic" }, "keyValueSeparator": ": ", @@ -361,7 +369,7 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -391,7 +399,7 @@ "from .object_with_required_field import ObjectWithRequiredField" ], "isOptional": true, - "templateString": "request=ObjectWithRequiredField(\n$FERN_INPUT\n)", + "templateString": "request=ObjectWithRequiredField(\n\t\t$FERN_INPUT\n\t)", "templateInputs": [ { "type": "template", @@ -402,19 +410,20 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -457,7 +466,7 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -489,14 +498,15 @@ "templateInputs": [ { "location": "PATH", - "path": "id" + "path": "id", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -526,7 +536,7 @@ "from .object_with_required_field import ObjectWithRequiredField" ], "isOptional": true, - "templateString": "request=ObjectWithRequiredField(\n$FERN_INPUT\n)", + "templateString": "request=ObjectWithRequiredField(\n\t\t$FERN_INPUT\n\t)", "templateInputs": [ { "type": "template", @@ -537,19 +547,20 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -581,7 +592,8 @@ "templateInputs": [ { "location": "PATH", - "path": "id" + "path": "id", + "type": "payload" } ], "type": "generic" @@ -594,7 +606,7 @@ "from .object_with_required_field import ObjectWithRequiredField" ], "isOptional": true, - "templateString": "request=ObjectWithRequiredField(\n$FERN_INPUT\n)", + "templateString": "request=ObjectWithRequiredField(\n\t\t$FERN_INPUT\n\t)", "templateInputs": [ { "type": "template", @@ -605,19 +617,20 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -649,7 +662,8 @@ "templateInputs": [ { "location": "PATH", - "path": "id" + "path": "id", + "type": "payload" } ], "type": "generic" @@ -662,7 +676,7 @@ "from .object_with_optional_field import ObjectWithOptionalField" ], "isOptional": true, - "templateString": "request=ObjectWithOptionalField(\n$FERN_INPUT\n)", + "templateString": "request=ObjectWithOptionalField(\n\t\t$FERN_INPUT\n\t)", "templateInputs": [ { "type": "template", @@ -673,7 +687,8 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" @@ -688,7 +703,8 @@ "templateInputs": [ { "location": "BODY", - "path": "integer" + "path": "integer", + "type": "payload" } ], "type": "generic" @@ -703,7 +719,8 @@ "templateInputs": [ { "location": "BODY", - "path": "long" + "path": "long", + "type": "payload" } ], "type": "generic" @@ -718,7 +735,8 @@ "templateInputs": [ { "location": "BODY", - "path": "double" + "path": "double", + "type": "payload" } ], "type": "generic" @@ -733,7 +751,8 @@ "templateInputs": [ { "location": "BODY", - "path": "bool" + "path": "bool", + "type": "payload" } ], "type": "generic" @@ -748,7 +767,8 @@ "templateInputs": [ { "location": "BODY", - "path": "datetime" + "path": "datetime", + "type": "payload" } ], "type": "generic" @@ -763,7 +783,8 @@ "templateInputs": [ { "location": "BODY", - "path": "date" + "path": "date", + "type": "payload" } ], "type": "generic" @@ -778,7 +799,8 @@ "templateInputs": [ { "location": "BODY", - "path": "uuid" + "path": "uuid", + "type": "payload" } ], "type": "generic" @@ -793,7 +815,8 @@ "templateInputs": [ { "location": "BODY", - "path": "base64" + "path": "base64", + "type": "payload" } ], "type": "generic" @@ -804,8 +827,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "list_=[$FERN_INPUT]", - "delimiter": ", ", + "containerTemplateString": "list_=[\n\t$FERN_INPUT\n]", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -813,7 +836,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -830,8 +854,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "set_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "set_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -839,7 +863,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -856,8 +881,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "map_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "map_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "keyTemplate": { "imports": [], "isOptional": true, @@ -865,7 +890,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -877,7 +903,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -891,12 +918,12 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -928,14 +955,15 @@ "templateInputs": [ { "location": "PATH", - "path": "id" + "path": "id", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -965,7 +993,7 @@ "from .object_with_optional_field import ObjectWithOptionalField" ], "isOptional": true, - "templateString": "request=ObjectWithOptionalField(\n$FERN_INPUT\n)", + "templateString": "request=ObjectWithOptionalField(\n\t\t$FERN_INPUT\n\t)", "templateInputs": [ { "type": "template", @@ -976,7 +1004,8 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" @@ -991,7 +1020,8 @@ "templateInputs": [ { "location": "BODY", - "path": "integer" + "path": "integer", + "type": "payload" } ], "type": "generic" @@ -1006,7 +1036,8 @@ "templateInputs": [ { "location": "BODY", - "path": "long" + "path": "long", + "type": "payload" } ], "type": "generic" @@ -1021,7 +1052,8 @@ "templateInputs": [ { "location": "BODY", - "path": "double" + "path": "double", + "type": "payload" } ], "type": "generic" @@ -1036,7 +1068,8 @@ "templateInputs": [ { "location": "BODY", - "path": "bool" + "path": "bool", + "type": "payload" } ], "type": "generic" @@ -1051,7 +1084,8 @@ "templateInputs": [ { "location": "BODY", - "path": "datetime" + "path": "datetime", + "type": "payload" } ], "type": "generic" @@ -1066,7 +1100,8 @@ "templateInputs": [ { "location": "BODY", - "path": "date" + "path": "date", + "type": "payload" } ], "type": "generic" @@ -1081,7 +1116,8 @@ "templateInputs": [ { "location": "BODY", - "path": "uuid" + "path": "uuid", + "type": "payload" } ], "type": "generic" @@ -1096,7 +1132,8 @@ "templateInputs": [ { "location": "BODY", - "path": "base64" + "path": "base64", + "type": "payload" } ], "type": "generic" @@ -1107,8 +1144,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "list_=[$FERN_INPUT]", - "delimiter": ", ", + "containerTemplateString": "list_=[\n\t$FERN_INPUT\n]", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -1116,7 +1153,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1133,8 +1171,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "set_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "set_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -1142,7 +1180,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1159,8 +1198,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "map_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "map_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "keyTemplate": { "imports": [], "isOptional": true, @@ -1168,7 +1207,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1180,7 +1220,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1194,12 +1235,12 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -1229,7 +1270,7 @@ "from .object_with_required_field import ObjectWithRequiredField" ], "isOptional": true, - "templateString": "request=ObjectWithRequiredField(\n$FERN_INPUT\n)", + "templateString": "request=ObjectWithRequiredField(\n\t\t$FERN_INPUT\n\t)", "templateInputs": [ { "type": "template", @@ -1240,19 +1281,20 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -1282,15 +1324,15 @@ "from .object_with_map_of_map import ObjectWithMapOfMap" ], "isOptional": true, - "templateString": "request=ObjectWithMapOfMap(\n$FERN_INPUT\n)", + "templateString": "request=ObjectWithMapOfMap(\n\t\t$FERN_INPUT\n\t)", "templateInputs": [ { "type": "template", "value": { "imports": [], "isOptional": true, - "containerTemplateString": "map_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "map_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "keyTemplate": { "imports": [], "isOptional": true, @@ -1298,7 +1340,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1306,8 +1349,8 @@ "valueTemplate": { "imports": [], "isOptional": true, - "containerTemplateString": "{$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "{\n\t\t$FERN_INPUT\n\t}", + "delimiter": ",\n\t\t", "keyTemplate": { "imports": [], "isOptional": true, @@ -1315,7 +1358,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1327,7 +1371,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1348,12 +1393,12 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -1383,7 +1428,7 @@ "from .nested_object_with_optional_field import NestedObjectWithOptionalField" ], "isOptional": true, - "templateString": "request=NestedObjectWithOptionalField(\n$FERN_INPUT\n)", + "templateString": "request=NestedObjectWithOptionalField(\n\t\t$FERN_INPUT\n\t)", "templateInputs": [ { "type": "template", @@ -1394,7 +1439,8 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" @@ -1407,7 +1453,7 @@ "from .object_with_optional_field import ObjectWithOptionalField" ], "isOptional": true, - "templateString": "nested_object=ObjectWithOptionalField(\n$FERN_INPUT\n)", + "templateString": "nested_object=ObjectWithOptionalField(\n\t$FERN_INPUT\n)", "templateInputs": [ { "type": "template", @@ -1418,7 +1464,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.string" + "path": "NestedObject.string", + "type": "payload" } ], "type": "generic" @@ -1433,7 +1480,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.integer" + "path": "NestedObject.integer", + "type": "payload" } ], "type": "generic" @@ -1448,7 +1496,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.long" + "path": "NestedObject.long", + "type": "payload" } ], "type": "generic" @@ -1463,7 +1512,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.double" + "path": "NestedObject.double", + "type": "payload" } ], "type": "generic" @@ -1478,7 +1528,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.bool" + "path": "NestedObject.bool", + "type": "payload" } ], "type": "generic" @@ -1493,7 +1544,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.datetime" + "path": "NestedObject.datetime", + "type": "payload" } ], "type": "generic" @@ -1508,7 +1560,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.date" + "path": "NestedObject.date", + "type": "payload" } ], "type": "generic" @@ -1523,7 +1576,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.uuid" + "path": "NestedObject.uuid", + "type": "payload" } ], "type": "generic" @@ -1538,7 +1592,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.base64" + "path": "NestedObject.base64", + "type": "payload" } ], "type": "generic" @@ -1549,8 +1604,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "list_=[$FERN_INPUT]", - "delimiter": ", ", + "containerTemplateString": "list_=[\n\t$FERN_INPUT\n]", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -1558,7 +1613,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1575,8 +1631,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "set_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "set_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -1584,7 +1640,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1601,8 +1658,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "map_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "map_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "keyTemplate": { "imports": [], "isOptional": true, @@ -1610,7 +1667,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1622,7 +1680,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1636,17 +1695,17 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -1676,7 +1735,7 @@ "from .nested_object_with_required_field import NestedObjectWithRequiredField" ], "isOptional": true, - "templateString": "request=NestedObjectWithRequiredField(\n$FERN_INPUT\n)", + "templateString": "request=NestedObjectWithRequiredField(\n\t\t$FERN_INPUT\n\t)", "templateInputs": [ { "type": "template", @@ -1687,7 +1746,8 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" @@ -1700,7 +1760,7 @@ "from .object_with_optional_field import ObjectWithOptionalField" ], "isOptional": true, - "templateString": "nested_object=ObjectWithOptionalField(\n$FERN_INPUT\n)", + "templateString": "nested_object=ObjectWithOptionalField(\n\t$FERN_INPUT\n)", "templateInputs": [ { "type": "template", @@ -1711,7 +1771,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.string" + "path": "NestedObject.string", + "type": "payload" } ], "type": "generic" @@ -1726,7 +1787,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.integer" + "path": "NestedObject.integer", + "type": "payload" } ], "type": "generic" @@ -1741,7 +1803,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.long" + "path": "NestedObject.long", + "type": "payload" } ], "type": "generic" @@ -1756,7 +1819,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.double" + "path": "NestedObject.double", + "type": "payload" } ], "type": "generic" @@ -1771,7 +1835,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.bool" + "path": "NestedObject.bool", + "type": "payload" } ], "type": "generic" @@ -1786,7 +1851,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.datetime" + "path": "NestedObject.datetime", + "type": "payload" } ], "type": "generic" @@ -1801,7 +1867,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.date" + "path": "NestedObject.date", + "type": "payload" } ], "type": "generic" @@ -1816,7 +1883,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.uuid" + "path": "NestedObject.uuid", + "type": "payload" } ], "type": "generic" @@ -1831,7 +1899,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.base64" + "path": "NestedObject.base64", + "type": "payload" } ], "type": "generic" @@ -1842,8 +1911,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "list_=[$FERN_INPUT]", - "delimiter": ", ", + "containerTemplateString": "list_=[\n\t$FERN_INPUT\n]", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -1851,7 +1920,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1868,8 +1938,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "set_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "set_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -1877,7 +1947,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1894,8 +1965,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "map_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "map_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "keyTemplate": { "imports": [], "isOptional": true, @@ -1903,7 +1974,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1915,7 +1987,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1929,17 +2002,17 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -1967,14 +2040,14 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "request=[$FERN_INPUT]", - "delimiter": ", ", + "containerTemplateString": "request=[\n\t\t$FERN_INPUT\n\t]", + "delimiter": ",\n\t\t", "innerTemplate": { "imports": [ "from .nested_object_with_required_field import NestedObjectWithRequiredField" ], "isOptional": true, - "templateString": "NestedObjectWithRequiredField($FERN_INPUT)", + "templateString": "NestedObjectWithRequiredField(\n\t\t\t$FERN_INPUT\n\t\t)", "templateInputs": [ { "type": "template", @@ -1985,7 +2058,8 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" @@ -1998,7 +2072,7 @@ "from .object_with_optional_field import ObjectWithOptionalField" ], "isOptional": true, - "templateString": "nested_object=ObjectWithOptionalField(\n$FERN_INPUT\n)", + "templateString": "nested_object=ObjectWithOptionalField(\n\t$FERN_INPUT\n)", "templateInputs": [ { "type": "template", @@ -2009,7 +2083,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.string" + "path": "NestedObject.string", + "type": "payload" } ], "type": "generic" @@ -2024,7 +2099,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.integer" + "path": "NestedObject.integer", + "type": "payload" } ], "type": "generic" @@ -2039,7 +2115,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.long" + "path": "NestedObject.long", + "type": "payload" } ], "type": "generic" @@ -2054,7 +2131,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.double" + "path": "NestedObject.double", + "type": "payload" } ], "type": "generic" @@ -2069,7 +2147,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.bool" + "path": "NestedObject.bool", + "type": "payload" } ], "type": "generic" @@ -2084,7 +2163,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.datetime" + "path": "NestedObject.datetime", + "type": "payload" } ], "type": "generic" @@ -2099,7 +2179,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.date" + "path": "NestedObject.date", + "type": "payload" } ], "type": "generic" @@ -2114,7 +2195,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.uuid" + "path": "NestedObject.uuid", + "type": "payload" } ], "type": "generic" @@ -2129,7 +2211,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.base64" + "path": "NestedObject.base64", + "type": "payload" } ], "type": "generic" @@ -2140,8 +2223,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "list_=[$FERN_INPUT]", - "delimiter": ", ", + "containerTemplateString": "list_=[\n\t$FERN_INPUT\n]", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -2149,7 +2232,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -2166,8 +2250,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "set_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "set_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -2175,7 +2259,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -2192,8 +2277,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "map_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "map_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "keyTemplate": { "imports": [], "isOptional": true, @@ -2201,7 +2286,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -2213,7 +2299,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -2227,12 +2314,12 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t\t", "type": "generic" }, "templateInput": { @@ -2243,7 +2330,7 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2275,14 +2362,15 @@ "templateInputs": [ { "location": "PATH", - "path": "param" + "path": "param", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2314,7 +2402,8 @@ "templateInputs": [ { "location": "QUERY", - "path": "query" + "path": "query", + "type": "payload" } ], "type": "generic" @@ -2329,14 +2418,15 @@ "templateInputs": [ { "location": "QUERY", - "path": "number" + "path": "number", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2368,7 +2458,8 @@ "templateInputs": [ { "location": "QUERY", - "path": "query" + "path": "query", + "type": "payload" } ], "type": "generic" @@ -2383,14 +2474,15 @@ "templateInputs": [ { "location": "QUERY", - "path": "numer" + "path": "numer", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2422,7 +2514,8 @@ "templateInputs": [ { "location": "PATH", - "path": "param" + "path": "param", + "type": "payload" } ], "type": "generic" @@ -2437,14 +2530,15 @@ "templateInputs": [ { "location": "QUERY", - "path": "query" + "path": "query", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2476,7 +2570,8 @@ "templateInputs": [ { "location": "PATH", - "path": "param" + "path": "param", + "type": "payload" } ], "type": "generic" @@ -2491,14 +2586,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2530,14 +2626,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2569,14 +2666,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2608,14 +2706,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2647,14 +2746,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2686,14 +2786,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2725,14 +2826,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2764,14 +2866,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2803,14 +2906,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2842,14 +2946,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2896,7 +3001,8 @@ "templateInputs": [ { "location": "BODY", - "path": "name" + "path": "name", + "type": "payload" } ], "type": "generic" @@ -2911,7 +3017,8 @@ "templateInputs": [ { "location": "BODY", - "path": "likesToWoof" + "path": "likesToWoof", + "type": "payload" } ], "type": "generic" @@ -2936,7 +3043,8 @@ "templateInputs": [ { "location": "BODY", - "path": "name" + "path": "name", + "type": "payload" } ], "type": "generic" @@ -2951,7 +3059,8 @@ "templateInputs": [ { "location": "BODY", - "path": "likesToMeow" + "path": "likesToMeow", + "type": "payload" } ], "type": "generic" @@ -2965,7 +3074,7 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2997,7 +3106,8 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" @@ -3012,7 +3122,8 @@ "templateInputs": [ { "location": "BODY", - "path": "integer" + "path": "integer", + "type": "payload" } ], "type": "generic" @@ -3025,7 +3136,7 @@ "from .object_with_optional_field import ObjectWithOptionalField" ], "isOptional": true, - "templateString": "nested_object=ObjectWithOptionalField(\n$FERN_INPUT\n)", + "templateString": "nested_object=ObjectWithOptionalField(\n\t\t$FERN_INPUT\n\t)", "templateInputs": [ { "type": "template", @@ -3036,7 +3147,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.string" + "path": "NestedObject.string", + "type": "payload" } ], "type": "generic" @@ -3051,7 +3163,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.integer" + "path": "NestedObject.integer", + "type": "payload" } ], "type": "generic" @@ -3066,7 +3179,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.long" + "path": "NestedObject.long", + "type": "payload" } ], "type": "generic" @@ -3081,7 +3195,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.double" + "path": "NestedObject.double", + "type": "payload" } ], "type": "generic" @@ -3096,7 +3211,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.bool" + "path": "NestedObject.bool", + "type": "payload" } ], "type": "generic" @@ -3111,7 +3227,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.datetime" + "path": "NestedObject.datetime", + "type": "payload" } ], "type": "generic" @@ -3126,7 +3243,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.date" + "path": "NestedObject.date", + "type": "payload" } ], "type": "generic" @@ -3141,7 +3259,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.uuid" + "path": "NestedObject.uuid", + "type": "payload" } ], "type": "generic" @@ -3156,7 +3275,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.base64" + "path": "NestedObject.base64", + "type": "payload" } ], "type": "generic" @@ -3167,8 +3287,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "list_=[$FERN_INPUT]", - "delimiter": ", ", + "containerTemplateString": "list_=[\n\t$FERN_INPUT\n]", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -3176,7 +3296,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -3193,8 +3314,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "set_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "set_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -3202,7 +3323,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -3219,8 +3341,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "map_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "map_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "keyTemplate": { "imports": [], "isOptional": true, @@ -3228,7 +3350,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -3240,7 +3363,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -3254,12 +3378,12 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -3291,14 +3415,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -3321,7 +3446,7 @@ "isOptional": true, "templateString": "await client.no_req_body.get_with_no_request_body(\n$FERN_INPUT\n)", "templateInputs": [], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -3344,7 +3469,7 @@ "isOptional": true, "templateString": "await client.no_req_body.post_with_no_request_body(\n$FERN_INPUT\n)", "templateInputs": [], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -3376,7 +3501,8 @@ "templateInputs": [ { "location": "HEADERS", - "path": "X-TEST-ENDPOINT-HEADER" + "path": "X-TEST-ENDPOINT-HEADER", + "type": "payload" } ], "type": "generic" @@ -3391,14 +3517,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" diff --git a/seed/python-sdk/exhaustive/follow_redirects_by_default/snippet-templates.json b/seed/python-sdk/exhaustive/follow_redirects_by_default/snippet-templates.json index e8361d710a1..7cafcf66364 100644 --- a/seed/python-sdk/exhaustive/follow_redirects_by_default/snippet-templates.json +++ b/seed/python-sdk/exhaustive/follow_redirects_by_default/snippet-templates.json @@ -21,8 +21,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "request=[$FERN_INPUT]", - "delimiter": ", ", + "containerTemplateString": "request=[\n\t\t$FERN_INPUT\n\t]", + "delimiter": ",\n\t\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -30,7 +30,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -43,7 +44,7 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -71,14 +72,14 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "request=[$FERN_INPUT]", - "delimiter": ", ", + "containerTemplateString": "request=[\n\t\t$FERN_INPUT\n\t]", + "delimiter": ",\n\t\t", "innerTemplate": { "imports": [ "from .object_with_required_field import ObjectWithRequiredField" ], "isOptional": true, - "templateString": "ObjectWithRequiredField($FERN_INPUT)", + "templateString": "ObjectWithRequiredField(\n\t\t\t$FERN_INPUT\n\t\t)", "templateInputs": [ { "type": "template", @@ -89,14 +90,15 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t\t", "type": "generic" }, "templateInput": { @@ -107,7 +109,7 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -135,8 +137,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "request={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "request={\n\t\t$FERN_INPUT\n\t}", + "delimiter": ",\n\t\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -144,7 +146,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -157,7 +160,7 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -185,14 +188,14 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "request={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "request={\n\t\t$FERN_INPUT\n\t}", + "delimiter": ",\n\t\t", "innerTemplate": { "imports": [ "from .object_with_required_field import ObjectWithRequiredField" ], "isOptional": true, - "templateString": "ObjectWithRequiredField($FERN_INPUT)", + "templateString": "ObjectWithRequiredField(\n\t\t\t$FERN_INPUT\n\t\t)", "templateInputs": [ { "type": "template", @@ -203,14 +206,15 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t\t", "type": "generic" }, "templateInput": { @@ -221,7 +225,7 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -249,8 +253,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "request={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "request={\n\t\t$FERN_INPUT\n\t}", + "delimiter": ",\n\t\t", "keyTemplate": { "imports": [], "isOptional": true, @@ -258,7 +262,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -270,7 +275,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -284,7 +290,7 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -312,8 +318,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "request={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "request={\n\t\t$FERN_INPUT\n\t}", + "delimiter": ",\n\t\t", "keyTemplate": { "imports": [], "isOptional": true, @@ -321,7 +327,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -331,7 +338,7 @@ "from .object_with_required_field import ObjectWithRequiredField" ], "isOptional": true, - "templateString": "ObjectWithRequiredField($FERN_INPUT)", + "templateString": "ObjectWithRequiredField(\n\t\t\t$FERN_INPUT\n\t\t)", "templateInputs": [ { "type": "template", @@ -342,14 +349,15 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t\t", "type": "generic" }, "keyValueSeparator": ": ", @@ -361,7 +369,7 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -391,7 +399,7 @@ "from .object_with_required_field import ObjectWithRequiredField" ], "isOptional": true, - "templateString": "request=ObjectWithRequiredField(\n$FERN_INPUT\n)", + "templateString": "request=ObjectWithRequiredField(\n\t\t$FERN_INPUT\n\t)", "templateInputs": [ { "type": "template", @@ -402,19 +410,20 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -457,7 +466,7 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -489,14 +498,15 @@ "templateInputs": [ { "location": "PATH", - "path": "id" + "path": "id", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -526,7 +536,7 @@ "from .object_with_required_field import ObjectWithRequiredField" ], "isOptional": true, - "templateString": "request=ObjectWithRequiredField(\n$FERN_INPUT\n)", + "templateString": "request=ObjectWithRequiredField(\n\t\t$FERN_INPUT\n\t)", "templateInputs": [ { "type": "template", @@ -537,19 +547,20 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -581,7 +592,8 @@ "templateInputs": [ { "location": "PATH", - "path": "id" + "path": "id", + "type": "payload" } ], "type": "generic" @@ -594,7 +606,7 @@ "from .object_with_required_field import ObjectWithRequiredField" ], "isOptional": true, - "templateString": "request=ObjectWithRequiredField(\n$FERN_INPUT\n)", + "templateString": "request=ObjectWithRequiredField(\n\t\t$FERN_INPUT\n\t)", "templateInputs": [ { "type": "template", @@ -605,19 +617,20 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -649,7 +662,8 @@ "templateInputs": [ { "location": "PATH", - "path": "id" + "path": "id", + "type": "payload" } ], "type": "generic" @@ -662,7 +676,7 @@ "from .object_with_optional_field import ObjectWithOptionalField" ], "isOptional": true, - "templateString": "request=ObjectWithOptionalField(\n$FERN_INPUT\n)", + "templateString": "request=ObjectWithOptionalField(\n\t\t$FERN_INPUT\n\t)", "templateInputs": [ { "type": "template", @@ -673,7 +687,8 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" @@ -688,7 +703,8 @@ "templateInputs": [ { "location": "BODY", - "path": "integer" + "path": "integer", + "type": "payload" } ], "type": "generic" @@ -703,7 +719,8 @@ "templateInputs": [ { "location": "BODY", - "path": "long" + "path": "long", + "type": "payload" } ], "type": "generic" @@ -718,7 +735,8 @@ "templateInputs": [ { "location": "BODY", - "path": "double" + "path": "double", + "type": "payload" } ], "type": "generic" @@ -733,7 +751,8 @@ "templateInputs": [ { "location": "BODY", - "path": "bool" + "path": "bool", + "type": "payload" } ], "type": "generic" @@ -748,7 +767,8 @@ "templateInputs": [ { "location": "BODY", - "path": "datetime" + "path": "datetime", + "type": "payload" } ], "type": "generic" @@ -763,7 +783,8 @@ "templateInputs": [ { "location": "BODY", - "path": "date" + "path": "date", + "type": "payload" } ], "type": "generic" @@ -778,7 +799,8 @@ "templateInputs": [ { "location": "BODY", - "path": "uuid" + "path": "uuid", + "type": "payload" } ], "type": "generic" @@ -793,7 +815,8 @@ "templateInputs": [ { "location": "BODY", - "path": "base64" + "path": "base64", + "type": "payload" } ], "type": "generic" @@ -804,8 +827,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "list_=[$FERN_INPUT]", - "delimiter": ", ", + "containerTemplateString": "list_=[\n\t$FERN_INPUT\n]", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -813,7 +836,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -830,8 +854,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "set_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "set_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -839,7 +863,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -856,8 +881,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "map_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "map_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "keyTemplate": { "imports": [], "isOptional": true, @@ -865,7 +890,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -877,7 +903,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -891,12 +918,12 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -928,14 +955,15 @@ "templateInputs": [ { "location": "PATH", - "path": "id" + "path": "id", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -965,7 +993,7 @@ "from .object_with_optional_field import ObjectWithOptionalField" ], "isOptional": true, - "templateString": "request=ObjectWithOptionalField(\n$FERN_INPUT\n)", + "templateString": "request=ObjectWithOptionalField(\n\t\t$FERN_INPUT\n\t)", "templateInputs": [ { "type": "template", @@ -976,7 +1004,8 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" @@ -991,7 +1020,8 @@ "templateInputs": [ { "location": "BODY", - "path": "integer" + "path": "integer", + "type": "payload" } ], "type": "generic" @@ -1006,7 +1036,8 @@ "templateInputs": [ { "location": "BODY", - "path": "long" + "path": "long", + "type": "payload" } ], "type": "generic" @@ -1021,7 +1052,8 @@ "templateInputs": [ { "location": "BODY", - "path": "double" + "path": "double", + "type": "payload" } ], "type": "generic" @@ -1036,7 +1068,8 @@ "templateInputs": [ { "location": "BODY", - "path": "bool" + "path": "bool", + "type": "payload" } ], "type": "generic" @@ -1051,7 +1084,8 @@ "templateInputs": [ { "location": "BODY", - "path": "datetime" + "path": "datetime", + "type": "payload" } ], "type": "generic" @@ -1066,7 +1100,8 @@ "templateInputs": [ { "location": "BODY", - "path": "date" + "path": "date", + "type": "payload" } ], "type": "generic" @@ -1081,7 +1116,8 @@ "templateInputs": [ { "location": "BODY", - "path": "uuid" + "path": "uuid", + "type": "payload" } ], "type": "generic" @@ -1096,7 +1132,8 @@ "templateInputs": [ { "location": "BODY", - "path": "base64" + "path": "base64", + "type": "payload" } ], "type": "generic" @@ -1107,8 +1144,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "list_=[$FERN_INPUT]", - "delimiter": ", ", + "containerTemplateString": "list_=[\n\t$FERN_INPUT\n]", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -1116,7 +1153,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1133,8 +1171,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "set_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "set_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -1142,7 +1180,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1159,8 +1198,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "map_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "map_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "keyTemplate": { "imports": [], "isOptional": true, @@ -1168,7 +1207,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1180,7 +1220,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1194,12 +1235,12 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -1229,7 +1270,7 @@ "from .object_with_required_field import ObjectWithRequiredField" ], "isOptional": true, - "templateString": "request=ObjectWithRequiredField(\n$FERN_INPUT\n)", + "templateString": "request=ObjectWithRequiredField(\n\t\t$FERN_INPUT\n\t)", "templateInputs": [ { "type": "template", @@ -1240,19 +1281,20 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -1282,15 +1324,15 @@ "from .object_with_map_of_map import ObjectWithMapOfMap" ], "isOptional": true, - "templateString": "request=ObjectWithMapOfMap(\n$FERN_INPUT\n)", + "templateString": "request=ObjectWithMapOfMap(\n\t\t$FERN_INPUT\n\t)", "templateInputs": [ { "type": "template", "value": { "imports": [], "isOptional": true, - "containerTemplateString": "map_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "map_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "keyTemplate": { "imports": [], "isOptional": true, @@ -1298,7 +1340,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1306,8 +1349,8 @@ "valueTemplate": { "imports": [], "isOptional": true, - "containerTemplateString": "{$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "{\n\t\t$FERN_INPUT\n\t}", + "delimiter": ",\n\t\t", "keyTemplate": { "imports": [], "isOptional": true, @@ -1315,7 +1358,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1327,7 +1371,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1348,12 +1393,12 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -1383,7 +1428,7 @@ "from .nested_object_with_optional_field import NestedObjectWithOptionalField" ], "isOptional": true, - "templateString": "request=NestedObjectWithOptionalField(\n$FERN_INPUT\n)", + "templateString": "request=NestedObjectWithOptionalField(\n\t\t$FERN_INPUT\n\t)", "templateInputs": [ { "type": "template", @@ -1394,7 +1439,8 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" @@ -1407,7 +1453,7 @@ "from .object_with_optional_field import ObjectWithOptionalField" ], "isOptional": true, - "templateString": "nested_object=ObjectWithOptionalField(\n$FERN_INPUT\n)", + "templateString": "nested_object=ObjectWithOptionalField(\n\t$FERN_INPUT\n)", "templateInputs": [ { "type": "template", @@ -1418,7 +1464,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.string" + "path": "NestedObject.string", + "type": "payload" } ], "type": "generic" @@ -1433,7 +1480,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.integer" + "path": "NestedObject.integer", + "type": "payload" } ], "type": "generic" @@ -1448,7 +1496,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.long" + "path": "NestedObject.long", + "type": "payload" } ], "type": "generic" @@ -1463,7 +1512,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.double" + "path": "NestedObject.double", + "type": "payload" } ], "type": "generic" @@ -1478,7 +1528,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.bool" + "path": "NestedObject.bool", + "type": "payload" } ], "type": "generic" @@ -1493,7 +1544,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.datetime" + "path": "NestedObject.datetime", + "type": "payload" } ], "type": "generic" @@ -1508,7 +1560,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.date" + "path": "NestedObject.date", + "type": "payload" } ], "type": "generic" @@ -1523,7 +1576,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.uuid" + "path": "NestedObject.uuid", + "type": "payload" } ], "type": "generic" @@ -1538,7 +1592,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.base64" + "path": "NestedObject.base64", + "type": "payload" } ], "type": "generic" @@ -1549,8 +1604,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "list_=[$FERN_INPUT]", - "delimiter": ", ", + "containerTemplateString": "list_=[\n\t$FERN_INPUT\n]", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -1558,7 +1613,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1575,8 +1631,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "set_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "set_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -1584,7 +1640,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1601,8 +1658,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "map_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "map_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "keyTemplate": { "imports": [], "isOptional": true, @@ -1610,7 +1667,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1622,7 +1680,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1636,17 +1695,17 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -1676,7 +1735,7 @@ "from .nested_object_with_required_field import NestedObjectWithRequiredField" ], "isOptional": true, - "templateString": "request=NestedObjectWithRequiredField(\n$FERN_INPUT\n)", + "templateString": "request=NestedObjectWithRequiredField(\n\t\t$FERN_INPUT\n\t)", "templateInputs": [ { "type": "template", @@ -1687,7 +1746,8 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" @@ -1700,7 +1760,7 @@ "from .object_with_optional_field import ObjectWithOptionalField" ], "isOptional": true, - "templateString": "nested_object=ObjectWithOptionalField(\n$FERN_INPUT\n)", + "templateString": "nested_object=ObjectWithOptionalField(\n\t$FERN_INPUT\n)", "templateInputs": [ { "type": "template", @@ -1711,7 +1771,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.string" + "path": "NestedObject.string", + "type": "payload" } ], "type": "generic" @@ -1726,7 +1787,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.integer" + "path": "NestedObject.integer", + "type": "payload" } ], "type": "generic" @@ -1741,7 +1803,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.long" + "path": "NestedObject.long", + "type": "payload" } ], "type": "generic" @@ -1756,7 +1819,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.double" + "path": "NestedObject.double", + "type": "payload" } ], "type": "generic" @@ -1771,7 +1835,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.bool" + "path": "NestedObject.bool", + "type": "payload" } ], "type": "generic" @@ -1786,7 +1851,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.datetime" + "path": "NestedObject.datetime", + "type": "payload" } ], "type": "generic" @@ -1801,7 +1867,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.date" + "path": "NestedObject.date", + "type": "payload" } ], "type": "generic" @@ -1816,7 +1883,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.uuid" + "path": "NestedObject.uuid", + "type": "payload" } ], "type": "generic" @@ -1831,7 +1899,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.base64" + "path": "NestedObject.base64", + "type": "payload" } ], "type": "generic" @@ -1842,8 +1911,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "list_=[$FERN_INPUT]", - "delimiter": ", ", + "containerTemplateString": "list_=[\n\t$FERN_INPUT\n]", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -1851,7 +1920,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1868,8 +1938,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "set_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "set_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -1877,7 +1947,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1894,8 +1965,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "map_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "map_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "keyTemplate": { "imports": [], "isOptional": true, @@ -1903,7 +1974,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1915,7 +1987,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1929,17 +2002,17 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -1967,14 +2040,14 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "request=[$FERN_INPUT]", - "delimiter": ", ", + "containerTemplateString": "request=[\n\t\t$FERN_INPUT\n\t]", + "delimiter": ",\n\t\t", "innerTemplate": { "imports": [ "from .nested_object_with_required_field import NestedObjectWithRequiredField" ], "isOptional": true, - "templateString": "NestedObjectWithRequiredField($FERN_INPUT)", + "templateString": "NestedObjectWithRequiredField(\n\t\t\t$FERN_INPUT\n\t\t)", "templateInputs": [ { "type": "template", @@ -1985,7 +2058,8 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" @@ -1998,7 +2072,7 @@ "from .object_with_optional_field import ObjectWithOptionalField" ], "isOptional": true, - "templateString": "nested_object=ObjectWithOptionalField(\n$FERN_INPUT\n)", + "templateString": "nested_object=ObjectWithOptionalField(\n\t$FERN_INPUT\n)", "templateInputs": [ { "type": "template", @@ -2009,7 +2083,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.string" + "path": "NestedObject.string", + "type": "payload" } ], "type": "generic" @@ -2024,7 +2099,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.integer" + "path": "NestedObject.integer", + "type": "payload" } ], "type": "generic" @@ -2039,7 +2115,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.long" + "path": "NestedObject.long", + "type": "payload" } ], "type": "generic" @@ -2054,7 +2131,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.double" + "path": "NestedObject.double", + "type": "payload" } ], "type": "generic" @@ -2069,7 +2147,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.bool" + "path": "NestedObject.bool", + "type": "payload" } ], "type": "generic" @@ -2084,7 +2163,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.datetime" + "path": "NestedObject.datetime", + "type": "payload" } ], "type": "generic" @@ -2099,7 +2179,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.date" + "path": "NestedObject.date", + "type": "payload" } ], "type": "generic" @@ -2114,7 +2195,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.uuid" + "path": "NestedObject.uuid", + "type": "payload" } ], "type": "generic" @@ -2129,7 +2211,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.base64" + "path": "NestedObject.base64", + "type": "payload" } ], "type": "generic" @@ -2140,8 +2223,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "list_=[$FERN_INPUT]", - "delimiter": ", ", + "containerTemplateString": "list_=[\n\t$FERN_INPUT\n]", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -2149,7 +2232,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -2166,8 +2250,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "set_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "set_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -2175,7 +2259,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -2192,8 +2277,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "map_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "map_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "keyTemplate": { "imports": [], "isOptional": true, @@ -2201,7 +2286,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -2213,7 +2299,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -2227,12 +2314,12 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t\t", "type": "generic" }, "templateInput": { @@ -2243,7 +2330,7 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2275,14 +2362,15 @@ "templateInputs": [ { "location": "PATH", - "path": "param" + "path": "param", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2314,7 +2402,8 @@ "templateInputs": [ { "location": "QUERY", - "path": "query" + "path": "query", + "type": "payload" } ], "type": "generic" @@ -2329,14 +2418,15 @@ "templateInputs": [ { "location": "QUERY", - "path": "number" + "path": "number", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2368,7 +2458,8 @@ "templateInputs": [ { "location": "QUERY", - "path": "query" + "path": "query", + "type": "payload" } ], "type": "generic" @@ -2383,14 +2474,15 @@ "templateInputs": [ { "location": "QUERY", - "path": "numer" + "path": "numer", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2422,7 +2514,8 @@ "templateInputs": [ { "location": "PATH", - "path": "param" + "path": "param", + "type": "payload" } ], "type": "generic" @@ -2437,14 +2530,15 @@ "templateInputs": [ { "location": "QUERY", - "path": "query" + "path": "query", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2476,7 +2570,8 @@ "templateInputs": [ { "location": "PATH", - "path": "param" + "path": "param", + "type": "payload" } ], "type": "generic" @@ -2491,14 +2586,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2530,14 +2626,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2569,14 +2666,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2608,14 +2706,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2647,14 +2746,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2686,14 +2786,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2725,14 +2826,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2764,14 +2866,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2803,14 +2906,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2842,14 +2946,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2896,7 +3001,8 @@ "templateInputs": [ { "location": "BODY", - "path": "name" + "path": "name", + "type": "payload" } ], "type": "generic" @@ -2911,7 +3017,8 @@ "templateInputs": [ { "location": "BODY", - "path": "likesToWoof" + "path": "likesToWoof", + "type": "payload" } ], "type": "generic" @@ -2936,7 +3043,8 @@ "templateInputs": [ { "location": "BODY", - "path": "name" + "path": "name", + "type": "payload" } ], "type": "generic" @@ -2951,7 +3059,8 @@ "templateInputs": [ { "location": "BODY", - "path": "likesToMeow" + "path": "likesToMeow", + "type": "payload" } ], "type": "generic" @@ -2965,7 +3074,7 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2997,7 +3106,8 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" @@ -3012,7 +3122,8 @@ "templateInputs": [ { "location": "BODY", - "path": "integer" + "path": "integer", + "type": "payload" } ], "type": "generic" @@ -3025,7 +3136,7 @@ "from .object_with_optional_field import ObjectWithOptionalField" ], "isOptional": true, - "templateString": "nested_object=ObjectWithOptionalField(\n$FERN_INPUT\n)", + "templateString": "nested_object=ObjectWithOptionalField(\n\t\t$FERN_INPUT\n\t)", "templateInputs": [ { "type": "template", @@ -3036,7 +3147,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.string" + "path": "NestedObject.string", + "type": "payload" } ], "type": "generic" @@ -3051,7 +3163,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.integer" + "path": "NestedObject.integer", + "type": "payload" } ], "type": "generic" @@ -3066,7 +3179,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.long" + "path": "NestedObject.long", + "type": "payload" } ], "type": "generic" @@ -3081,7 +3195,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.double" + "path": "NestedObject.double", + "type": "payload" } ], "type": "generic" @@ -3096,7 +3211,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.bool" + "path": "NestedObject.bool", + "type": "payload" } ], "type": "generic" @@ -3111,7 +3227,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.datetime" + "path": "NestedObject.datetime", + "type": "payload" } ], "type": "generic" @@ -3126,7 +3243,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.date" + "path": "NestedObject.date", + "type": "payload" } ], "type": "generic" @@ -3141,7 +3259,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.uuid" + "path": "NestedObject.uuid", + "type": "payload" } ], "type": "generic" @@ -3156,7 +3275,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.base64" + "path": "NestedObject.base64", + "type": "payload" } ], "type": "generic" @@ -3167,8 +3287,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "list_=[$FERN_INPUT]", - "delimiter": ", ", + "containerTemplateString": "list_=[\n\t$FERN_INPUT\n]", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -3176,7 +3296,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -3193,8 +3314,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "set_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "set_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -3202,7 +3323,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -3219,8 +3341,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "map_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "map_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "keyTemplate": { "imports": [], "isOptional": true, @@ -3228,7 +3350,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -3240,7 +3363,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -3254,12 +3378,12 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -3291,14 +3415,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -3321,7 +3446,7 @@ "isOptional": true, "templateString": "await client.no_req_body.get_with_no_request_body(\n$FERN_INPUT\n)", "templateInputs": [], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -3344,7 +3469,7 @@ "isOptional": true, "templateString": "await client.no_req_body.post_with_no_request_body(\n$FERN_INPUT\n)", "templateInputs": [], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -3376,7 +3501,8 @@ "templateInputs": [ { "location": "HEADERS", - "path": "X-TEST-ENDPOINT-HEADER" + "path": "X-TEST-ENDPOINT-HEADER", + "type": "payload" } ], "type": "generic" @@ -3391,14 +3517,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" diff --git a/seed/python-sdk/exhaustive/improved_imports/snippet-templates.json b/seed/python-sdk/exhaustive/improved_imports/snippet-templates.json index e8361d710a1..7cafcf66364 100644 --- a/seed/python-sdk/exhaustive/improved_imports/snippet-templates.json +++ b/seed/python-sdk/exhaustive/improved_imports/snippet-templates.json @@ -21,8 +21,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "request=[$FERN_INPUT]", - "delimiter": ", ", + "containerTemplateString": "request=[\n\t\t$FERN_INPUT\n\t]", + "delimiter": ",\n\t\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -30,7 +30,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -43,7 +44,7 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -71,14 +72,14 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "request=[$FERN_INPUT]", - "delimiter": ", ", + "containerTemplateString": "request=[\n\t\t$FERN_INPUT\n\t]", + "delimiter": ",\n\t\t", "innerTemplate": { "imports": [ "from .object_with_required_field import ObjectWithRequiredField" ], "isOptional": true, - "templateString": "ObjectWithRequiredField($FERN_INPUT)", + "templateString": "ObjectWithRequiredField(\n\t\t\t$FERN_INPUT\n\t\t)", "templateInputs": [ { "type": "template", @@ -89,14 +90,15 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t\t", "type": "generic" }, "templateInput": { @@ -107,7 +109,7 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -135,8 +137,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "request={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "request={\n\t\t$FERN_INPUT\n\t}", + "delimiter": ",\n\t\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -144,7 +146,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -157,7 +160,7 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -185,14 +188,14 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "request={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "request={\n\t\t$FERN_INPUT\n\t}", + "delimiter": ",\n\t\t", "innerTemplate": { "imports": [ "from .object_with_required_field import ObjectWithRequiredField" ], "isOptional": true, - "templateString": "ObjectWithRequiredField($FERN_INPUT)", + "templateString": "ObjectWithRequiredField(\n\t\t\t$FERN_INPUT\n\t\t)", "templateInputs": [ { "type": "template", @@ -203,14 +206,15 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t\t", "type": "generic" }, "templateInput": { @@ -221,7 +225,7 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -249,8 +253,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "request={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "request={\n\t\t$FERN_INPUT\n\t}", + "delimiter": ",\n\t\t", "keyTemplate": { "imports": [], "isOptional": true, @@ -258,7 +262,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -270,7 +275,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -284,7 +290,7 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -312,8 +318,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "request={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "request={\n\t\t$FERN_INPUT\n\t}", + "delimiter": ",\n\t\t", "keyTemplate": { "imports": [], "isOptional": true, @@ -321,7 +327,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -331,7 +338,7 @@ "from .object_with_required_field import ObjectWithRequiredField" ], "isOptional": true, - "templateString": "ObjectWithRequiredField($FERN_INPUT)", + "templateString": "ObjectWithRequiredField(\n\t\t\t$FERN_INPUT\n\t\t)", "templateInputs": [ { "type": "template", @@ -342,14 +349,15 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t\t", "type": "generic" }, "keyValueSeparator": ": ", @@ -361,7 +369,7 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -391,7 +399,7 @@ "from .object_with_required_field import ObjectWithRequiredField" ], "isOptional": true, - "templateString": "request=ObjectWithRequiredField(\n$FERN_INPUT\n)", + "templateString": "request=ObjectWithRequiredField(\n\t\t$FERN_INPUT\n\t)", "templateInputs": [ { "type": "template", @@ -402,19 +410,20 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -457,7 +466,7 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -489,14 +498,15 @@ "templateInputs": [ { "location": "PATH", - "path": "id" + "path": "id", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -526,7 +536,7 @@ "from .object_with_required_field import ObjectWithRequiredField" ], "isOptional": true, - "templateString": "request=ObjectWithRequiredField(\n$FERN_INPUT\n)", + "templateString": "request=ObjectWithRequiredField(\n\t\t$FERN_INPUT\n\t)", "templateInputs": [ { "type": "template", @@ -537,19 +547,20 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -581,7 +592,8 @@ "templateInputs": [ { "location": "PATH", - "path": "id" + "path": "id", + "type": "payload" } ], "type": "generic" @@ -594,7 +606,7 @@ "from .object_with_required_field import ObjectWithRequiredField" ], "isOptional": true, - "templateString": "request=ObjectWithRequiredField(\n$FERN_INPUT\n)", + "templateString": "request=ObjectWithRequiredField(\n\t\t$FERN_INPUT\n\t)", "templateInputs": [ { "type": "template", @@ -605,19 +617,20 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -649,7 +662,8 @@ "templateInputs": [ { "location": "PATH", - "path": "id" + "path": "id", + "type": "payload" } ], "type": "generic" @@ -662,7 +676,7 @@ "from .object_with_optional_field import ObjectWithOptionalField" ], "isOptional": true, - "templateString": "request=ObjectWithOptionalField(\n$FERN_INPUT\n)", + "templateString": "request=ObjectWithOptionalField(\n\t\t$FERN_INPUT\n\t)", "templateInputs": [ { "type": "template", @@ -673,7 +687,8 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" @@ -688,7 +703,8 @@ "templateInputs": [ { "location": "BODY", - "path": "integer" + "path": "integer", + "type": "payload" } ], "type": "generic" @@ -703,7 +719,8 @@ "templateInputs": [ { "location": "BODY", - "path": "long" + "path": "long", + "type": "payload" } ], "type": "generic" @@ -718,7 +735,8 @@ "templateInputs": [ { "location": "BODY", - "path": "double" + "path": "double", + "type": "payload" } ], "type": "generic" @@ -733,7 +751,8 @@ "templateInputs": [ { "location": "BODY", - "path": "bool" + "path": "bool", + "type": "payload" } ], "type": "generic" @@ -748,7 +767,8 @@ "templateInputs": [ { "location": "BODY", - "path": "datetime" + "path": "datetime", + "type": "payload" } ], "type": "generic" @@ -763,7 +783,8 @@ "templateInputs": [ { "location": "BODY", - "path": "date" + "path": "date", + "type": "payload" } ], "type": "generic" @@ -778,7 +799,8 @@ "templateInputs": [ { "location": "BODY", - "path": "uuid" + "path": "uuid", + "type": "payload" } ], "type": "generic" @@ -793,7 +815,8 @@ "templateInputs": [ { "location": "BODY", - "path": "base64" + "path": "base64", + "type": "payload" } ], "type": "generic" @@ -804,8 +827,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "list_=[$FERN_INPUT]", - "delimiter": ", ", + "containerTemplateString": "list_=[\n\t$FERN_INPUT\n]", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -813,7 +836,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -830,8 +854,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "set_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "set_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -839,7 +863,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -856,8 +881,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "map_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "map_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "keyTemplate": { "imports": [], "isOptional": true, @@ -865,7 +890,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -877,7 +903,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -891,12 +918,12 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -928,14 +955,15 @@ "templateInputs": [ { "location": "PATH", - "path": "id" + "path": "id", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -965,7 +993,7 @@ "from .object_with_optional_field import ObjectWithOptionalField" ], "isOptional": true, - "templateString": "request=ObjectWithOptionalField(\n$FERN_INPUT\n)", + "templateString": "request=ObjectWithOptionalField(\n\t\t$FERN_INPUT\n\t)", "templateInputs": [ { "type": "template", @@ -976,7 +1004,8 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" @@ -991,7 +1020,8 @@ "templateInputs": [ { "location": "BODY", - "path": "integer" + "path": "integer", + "type": "payload" } ], "type": "generic" @@ -1006,7 +1036,8 @@ "templateInputs": [ { "location": "BODY", - "path": "long" + "path": "long", + "type": "payload" } ], "type": "generic" @@ -1021,7 +1052,8 @@ "templateInputs": [ { "location": "BODY", - "path": "double" + "path": "double", + "type": "payload" } ], "type": "generic" @@ -1036,7 +1068,8 @@ "templateInputs": [ { "location": "BODY", - "path": "bool" + "path": "bool", + "type": "payload" } ], "type": "generic" @@ -1051,7 +1084,8 @@ "templateInputs": [ { "location": "BODY", - "path": "datetime" + "path": "datetime", + "type": "payload" } ], "type": "generic" @@ -1066,7 +1100,8 @@ "templateInputs": [ { "location": "BODY", - "path": "date" + "path": "date", + "type": "payload" } ], "type": "generic" @@ -1081,7 +1116,8 @@ "templateInputs": [ { "location": "BODY", - "path": "uuid" + "path": "uuid", + "type": "payload" } ], "type": "generic" @@ -1096,7 +1132,8 @@ "templateInputs": [ { "location": "BODY", - "path": "base64" + "path": "base64", + "type": "payload" } ], "type": "generic" @@ -1107,8 +1144,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "list_=[$FERN_INPUT]", - "delimiter": ", ", + "containerTemplateString": "list_=[\n\t$FERN_INPUT\n]", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -1116,7 +1153,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1133,8 +1171,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "set_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "set_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -1142,7 +1180,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1159,8 +1198,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "map_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "map_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "keyTemplate": { "imports": [], "isOptional": true, @@ -1168,7 +1207,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1180,7 +1220,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1194,12 +1235,12 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -1229,7 +1270,7 @@ "from .object_with_required_field import ObjectWithRequiredField" ], "isOptional": true, - "templateString": "request=ObjectWithRequiredField(\n$FERN_INPUT\n)", + "templateString": "request=ObjectWithRequiredField(\n\t\t$FERN_INPUT\n\t)", "templateInputs": [ { "type": "template", @@ -1240,19 +1281,20 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -1282,15 +1324,15 @@ "from .object_with_map_of_map import ObjectWithMapOfMap" ], "isOptional": true, - "templateString": "request=ObjectWithMapOfMap(\n$FERN_INPUT\n)", + "templateString": "request=ObjectWithMapOfMap(\n\t\t$FERN_INPUT\n\t)", "templateInputs": [ { "type": "template", "value": { "imports": [], "isOptional": true, - "containerTemplateString": "map_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "map_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "keyTemplate": { "imports": [], "isOptional": true, @@ -1298,7 +1340,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1306,8 +1349,8 @@ "valueTemplate": { "imports": [], "isOptional": true, - "containerTemplateString": "{$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "{\n\t\t$FERN_INPUT\n\t}", + "delimiter": ",\n\t\t", "keyTemplate": { "imports": [], "isOptional": true, @@ -1315,7 +1358,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1327,7 +1371,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1348,12 +1393,12 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -1383,7 +1428,7 @@ "from .nested_object_with_optional_field import NestedObjectWithOptionalField" ], "isOptional": true, - "templateString": "request=NestedObjectWithOptionalField(\n$FERN_INPUT\n)", + "templateString": "request=NestedObjectWithOptionalField(\n\t\t$FERN_INPUT\n\t)", "templateInputs": [ { "type": "template", @@ -1394,7 +1439,8 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" @@ -1407,7 +1453,7 @@ "from .object_with_optional_field import ObjectWithOptionalField" ], "isOptional": true, - "templateString": "nested_object=ObjectWithOptionalField(\n$FERN_INPUT\n)", + "templateString": "nested_object=ObjectWithOptionalField(\n\t$FERN_INPUT\n)", "templateInputs": [ { "type": "template", @@ -1418,7 +1464,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.string" + "path": "NestedObject.string", + "type": "payload" } ], "type": "generic" @@ -1433,7 +1480,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.integer" + "path": "NestedObject.integer", + "type": "payload" } ], "type": "generic" @@ -1448,7 +1496,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.long" + "path": "NestedObject.long", + "type": "payload" } ], "type": "generic" @@ -1463,7 +1512,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.double" + "path": "NestedObject.double", + "type": "payload" } ], "type": "generic" @@ -1478,7 +1528,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.bool" + "path": "NestedObject.bool", + "type": "payload" } ], "type": "generic" @@ -1493,7 +1544,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.datetime" + "path": "NestedObject.datetime", + "type": "payload" } ], "type": "generic" @@ -1508,7 +1560,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.date" + "path": "NestedObject.date", + "type": "payload" } ], "type": "generic" @@ -1523,7 +1576,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.uuid" + "path": "NestedObject.uuid", + "type": "payload" } ], "type": "generic" @@ -1538,7 +1592,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.base64" + "path": "NestedObject.base64", + "type": "payload" } ], "type": "generic" @@ -1549,8 +1604,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "list_=[$FERN_INPUT]", - "delimiter": ", ", + "containerTemplateString": "list_=[\n\t$FERN_INPUT\n]", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -1558,7 +1613,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1575,8 +1631,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "set_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "set_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -1584,7 +1640,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1601,8 +1658,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "map_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "map_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "keyTemplate": { "imports": [], "isOptional": true, @@ -1610,7 +1667,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1622,7 +1680,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1636,17 +1695,17 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -1676,7 +1735,7 @@ "from .nested_object_with_required_field import NestedObjectWithRequiredField" ], "isOptional": true, - "templateString": "request=NestedObjectWithRequiredField(\n$FERN_INPUT\n)", + "templateString": "request=NestedObjectWithRequiredField(\n\t\t$FERN_INPUT\n\t)", "templateInputs": [ { "type": "template", @@ -1687,7 +1746,8 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" @@ -1700,7 +1760,7 @@ "from .object_with_optional_field import ObjectWithOptionalField" ], "isOptional": true, - "templateString": "nested_object=ObjectWithOptionalField(\n$FERN_INPUT\n)", + "templateString": "nested_object=ObjectWithOptionalField(\n\t$FERN_INPUT\n)", "templateInputs": [ { "type": "template", @@ -1711,7 +1771,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.string" + "path": "NestedObject.string", + "type": "payload" } ], "type": "generic" @@ -1726,7 +1787,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.integer" + "path": "NestedObject.integer", + "type": "payload" } ], "type": "generic" @@ -1741,7 +1803,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.long" + "path": "NestedObject.long", + "type": "payload" } ], "type": "generic" @@ -1756,7 +1819,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.double" + "path": "NestedObject.double", + "type": "payload" } ], "type": "generic" @@ -1771,7 +1835,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.bool" + "path": "NestedObject.bool", + "type": "payload" } ], "type": "generic" @@ -1786,7 +1851,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.datetime" + "path": "NestedObject.datetime", + "type": "payload" } ], "type": "generic" @@ -1801,7 +1867,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.date" + "path": "NestedObject.date", + "type": "payload" } ], "type": "generic" @@ -1816,7 +1883,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.uuid" + "path": "NestedObject.uuid", + "type": "payload" } ], "type": "generic" @@ -1831,7 +1899,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.base64" + "path": "NestedObject.base64", + "type": "payload" } ], "type": "generic" @@ -1842,8 +1911,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "list_=[$FERN_INPUT]", - "delimiter": ", ", + "containerTemplateString": "list_=[\n\t$FERN_INPUT\n]", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -1851,7 +1920,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1868,8 +1938,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "set_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "set_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -1877,7 +1947,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1894,8 +1965,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "map_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "map_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "keyTemplate": { "imports": [], "isOptional": true, @@ -1903,7 +1974,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1915,7 +1987,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1929,17 +2002,17 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -1967,14 +2040,14 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "request=[$FERN_INPUT]", - "delimiter": ", ", + "containerTemplateString": "request=[\n\t\t$FERN_INPUT\n\t]", + "delimiter": ",\n\t\t", "innerTemplate": { "imports": [ "from .nested_object_with_required_field import NestedObjectWithRequiredField" ], "isOptional": true, - "templateString": "NestedObjectWithRequiredField($FERN_INPUT)", + "templateString": "NestedObjectWithRequiredField(\n\t\t\t$FERN_INPUT\n\t\t)", "templateInputs": [ { "type": "template", @@ -1985,7 +2058,8 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" @@ -1998,7 +2072,7 @@ "from .object_with_optional_field import ObjectWithOptionalField" ], "isOptional": true, - "templateString": "nested_object=ObjectWithOptionalField(\n$FERN_INPUT\n)", + "templateString": "nested_object=ObjectWithOptionalField(\n\t$FERN_INPUT\n)", "templateInputs": [ { "type": "template", @@ -2009,7 +2083,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.string" + "path": "NestedObject.string", + "type": "payload" } ], "type": "generic" @@ -2024,7 +2099,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.integer" + "path": "NestedObject.integer", + "type": "payload" } ], "type": "generic" @@ -2039,7 +2115,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.long" + "path": "NestedObject.long", + "type": "payload" } ], "type": "generic" @@ -2054,7 +2131,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.double" + "path": "NestedObject.double", + "type": "payload" } ], "type": "generic" @@ -2069,7 +2147,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.bool" + "path": "NestedObject.bool", + "type": "payload" } ], "type": "generic" @@ -2084,7 +2163,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.datetime" + "path": "NestedObject.datetime", + "type": "payload" } ], "type": "generic" @@ -2099,7 +2179,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.date" + "path": "NestedObject.date", + "type": "payload" } ], "type": "generic" @@ -2114,7 +2195,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.uuid" + "path": "NestedObject.uuid", + "type": "payload" } ], "type": "generic" @@ -2129,7 +2211,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.base64" + "path": "NestedObject.base64", + "type": "payload" } ], "type": "generic" @@ -2140,8 +2223,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "list_=[$FERN_INPUT]", - "delimiter": ", ", + "containerTemplateString": "list_=[\n\t$FERN_INPUT\n]", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -2149,7 +2232,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -2166,8 +2250,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "set_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "set_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -2175,7 +2259,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -2192,8 +2277,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "map_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "map_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "keyTemplate": { "imports": [], "isOptional": true, @@ -2201,7 +2286,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -2213,7 +2299,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -2227,12 +2314,12 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t\t", "type": "generic" }, "templateInput": { @@ -2243,7 +2330,7 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2275,14 +2362,15 @@ "templateInputs": [ { "location": "PATH", - "path": "param" + "path": "param", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2314,7 +2402,8 @@ "templateInputs": [ { "location": "QUERY", - "path": "query" + "path": "query", + "type": "payload" } ], "type": "generic" @@ -2329,14 +2418,15 @@ "templateInputs": [ { "location": "QUERY", - "path": "number" + "path": "number", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2368,7 +2458,8 @@ "templateInputs": [ { "location": "QUERY", - "path": "query" + "path": "query", + "type": "payload" } ], "type": "generic" @@ -2383,14 +2474,15 @@ "templateInputs": [ { "location": "QUERY", - "path": "numer" + "path": "numer", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2422,7 +2514,8 @@ "templateInputs": [ { "location": "PATH", - "path": "param" + "path": "param", + "type": "payload" } ], "type": "generic" @@ -2437,14 +2530,15 @@ "templateInputs": [ { "location": "QUERY", - "path": "query" + "path": "query", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2476,7 +2570,8 @@ "templateInputs": [ { "location": "PATH", - "path": "param" + "path": "param", + "type": "payload" } ], "type": "generic" @@ -2491,14 +2586,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2530,14 +2626,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2569,14 +2666,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2608,14 +2706,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2647,14 +2746,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2686,14 +2786,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2725,14 +2826,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2764,14 +2866,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2803,14 +2906,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2842,14 +2946,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2896,7 +3001,8 @@ "templateInputs": [ { "location": "BODY", - "path": "name" + "path": "name", + "type": "payload" } ], "type": "generic" @@ -2911,7 +3017,8 @@ "templateInputs": [ { "location": "BODY", - "path": "likesToWoof" + "path": "likesToWoof", + "type": "payload" } ], "type": "generic" @@ -2936,7 +3043,8 @@ "templateInputs": [ { "location": "BODY", - "path": "name" + "path": "name", + "type": "payload" } ], "type": "generic" @@ -2951,7 +3059,8 @@ "templateInputs": [ { "location": "BODY", - "path": "likesToMeow" + "path": "likesToMeow", + "type": "payload" } ], "type": "generic" @@ -2965,7 +3074,7 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2997,7 +3106,8 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" @@ -3012,7 +3122,8 @@ "templateInputs": [ { "location": "BODY", - "path": "integer" + "path": "integer", + "type": "payload" } ], "type": "generic" @@ -3025,7 +3136,7 @@ "from .object_with_optional_field import ObjectWithOptionalField" ], "isOptional": true, - "templateString": "nested_object=ObjectWithOptionalField(\n$FERN_INPUT\n)", + "templateString": "nested_object=ObjectWithOptionalField(\n\t\t$FERN_INPUT\n\t)", "templateInputs": [ { "type": "template", @@ -3036,7 +3147,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.string" + "path": "NestedObject.string", + "type": "payload" } ], "type": "generic" @@ -3051,7 +3163,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.integer" + "path": "NestedObject.integer", + "type": "payload" } ], "type": "generic" @@ -3066,7 +3179,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.long" + "path": "NestedObject.long", + "type": "payload" } ], "type": "generic" @@ -3081,7 +3195,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.double" + "path": "NestedObject.double", + "type": "payload" } ], "type": "generic" @@ -3096,7 +3211,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.bool" + "path": "NestedObject.bool", + "type": "payload" } ], "type": "generic" @@ -3111,7 +3227,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.datetime" + "path": "NestedObject.datetime", + "type": "payload" } ], "type": "generic" @@ -3126,7 +3243,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.date" + "path": "NestedObject.date", + "type": "payload" } ], "type": "generic" @@ -3141,7 +3259,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.uuid" + "path": "NestedObject.uuid", + "type": "payload" } ], "type": "generic" @@ -3156,7 +3275,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.base64" + "path": "NestedObject.base64", + "type": "payload" } ], "type": "generic" @@ -3167,8 +3287,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "list_=[$FERN_INPUT]", - "delimiter": ", ", + "containerTemplateString": "list_=[\n\t$FERN_INPUT\n]", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -3176,7 +3296,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -3193,8 +3314,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "set_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "set_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -3202,7 +3323,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -3219,8 +3341,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "map_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "map_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "keyTemplate": { "imports": [], "isOptional": true, @@ -3228,7 +3350,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -3240,7 +3363,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -3254,12 +3378,12 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -3291,14 +3415,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -3321,7 +3446,7 @@ "isOptional": true, "templateString": "await client.no_req_body.get_with_no_request_body(\n$FERN_INPUT\n)", "templateInputs": [], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -3344,7 +3469,7 @@ "isOptional": true, "templateString": "await client.no_req_body.post_with_no_request_body(\n$FERN_INPUT\n)", "templateInputs": [], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -3376,7 +3501,8 @@ "templateInputs": [ { "location": "HEADERS", - "path": "X-TEST-ENDPOINT-HEADER" + "path": "X-TEST-ENDPOINT-HEADER", + "type": "payload" } ], "type": "generic" @@ -3391,14 +3517,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" diff --git a/seed/python-sdk/exhaustive/infinite-timeout/snippet-templates.json b/seed/python-sdk/exhaustive/infinite-timeout/snippet-templates.json index e8361d710a1..7cafcf66364 100644 --- a/seed/python-sdk/exhaustive/infinite-timeout/snippet-templates.json +++ b/seed/python-sdk/exhaustive/infinite-timeout/snippet-templates.json @@ -21,8 +21,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "request=[$FERN_INPUT]", - "delimiter": ", ", + "containerTemplateString": "request=[\n\t\t$FERN_INPUT\n\t]", + "delimiter": ",\n\t\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -30,7 +30,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -43,7 +44,7 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -71,14 +72,14 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "request=[$FERN_INPUT]", - "delimiter": ", ", + "containerTemplateString": "request=[\n\t\t$FERN_INPUT\n\t]", + "delimiter": ",\n\t\t", "innerTemplate": { "imports": [ "from .object_with_required_field import ObjectWithRequiredField" ], "isOptional": true, - "templateString": "ObjectWithRequiredField($FERN_INPUT)", + "templateString": "ObjectWithRequiredField(\n\t\t\t$FERN_INPUT\n\t\t)", "templateInputs": [ { "type": "template", @@ -89,14 +90,15 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t\t", "type": "generic" }, "templateInput": { @@ -107,7 +109,7 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -135,8 +137,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "request={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "request={\n\t\t$FERN_INPUT\n\t}", + "delimiter": ",\n\t\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -144,7 +146,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -157,7 +160,7 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -185,14 +188,14 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "request={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "request={\n\t\t$FERN_INPUT\n\t}", + "delimiter": ",\n\t\t", "innerTemplate": { "imports": [ "from .object_with_required_field import ObjectWithRequiredField" ], "isOptional": true, - "templateString": "ObjectWithRequiredField($FERN_INPUT)", + "templateString": "ObjectWithRequiredField(\n\t\t\t$FERN_INPUT\n\t\t)", "templateInputs": [ { "type": "template", @@ -203,14 +206,15 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t\t", "type": "generic" }, "templateInput": { @@ -221,7 +225,7 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -249,8 +253,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "request={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "request={\n\t\t$FERN_INPUT\n\t}", + "delimiter": ",\n\t\t", "keyTemplate": { "imports": [], "isOptional": true, @@ -258,7 +262,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -270,7 +275,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -284,7 +290,7 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -312,8 +318,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "request={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "request={\n\t\t$FERN_INPUT\n\t}", + "delimiter": ",\n\t\t", "keyTemplate": { "imports": [], "isOptional": true, @@ -321,7 +327,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -331,7 +338,7 @@ "from .object_with_required_field import ObjectWithRequiredField" ], "isOptional": true, - "templateString": "ObjectWithRequiredField($FERN_INPUT)", + "templateString": "ObjectWithRequiredField(\n\t\t\t$FERN_INPUT\n\t\t)", "templateInputs": [ { "type": "template", @@ -342,14 +349,15 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t\t", "type": "generic" }, "keyValueSeparator": ": ", @@ -361,7 +369,7 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -391,7 +399,7 @@ "from .object_with_required_field import ObjectWithRequiredField" ], "isOptional": true, - "templateString": "request=ObjectWithRequiredField(\n$FERN_INPUT\n)", + "templateString": "request=ObjectWithRequiredField(\n\t\t$FERN_INPUT\n\t)", "templateInputs": [ { "type": "template", @@ -402,19 +410,20 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -457,7 +466,7 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -489,14 +498,15 @@ "templateInputs": [ { "location": "PATH", - "path": "id" + "path": "id", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -526,7 +536,7 @@ "from .object_with_required_field import ObjectWithRequiredField" ], "isOptional": true, - "templateString": "request=ObjectWithRequiredField(\n$FERN_INPUT\n)", + "templateString": "request=ObjectWithRequiredField(\n\t\t$FERN_INPUT\n\t)", "templateInputs": [ { "type": "template", @@ -537,19 +547,20 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -581,7 +592,8 @@ "templateInputs": [ { "location": "PATH", - "path": "id" + "path": "id", + "type": "payload" } ], "type": "generic" @@ -594,7 +606,7 @@ "from .object_with_required_field import ObjectWithRequiredField" ], "isOptional": true, - "templateString": "request=ObjectWithRequiredField(\n$FERN_INPUT\n)", + "templateString": "request=ObjectWithRequiredField(\n\t\t$FERN_INPUT\n\t)", "templateInputs": [ { "type": "template", @@ -605,19 +617,20 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -649,7 +662,8 @@ "templateInputs": [ { "location": "PATH", - "path": "id" + "path": "id", + "type": "payload" } ], "type": "generic" @@ -662,7 +676,7 @@ "from .object_with_optional_field import ObjectWithOptionalField" ], "isOptional": true, - "templateString": "request=ObjectWithOptionalField(\n$FERN_INPUT\n)", + "templateString": "request=ObjectWithOptionalField(\n\t\t$FERN_INPUT\n\t)", "templateInputs": [ { "type": "template", @@ -673,7 +687,8 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" @@ -688,7 +703,8 @@ "templateInputs": [ { "location": "BODY", - "path": "integer" + "path": "integer", + "type": "payload" } ], "type": "generic" @@ -703,7 +719,8 @@ "templateInputs": [ { "location": "BODY", - "path": "long" + "path": "long", + "type": "payload" } ], "type": "generic" @@ -718,7 +735,8 @@ "templateInputs": [ { "location": "BODY", - "path": "double" + "path": "double", + "type": "payload" } ], "type": "generic" @@ -733,7 +751,8 @@ "templateInputs": [ { "location": "BODY", - "path": "bool" + "path": "bool", + "type": "payload" } ], "type": "generic" @@ -748,7 +767,8 @@ "templateInputs": [ { "location": "BODY", - "path": "datetime" + "path": "datetime", + "type": "payload" } ], "type": "generic" @@ -763,7 +783,8 @@ "templateInputs": [ { "location": "BODY", - "path": "date" + "path": "date", + "type": "payload" } ], "type": "generic" @@ -778,7 +799,8 @@ "templateInputs": [ { "location": "BODY", - "path": "uuid" + "path": "uuid", + "type": "payload" } ], "type": "generic" @@ -793,7 +815,8 @@ "templateInputs": [ { "location": "BODY", - "path": "base64" + "path": "base64", + "type": "payload" } ], "type": "generic" @@ -804,8 +827,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "list_=[$FERN_INPUT]", - "delimiter": ", ", + "containerTemplateString": "list_=[\n\t$FERN_INPUT\n]", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -813,7 +836,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -830,8 +854,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "set_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "set_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -839,7 +863,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -856,8 +881,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "map_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "map_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "keyTemplate": { "imports": [], "isOptional": true, @@ -865,7 +890,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -877,7 +903,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -891,12 +918,12 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -928,14 +955,15 @@ "templateInputs": [ { "location": "PATH", - "path": "id" + "path": "id", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -965,7 +993,7 @@ "from .object_with_optional_field import ObjectWithOptionalField" ], "isOptional": true, - "templateString": "request=ObjectWithOptionalField(\n$FERN_INPUT\n)", + "templateString": "request=ObjectWithOptionalField(\n\t\t$FERN_INPUT\n\t)", "templateInputs": [ { "type": "template", @@ -976,7 +1004,8 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" @@ -991,7 +1020,8 @@ "templateInputs": [ { "location": "BODY", - "path": "integer" + "path": "integer", + "type": "payload" } ], "type": "generic" @@ -1006,7 +1036,8 @@ "templateInputs": [ { "location": "BODY", - "path": "long" + "path": "long", + "type": "payload" } ], "type": "generic" @@ -1021,7 +1052,8 @@ "templateInputs": [ { "location": "BODY", - "path": "double" + "path": "double", + "type": "payload" } ], "type": "generic" @@ -1036,7 +1068,8 @@ "templateInputs": [ { "location": "BODY", - "path": "bool" + "path": "bool", + "type": "payload" } ], "type": "generic" @@ -1051,7 +1084,8 @@ "templateInputs": [ { "location": "BODY", - "path": "datetime" + "path": "datetime", + "type": "payload" } ], "type": "generic" @@ -1066,7 +1100,8 @@ "templateInputs": [ { "location": "BODY", - "path": "date" + "path": "date", + "type": "payload" } ], "type": "generic" @@ -1081,7 +1116,8 @@ "templateInputs": [ { "location": "BODY", - "path": "uuid" + "path": "uuid", + "type": "payload" } ], "type": "generic" @@ -1096,7 +1132,8 @@ "templateInputs": [ { "location": "BODY", - "path": "base64" + "path": "base64", + "type": "payload" } ], "type": "generic" @@ -1107,8 +1144,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "list_=[$FERN_INPUT]", - "delimiter": ", ", + "containerTemplateString": "list_=[\n\t$FERN_INPUT\n]", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -1116,7 +1153,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1133,8 +1171,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "set_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "set_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -1142,7 +1180,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1159,8 +1198,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "map_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "map_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "keyTemplate": { "imports": [], "isOptional": true, @@ -1168,7 +1207,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1180,7 +1220,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1194,12 +1235,12 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -1229,7 +1270,7 @@ "from .object_with_required_field import ObjectWithRequiredField" ], "isOptional": true, - "templateString": "request=ObjectWithRequiredField(\n$FERN_INPUT\n)", + "templateString": "request=ObjectWithRequiredField(\n\t\t$FERN_INPUT\n\t)", "templateInputs": [ { "type": "template", @@ -1240,19 +1281,20 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -1282,15 +1324,15 @@ "from .object_with_map_of_map import ObjectWithMapOfMap" ], "isOptional": true, - "templateString": "request=ObjectWithMapOfMap(\n$FERN_INPUT\n)", + "templateString": "request=ObjectWithMapOfMap(\n\t\t$FERN_INPUT\n\t)", "templateInputs": [ { "type": "template", "value": { "imports": [], "isOptional": true, - "containerTemplateString": "map_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "map_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "keyTemplate": { "imports": [], "isOptional": true, @@ -1298,7 +1340,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1306,8 +1349,8 @@ "valueTemplate": { "imports": [], "isOptional": true, - "containerTemplateString": "{$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "{\n\t\t$FERN_INPUT\n\t}", + "delimiter": ",\n\t\t", "keyTemplate": { "imports": [], "isOptional": true, @@ -1315,7 +1358,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1327,7 +1371,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1348,12 +1393,12 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -1383,7 +1428,7 @@ "from .nested_object_with_optional_field import NestedObjectWithOptionalField" ], "isOptional": true, - "templateString": "request=NestedObjectWithOptionalField(\n$FERN_INPUT\n)", + "templateString": "request=NestedObjectWithOptionalField(\n\t\t$FERN_INPUT\n\t)", "templateInputs": [ { "type": "template", @@ -1394,7 +1439,8 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" @@ -1407,7 +1453,7 @@ "from .object_with_optional_field import ObjectWithOptionalField" ], "isOptional": true, - "templateString": "nested_object=ObjectWithOptionalField(\n$FERN_INPUT\n)", + "templateString": "nested_object=ObjectWithOptionalField(\n\t$FERN_INPUT\n)", "templateInputs": [ { "type": "template", @@ -1418,7 +1464,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.string" + "path": "NestedObject.string", + "type": "payload" } ], "type": "generic" @@ -1433,7 +1480,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.integer" + "path": "NestedObject.integer", + "type": "payload" } ], "type": "generic" @@ -1448,7 +1496,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.long" + "path": "NestedObject.long", + "type": "payload" } ], "type": "generic" @@ -1463,7 +1512,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.double" + "path": "NestedObject.double", + "type": "payload" } ], "type": "generic" @@ -1478,7 +1528,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.bool" + "path": "NestedObject.bool", + "type": "payload" } ], "type": "generic" @@ -1493,7 +1544,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.datetime" + "path": "NestedObject.datetime", + "type": "payload" } ], "type": "generic" @@ -1508,7 +1560,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.date" + "path": "NestedObject.date", + "type": "payload" } ], "type": "generic" @@ -1523,7 +1576,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.uuid" + "path": "NestedObject.uuid", + "type": "payload" } ], "type": "generic" @@ -1538,7 +1592,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.base64" + "path": "NestedObject.base64", + "type": "payload" } ], "type": "generic" @@ -1549,8 +1604,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "list_=[$FERN_INPUT]", - "delimiter": ", ", + "containerTemplateString": "list_=[\n\t$FERN_INPUT\n]", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -1558,7 +1613,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1575,8 +1631,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "set_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "set_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -1584,7 +1640,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1601,8 +1658,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "map_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "map_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "keyTemplate": { "imports": [], "isOptional": true, @@ -1610,7 +1667,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1622,7 +1680,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1636,17 +1695,17 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -1676,7 +1735,7 @@ "from .nested_object_with_required_field import NestedObjectWithRequiredField" ], "isOptional": true, - "templateString": "request=NestedObjectWithRequiredField(\n$FERN_INPUT\n)", + "templateString": "request=NestedObjectWithRequiredField(\n\t\t$FERN_INPUT\n\t)", "templateInputs": [ { "type": "template", @@ -1687,7 +1746,8 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" @@ -1700,7 +1760,7 @@ "from .object_with_optional_field import ObjectWithOptionalField" ], "isOptional": true, - "templateString": "nested_object=ObjectWithOptionalField(\n$FERN_INPUT\n)", + "templateString": "nested_object=ObjectWithOptionalField(\n\t$FERN_INPUT\n)", "templateInputs": [ { "type": "template", @@ -1711,7 +1771,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.string" + "path": "NestedObject.string", + "type": "payload" } ], "type": "generic" @@ -1726,7 +1787,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.integer" + "path": "NestedObject.integer", + "type": "payload" } ], "type": "generic" @@ -1741,7 +1803,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.long" + "path": "NestedObject.long", + "type": "payload" } ], "type": "generic" @@ -1756,7 +1819,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.double" + "path": "NestedObject.double", + "type": "payload" } ], "type": "generic" @@ -1771,7 +1835,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.bool" + "path": "NestedObject.bool", + "type": "payload" } ], "type": "generic" @@ -1786,7 +1851,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.datetime" + "path": "NestedObject.datetime", + "type": "payload" } ], "type": "generic" @@ -1801,7 +1867,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.date" + "path": "NestedObject.date", + "type": "payload" } ], "type": "generic" @@ -1816,7 +1883,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.uuid" + "path": "NestedObject.uuid", + "type": "payload" } ], "type": "generic" @@ -1831,7 +1899,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.base64" + "path": "NestedObject.base64", + "type": "payload" } ], "type": "generic" @@ -1842,8 +1911,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "list_=[$FERN_INPUT]", - "delimiter": ", ", + "containerTemplateString": "list_=[\n\t$FERN_INPUT\n]", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -1851,7 +1920,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1868,8 +1938,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "set_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "set_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -1877,7 +1947,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1894,8 +1965,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "map_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "map_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "keyTemplate": { "imports": [], "isOptional": true, @@ -1903,7 +1974,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1915,7 +1987,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1929,17 +2002,17 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -1967,14 +2040,14 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "request=[$FERN_INPUT]", - "delimiter": ", ", + "containerTemplateString": "request=[\n\t\t$FERN_INPUT\n\t]", + "delimiter": ",\n\t\t", "innerTemplate": { "imports": [ "from .nested_object_with_required_field import NestedObjectWithRequiredField" ], "isOptional": true, - "templateString": "NestedObjectWithRequiredField($FERN_INPUT)", + "templateString": "NestedObjectWithRequiredField(\n\t\t\t$FERN_INPUT\n\t\t)", "templateInputs": [ { "type": "template", @@ -1985,7 +2058,8 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" @@ -1998,7 +2072,7 @@ "from .object_with_optional_field import ObjectWithOptionalField" ], "isOptional": true, - "templateString": "nested_object=ObjectWithOptionalField(\n$FERN_INPUT\n)", + "templateString": "nested_object=ObjectWithOptionalField(\n\t$FERN_INPUT\n)", "templateInputs": [ { "type": "template", @@ -2009,7 +2083,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.string" + "path": "NestedObject.string", + "type": "payload" } ], "type": "generic" @@ -2024,7 +2099,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.integer" + "path": "NestedObject.integer", + "type": "payload" } ], "type": "generic" @@ -2039,7 +2115,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.long" + "path": "NestedObject.long", + "type": "payload" } ], "type": "generic" @@ -2054,7 +2131,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.double" + "path": "NestedObject.double", + "type": "payload" } ], "type": "generic" @@ -2069,7 +2147,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.bool" + "path": "NestedObject.bool", + "type": "payload" } ], "type": "generic" @@ -2084,7 +2163,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.datetime" + "path": "NestedObject.datetime", + "type": "payload" } ], "type": "generic" @@ -2099,7 +2179,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.date" + "path": "NestedObject.date", + "type": "payload" } ], "type": "generic" @@ -2114,7 +2195,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.uuid" + "path": "NestedObject.uuid", + "type": "payload" } ], "type": "generic" @@ -2129,7 +2211,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.base64" + "path": "NestedObject.base64", + "type": "payload" } ], "type": "generic" @@ -2140,8 +2223,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "list_=[$FERN_INPUT]", - "delimiter": ", ", + "containerTemplateString": "list_=[\n\t$FERN_INPUT\n]", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -2149,7 +2232,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -2166,8 +2250,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "set_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "set_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -2175,7 +2259,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -2192,8 +2277,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "map_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "map_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "keyTemplate": { "imports": [], "isOptional": true, @@ -2201,7 +2286,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -2213,7 +2299,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -2227,12 +2314,12 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t\t", "type": "generic" }, "templateInput": { @@ -2243,7 +2330,7 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2275,14 +2362,15 @@ "templateInputs": [ { "location": "PATH", - "path": "param" + "path": "param", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2314,7 +2402,8 @@ "templateInputs": [ { "location": "QUERY", - "path": "query" + "path": "query", + "type": "payload" } ], "type": "generic" @@ -2329,14 +2418,15 @@ "templateInputs": [ { "location": "QUERY", - "path": "number" + "path": "number", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2368,7 +2458,8 @@ "templateInputs": [ { "location": "QUERY", - "path": "query" + "path": "query", + "type": "payload" } ], "type": "generic" @@ -2383,14 +2474,15 @@ "templateInputs": [ { "location": "QUERY", - "path": "numer" + "path": "numer", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2422,7 +2514,8 @@ "templateInputs": [ { "location": "PATH", - "path": "param" + "path": "param", + "type": "payload" } ], "type": "generic" @@ -2437,14 +2530,15 @@ "templateInputs": [ { "location": "QUERY", - "path": "query" + "path": "query", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2476,7 +2570,8 @@ "templateInputs": [ { "location": "PATH", - "path": "param" + "path": "param", + "type": "payload" } ], "type": "generic" @@ -2491,14 +2586,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2530,14 +2626,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2569,14 +2666,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2608,14 +2706,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2647,14 +2746,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2686,14 +2786,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2725,14 +2826,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2764,14 +2866,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2803,14 +2906,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2842,14 +2946,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2896,7 +3001,8 @@ "templateInputs": [ { "location": "BODY", - "path": "name" + "path": "name", + "type": "payload" } ], "type": "generic" @@ -2911,7 +3017,8 @@ "templateInputs": [ { "location": "BODY", - "path": "likesToWoof" + "path": "likesToWoof", + "type": "payload" } ], "type": "generic" @@ -2936,7 +3043,8 @@ "templateInputs": [ { "location": "BODY", - "path": "name" + "path": "name", + "type": "payload" } ], "type": "generic" @@ -2951,7 +3059,8 @@ "templateInputs": [ { "location": "BODY", - "path": "likesToMeow" + "path": "likesToMeow", + "type": "payload" } ], "type": "generic" @@ -2965,7 +3074,7 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2997,7 +3106,8 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" @@ -3012,7 +3122,8 @@ "templateInputs": [ { "location": "BODY", - "path": "integer" + "path": "integer", + "type": "payload" } ], "type": "generic" @@ -3025,7 +3136,7 @@ "from .object_with_optional_field import ObjectWithOptionalField" ], "isOptional": true, - "templateString": "nested_object=ObjectWithOptionalField(\n$FERN_INPUT\n)", + "templateString": "nested_object=ObjectWithOptionalField(\n\t\t$FERN_INPUT\n\t)", "templateInputs": [ { "type": "template", @@ -3036,7 +3147,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.string" + "path": "NestedObject.string", + "type": "payload" } ], "type": "generic" @@ -3051,7 +3163,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.integer" + "path": "NestedObject.integer", + "type": "payload" } ], "type": "generic" @@ -3066,7 +3179,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.long" + "path": "NestedObject.long", + "type": "payload" } ], "type": "generic" @@ -3081,7 +3195,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.double" + "path": "NestedObject.double", + "type": "payload" } ], "type": "generic" @@ -3096,7 +3211,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.bool" + "path": "NestedObject.bool", + "type": "payload" } ], "type": "generic" @@ -3111,7 +3227,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.datetime" + "path": "NestedObject.datetime", + "type": "payload" } ], "type": "generic" @@ -3126,7 +3243,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.date" + "path": "NestedObject.date", + "type": "payload" } ], "type": "generic" @@ -3141,7 +3259,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.uuid" + "path": "NestedObject.uuid", + "type": "payload" } ], "type": "generic" @@ -3156,7 +3275,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.base64" + "path": "NestedObject.base64", + "type": "payload" } ], "type": "generic" @@ -3167,8 +3287,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "list_=[$FERN_INPUT]", - "delimiter": ", ", + "containerTemplateString": "list_=[\n\t$FERN_INPUT\n]", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -3176,7 +3296,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -3193,8 +3314,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "set_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "set_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -3202,7 +3323,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -3219,8 +3341,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "map_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "map_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "keyTemplate": { "imports": [], "isOptional": true, @@ -3228,7 +3350,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -3240,7 +3363,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -3254,12 +3378,12 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -3291,14 +3415,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -3321,7 +3446,7 @@ "isOptional": true, "templateString": "await client.no_req_body.get_with_no_request_body(\n$FERN_INPUT\n)", "templateInputs": [], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -3344,7 +3469,7 @@ "isOptional": true, "templateString": "await client.no_req_body.post_with_no_request_body(\n$FERN_INPUT\n)", "templateInputs": [], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -3376,7 +3501,8 @@ "templateInputs": [ { "location": "HEADERS", - "path": "X-TEST-ENDPOINT-HEADER" + "path": "X-TEST-ENDPOINT-HEADER", + "type": "payload" } ], "type": "generic" @@ -3391,14 +3517,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" diff --git a/seed/python-sdk/exhaustive/no-custom-config/snippet-templates.json b/seed/python-sdk/exhaustive/no-custom-config/snippet-templates.json index e8361d710a1..7cafcf66364 100644 --- a/seed/python-sdk/exhaustive/no-custom-config/snippet-templates.json +++ b/seed/python-sdk/exhaustive/no-custom-config/snippet-templates.json @@ -21,8 +21,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "request=[$FERN_INPUT]", - "delimiter": ", ", + "containerTemplateString": "request=[\n\t\t$FERN_INPUT\n\t]", + "delimiter": ",\n\t\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -30,7 +30,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -43,7 +44,7 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -71,14 +72,14 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "request=[$FERN_INPUT]", - "delimiter": ", ", + "containerTemplateString": "request=[\n\t\t$FERN_INPUT\n\t]", + "delimiter": ",\n\t\t", "innerTemplate": { "imports": [ "from .object_with_required_field import ObjectWithRequiredField" ], "isOptional": true, - "templateString": "ObjectWithRequiredField($FERN_INPUT)", + "templateString": "ObjectWithRequiredField(\n\t\t\t$FERN_INPUT\n\t\t)", "templateInputs": [ { "type": "template", @@ -89,14 +90,15 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t\t", "type": "generic" }, "templateInput": { @@ -107,7 +109,7 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -135,8 +137,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "request={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "request={\n\t\t$FERN_INPUT\n\t}", + "delimiter": ",\n\t\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -144,7 +146,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -157,7 +160,7 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -185,14 +188,14 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "request={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "request={\n\t\t$FERN_INPUT\n\t}", + "delimiter": ",\n\t\t", "innerTemplate": { "imports": [ "from .object_with_required_field import ObjectWithRequiredField" ], "isOptional": true, - "templateString": "ObjectWithRequiredField($FERN_INPUT)", + "templateString": "ObjectWithRequiredField(\n\t\t\t$FERN_INPUT\n\t\t)", "templateInputs": [ { "type": "template", @@ -203,14 +206,15 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t\t", "type": "generic" }, "templateInput": { @@ -221,7 +225,7 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -249,8 +253,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "request={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "request={\n\t\t$FERN_INPUT\n\t}", + "delimiter": ",\n\t\t", "keyTemplate": { "imports": [], "isOptional": true, @@ -258,7 +262,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -270,7 +275,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -284,7 +290,7 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -312,8 +318,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "request={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "request={\n\t\t$FERN_INPUT\n\t}", + "delimiter": ",\n\t\t", "keyTemplate": { "imports": [], "isOptional": true, @@ -321,7 +327,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -331,7 +338,7 @@ "from .object_with_required_field import ObjectWithRequiredField" ], "isOptional": true, - "templateString": "ObjectWithRequiredField($FERN_INPUT)", + "templateString": "ObjectWithRequiredField(\n\t\t\t$FERN_INPUT\n\t\t)", "templateInputs": [ { "type": "template", @@ -342,14 +349,15 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t\t", "type": "generic" }, "keyValueSeparator": ": ", @@ -361,7 +369,7 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -391,7 +399,7 @@ "from .object_with_required_field import ObjectWithRequiredField" ], "isOptional": true, - "templateString": "request=ObjectWithRequiredField(\n$FERN_INPUT\n)", + "templateString": "request=ObjectWithRequiredField(\n\t\t$FERN_INPUT\n\t)", "templateInputs": [ { "type": "template", @@ -402,19 +410,20 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -457,7 +466,7 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -489,14 +498,15 @@ "templateInputs": [ { "location": "PATH", - "path": "id" + "path": "id", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -526,7 +536,7 @@ "from .object_with_required_field import ObjectWithRequiredField" ], "isOptional": true, - "templateString": "request=ObjectWithRequiredField(\n$FERN_INPUT\n)", + "templateString": "request=ObjectWithRequiredField(\n\t\t$FERN_INPUT\n\t)", "templateInputs": [ { "type": "template", @@ -537,19 +547,20 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -581,7 +592,8 @@ "templateInputs": [ { "location": "PATH", - "path": "id" + "path": "id", + "type": "payload" } ], "type": "generic" @@ -594,7 +606,7 @@ "from .object_with_required_field import ObjectWithRequiredField" ], "isOptional": true, - "templateString": "request=ObjectWithRequiredField(\n$FERN_INPUT\n)", + "templateString": "request=ObjectWithRequiredField(\n\t\t$FERN_INPUT\n\t)", "templateInputs": [ { "type": "template", @@ -605,19 +617,20 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -649,7 +662,8 @@ "templateInputs": [ { "location": "PATH", - "path": "id" + "path": "id", + "type": "payload" } ], "type": "generic" @@ -662,7 +676,7 @@ "from .object_with_optional_field import ObjectWithOptionalField" ], "isOptional": true, - "templateString": "request=ObjectWithOptionalField(\n$FERN_INPUT\n)", + "templateString": "request=ObjectWithOptionalField(\n\t\t$FERN_INPUT\n\t)", "templateInputs": [ { "type": "template", @@ -673,7 +687,8 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" @@ -688,7 +703,8 @@ "templateInputs": [ { "location": "BODY", - "path": "integer" + "path": "integer", + "type": "payload" } ], "type": "generic" @@ -703,7 +719,8 @@ "templateInputs": [ { "location": "BODY", - "path": "long" + "path": "long", + "type": "payload" } ], "type": "generic" @@ -718,7 +735,8 @@ "templateInputs": [ { "location": "BODY", - "path": "double" + "path": "double", + "type": "payload" } ], "type": "generic" @@ -733,7 +751,8 @@ "templateInputs": [ { "location": "BODY", - "path": "bool" + "path": "bool", + "type": "payload" } ], "type": "generic" @@ -748,7 +767,8 @@ "templateInputs": [ { "location": "BODY", - "path": "datetime" + "path": "datetime", + "type": "payload" } ], "type": "generic" @@ -763,7 +783,8 @@ "templateInputs": [ { "location": "BODY", - "path": "date" + "path": "date", + "type": "payload" } ], "type": "generic" @@ -778,7 +799,8 @@ "templateInputs": [ { "location": "BODY", - "path": "uuid" + "path": "uuid", + "type": "payload" } ], "type": "generic" @@ -793,7 +815,8 @@ "templateInputs": [ { "location": "BODY", - "path": "base64" + "path": "base64", + "type": "payload" } ], "type": "generic" @@ -804,8 +827,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "list_=[$FERN_INPUT]", - "delimiter": ", ", + "containerTemplateString": "list_=[\n\t$FERN_INPUT\n]", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -813,7 +836,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -830,8 +854,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "set_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "set_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -839,7 +863,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -856,8 +881,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "map_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "map_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "keyTemplate": { "imports": [], "isOptional": true, @@ -865,7 +890,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -877,7 +903,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -891,12 +918,12 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -928,14 +955,15 @@ "templateInputs": [ { "location": "PATH", - "path": "id" + "path": "id", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -965,7 +993,7 @@ "from .object_with_optional_field import ObjectWithOptionalField" ], "isOptional": true, - "templateString": "request=ObjectWithOptionalField(\n$FERN_INPUT\n)", + "templateString": "request=ObjectWithOptionalField(\n\t\t$FERN_INPUT\n\t)", "templateInputs": [ { "type": "template", @@ -976,7 +1004,8 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" @@ -991,7 +1020,8 @@ "templateInputs": [ { "location": "BODY", - "path": "integer" + "path": "integer", + "type": "payload" } ], "type": "generic" @@ -1006,7 +1036,8 @@ "templateInputs": [ { "location": "BODY", - "path": "long" + "path": "long", + "type": "payload" } ], "type": "generic" @@ -1021,7 +1052,8 @@ "templateInputs": [ { "location": "BODY", - "path": "double" + "path": "double", + "type": "payload" } ], "type": "generic" @@ -1036,7 +1068,8 @@ "templateInputs": [ { "location": "BODY", - "path": "bool" + "path": "bool", + "type": "payload" } ], "type": "generic" @@ -1051,7 +1084,8 @@ "templateInputs": [ { "location": "BODY", - "path": "datetime" + "path": "datetime", + "type": "payload" } ], "type": "generic" @@ -1066,7 +1100,8 @@ "templateInputs": [ { "location": "BODY", - "path": "date" + "path": "date", + "type": "payload" } ], "type": "generic" @@ -1081,7 +1116,8 @@ "templateInputs": [ { "location": "BODY", - "path": "uuid" + "path": "uuid", + "type": "payload" } ], "type": "generic" @@ -1096,7 +1132,8 @@ "templateInputs": [ { "location": "BODY", - "path": "base64" + "path": "base64", + "type": "payload" } ], "type": "generic" @@ -1107,8 +1144,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "list_=[$FERN_INPUT]", - "delimiter": ", ", + "containerTemplateString": "list_=[\n\t$FERN_INPUT\n]", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -1116,7 +1153,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1133,8 +1171,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "set_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "set_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -1142,7 +1180,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1159,8 +1198,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "map_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "map_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "keyTemplate": { "imports": [], "isOptional": true, @@ -1168,7 +1207,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1180,7 +1220,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1194,12 +1235,12 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -1229,7 +1270,7 @@ "from .object_with_required_field import ObjectWithRequiredField" ], "isOptional": true, - "templateString": "request=ObjectWithRequiredField(\n$FERN_INPUT\n)", + "templateString": "request=ObjectWithRequiredField(\n\t\t$FERN_INPUT\n\t)", "templateInputs": [ { "type": "template", @@ -1240,19 +1281,20 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -1282,15 +1324,15 @@ "from .object_with_map_of_map import ObjectWithMapOfMap" ], "isOptional": true, - "templateString": "request=ObjectWithMapOfMap(\n$FERN_INPUT\n)", + "templateString": "request=ObjectWithMapOfMap(\n\t\t$FERN_INPUT\n\t)", "templateInputs": [ { "type": "template", "value": { "imports": [], "isOptional": true, - "containerTemplateString": "map_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "map_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "keyTemplate": { "imports": [], "isOptional": true, @@ -1298,7 +1340,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1306,8 +1349,8 @@ "valueTemplate": { "imports": [], "isOptional": true, - "containerTemplateString": "{$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "{\n\t\t$FERN_INPUT\n\t}", + "delimiter": ",\n\t\t", "keyTemplate": { "imports": [], "isOptional": true, @@ -1315,7 +1358,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1327,7 +1371,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1348,12 +1393,12 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -1383,7 +1428,7 @@ "from .nested_object_with_optional_field import NestedObjectWithOptionalField" ], "isOptional": true, - "templateString": "request=NestedObjectWithOptionalField(\n$FERN_INPUT\n)", + "templateString": "request=NestedObjectWithOptionalField(\n\t\t$FERN_INPUT\n\t)", "templateInputs": [ { "type": "template", @@ -1394,7 +1439,8 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" @@ -1407,7 +1453,7 @@ "from .object_with_optional_field import ObjectWithOptionalField" ], "isOptional": true, - "templateString": "nested_object=ObjectWithOptionalField(\n$FERN_INPUT\n)", + "templateString": "nested_object=ObjectWithOptionalField(\n\t$FERN_INPUT\n)", "templateInputs": [ { "type": "template", @@ -1418,7 +1464,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.string" + "path": "NestedObject.string", + "type": "payload" } ], "type": "generic" @@ -1433,7 +1480,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.integer" + "path": "NestedObject.integer", + "type": "payload" } ], "type": "generic" @@ -1448,7 +1496,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.long" + "path": "NestedObject.long", + "type": "payload" } ], "type": "generic" @@ -1463,7 +1512,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.double" + "path": "NestedObject.double", + "type": "payload" } ], "type": "generic" @@ -1478,7 +1528,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.bool" + "path": "NestedObject.bool", + "type": "payload" } ], "type": "generic" @@ -1493,7 +1544,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.datetime" + "path": "NestedObject.datetime", + "type": "payload" } ], "type": "generic" @@ -1508,7 +1560,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.date" + "path": "NestedObject.date", + "type": "payload" } ], "type": "generic" @@ -1523,7 +1576,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.uuid" + "path": "NestedObject.uuid", + "type": "payload" } ], "type": "generic" @@ -1538,7 +1592,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.base64" + "path": "NestedObject.base64", + "type": "payload" } ], "type": "generic" @@ -1549,8 +1604,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "list_=[$FERN_INPUT]", - "delimiter": ", ", + "containerTemplateString": "list_=[\n\t$FERN_INPUT\n]", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -1558,7 +1613,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1575,8 +1631,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "set_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "set_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -1584,7 +1640,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1601,8 +1658,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "map_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "map_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "keyTemplate": { "imports": [], "isOptional": true, @@ -1610,7 +1667,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1622,7 +1680,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1636,17 +1695,17 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -1676,7 +1735,7 @@ "from .nested_object_with_required_field import NestedObjectWithRequiredField" ], "isOptional": true, - "templateString": "request=NestedObjectWithRequiredField(\n$FERN_INPUT\n)", + "templateString": "request=NestedObjectWithRequiredField(\n\t\t$FERN_INPUT\n\t)", "templateInputs": [ { "type": "template", @@ -1687,7 +1746,8 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" @@ -1700,7 +1760,7 @@ "from .object_with_optional_field import ObjectWithOptionalField" ], "isOptional": true, - "templateString": "nested_object=ObjectWithOptionalField(\n$FERN_INPUT\n)", + "templateString": "nested_object=ObjectWithOptionalField(\n\t$FERN_INPUT\n)", "templateInputs": [ { "type": "template", @@ -1711,7 +1771,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.string" + "path": "NestedObject.string", + "type": "payload" } ], "type": "generic" @@ -1726,7 +1787,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.integer" + "path": "NestedObject.integer", + "type": "payload" } ], "type": "generic" @@ -1741,7 +1803,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.long" + "path": "NestedObject.long", + "type": "payload" } ], "type": "generic" @@ -1756,7 +1819,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.double" + "path": "NestedObject.double", + "type": "payload" } ], "type": "generic" @@ -1771,7 +1835,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.bool" + "path": "NestedObject.bool", + "type": "payload" } ], "type": "generic" @@ -1786,7 +1851,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.datetime" + "path": "NestedObject.datetime", + "type": "payload" } ], "type": "generic" @@ -1801,7 +1867,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.date" + "path": "NestedObject.date", + "type": "payload" } ], "type": "generic" @@ -1816,7 +1883,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.uuid" + "path": "NestedObject.uuid", + "type": "payload" } ], "type": "generic" @@ -1831,7 +1899,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.base64" + "path": "NestedObject.base64", + "type": "payload" } ], "type": "generic" @@ -1842,8 +1911,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "list_=[$FERN_INPUT]", - "delimiter": ", ", + "containerTemplateString": "list_=[\n\t$FERN_INPUT\n]", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -1851,7 +1920,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1868,8 +1938,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "set_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "set_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -1877,7 +1947,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1894,8 +1965,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "map_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "map_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "keyTemplate": { "imports": [], "isOptional": true, @@ -1903,7 +1974,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1915,7 +1987,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1929,17 +2002,17 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -1967,14 +2040,14 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "request=[$FERN_INPUT]", - "delimiter": ", ", + "containerTemplateString": "request=[\n\t\t$FERN_INPUT\n\t]", + "delimiter": ",\n\t\t", "innerTemplate": { "imports": [ "from .nested_object_with_required_field import NestedObjectWithRequiredField" ], "isOptional": true, - "templateString": "NestedObjectWithRequiredField($FERN_INPUT)", + "templateString": "NestedObjectWithRequiredField(\n\t\t\t$FERN_INPUT\n\t\t)", "templateInputs": [ { "type": "template", @@ -1985,7 +2058,8 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" @@ -1998,7 +2072,7 @@ "from .object_with_optional_field import ObjectWithOptionalField" ], "isOptional": true, - "templateString": "nested_object=ObjectWithOptionalField(\n$FERN_INPUT\n)", + "templateString": "nested_object=ObjectWithOptionalField(\n\t$FERN_INPUT\n)", "templateInputs": [ { "type": "template", @@ -2009,7 +2083,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.string" + "path": "NestedObject.string", + "type": "payload" } ], "type": "generic" @@ -2024,7 +2099,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.integer" + "path": "NestedObject.integer", + "type": "payload" } ], "type": "generic" @@ -2039,7 +2115,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.long" + "path": "NestedObject.long", + "type": "payload" } ], "type": "generic" @@ -2054,7 +2131,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.double" + "path": "NestedObject.double", + "type": "payload" } ], "type": "generic" @@ -2069,7 +2147,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.bool" + "path": "NestedObject.bool", + "type": "payload" } ], "type": "generic" @@ -2084,7 +2163,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.datetime" + "path": "NestedObject.datetime", + "type": "payload" } ], "type": "generic" @@ -2099,7 +2179,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.date" + "path": "NestedObject.date", + "type": "payload" } ], "type": "generic" @@ -2114,7 +2195,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.uuid" + "path": "NestedObject.uuid", + "type": "payload" } ], "type": "generic" @@ -2129,7 +2211,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.base64" + "path": "NestedObject.base64", + "type": "payload" } ], "type": "generic" @@ -2140,8 +2223,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "list_=[$FERN_INPUT]", - "delimiter": ", ", + "containerTemplateString": "list_=[\n\t$FERN_INPUT\n]", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -2149,7 +2232,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -2166,8 +2250,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "set_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "set_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -2175,7 +2259,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -2192,8 +2277,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "map_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "map_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "keyTemplate": { "imports": [], "isOptional": true, @@ -2201,7 +2286,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -2213,7 +2299,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -2227,12 +2314,12 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t\t", "type": "generic" }, "templateInput": { @@ -2243,7 +2330,7 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2275,14 +2362,15 @@ "templateInputs": [ { "location": "PATH", - "path": "param" + "path": "param", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2314,7 +2402,8 @@ "templateInputs": [ { "location": "QUERY", - "path": "query" + "path": "query", + "type": "payload" } ], "type": "generic" @@ -2329,14 +2418,15 @@ "templateInputs": [ { "location": "QUERY", - "path": "number" + "path": "number", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2368,7 +2458,8 @@ "templateInputs": [ { "location": "QUERY", - "path": "query" + "path": "query", + "type": "payload" } ], "type": "generic" @@ -2383,14 +2474,15 @@ "templateInputs": [ { "location": "QUERY", - "path": "numer" + "path": "numer", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2422,7 +2514,8 @@ "templateInputs": [ { "location": "PATH", - "path": "param" + "path": "param", + "type": "payload" } ], "type": "generic" @@ -2437,14 +2530,15 @@ "templateInputs": [ { "location": "QUERY", - "path": "query" + "path": "query", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2476,7 +2570,8 @@ "templateInputs": [ { "location": "PATH", - "path": "param" + "path": "param", + "type": "payload" } ], "type": "generic" @@ -2491,14 +2586,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2530,14 +2626,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2569,14 +2666,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2608,14 +2706,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2647,14 +2746,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2686,14 +2786,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2725,14 +2826,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2764,14 +2866,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2803,14 +2906,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2842,14 +2946,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2896,7 +3001,8 @@ "templateInputs": [ { "location": "BODY", - "path": "name" + "path": "name", + "type": "payload" } ], "type": "generic" @@ -2911,7 +3017,8 @@ "templateInputs": [ { "location": "BODY", - "path": "likesToWoof" + "path": "likesToWoof", + "type": "payload" } ], "type": "generic" @@ -2936,7 +3043,8 @@ "templateInputs": [ { "location": "BODY", - "path": "name" + "path": "name", + "type": "payload" } ], "type": "generic" @@ -2951,7 +3059,8 @@ "templateInputs": [ { "location": "BODY", - "path": "likesToMeow" + "path": "likesToMeow", + "type": "payload" } ], "type": "generic" @@ -2965,7 +3074,7 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2997,7 +3106,8 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" @@ -3012,7 +3122,8 @@ "templateInputs": [ { "location": "BODY", - "path": "integer" + "path": "integer", + "type": "payload" } ], "type": "generic" @@ -3025,7 +3136,7 @@ "from .object_with_optional_field import ObjectWithOptionalField" ], "isOptional": true, - "templateString": "nested_object=ObjectWithOptionalField(\n$FERN_INPUT\n)", + "templateString": "nested_object=ObjectWithOptionalField(\n\t\t$FERN_INPUT\n\t)", "templateInputs": [ { "type": "template", @@ -3036,7 +3147,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.string" + "path": "NestedObject.string", + "type": "payload" } ], "type": "generic" @@ -3051,7 +3163,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.integer" + "path": "NestedObject.integer", + "type": "payload" } ], "type": "generic" @@ -3066,7 +3179,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.long" + "path": "NestedObject.long", + "type": "payload" } ], "type": "generic" @@ -3081,7 +3195,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.double" + "path": "NestedObject.double", + "type": "payload" } ], "type": "generic" @@ -3096,7 +3211,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.bool" + "path": "NestedObject.bool", + "type": "payload" } ], "type": "generic" @@ -3111,7 +3227,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.datetime" + "path": "NestedObject.datetime", + "type": "payload" } ], "type": "generic" @@ -3126,7 +3243,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.date" + "path": "NestedObject.date", + "type": "payload" } ], "type": "generic" @@ -3141,7 +3259,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.uuid" + "path": "NestedObject.uuid", + "type": "payload" } ], "type": "generic" @@ -3156,7 +3275,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.base64" + "path": "NestedObject.base64", + "type": "payload" } ], "type": "generic" @@ -3167,8 +3287,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "list_=[$FERN_INPUT]", - "delimiter": ", ", + "containerTemplateString": "list_=[\n\t$FERN_INPUT\n]", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -3176,7 +3296,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -3193,8 +3314,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "set_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "set_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -3202,7 +3323,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -3219,8 +3341,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "map_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "map_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "keyTemplate": { "imports": [], "isOptional": true, @@ -3228,7 +3350,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -3240,7 +3363,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -3254,12 +3378,12 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -3291,14 +3415,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -3321,7 +3446,7 @@ "isOptional": true, "templateString": "await client.no_req_body.get_with_no_request_body(\n$FERN_INPUT\n)", "templateInputs": [], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -3344,7 +3469,7 @@ "isOptional": true, "templateString": "await client.no_req_body.post_with_no_request_body(\n$FERN_INPUT\n)", "templateInputs": [], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -3376,7 +3501,8 @@ "templateInputs": [ { "location": "HEADERS", - "path": "X-TEST-ENDPOINT-HEADER" + "path": "X-TEST-ENDPOINT-HEADER", + "type": "payload" } ], "type": "generic" @@ -3391,14 +3517,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" diff --git a/seed/python-sdk/exhaustive/pydantic-extra-fields/snippet-templates.json b/seed/python-sdk/exhaustive/pydantic-extra-fields/snippet-templates.json index e8361d710a1..7cafcf66364 100644 --- a/seed/python-sdk/exhaustive/pydantic-extra-fields/snippet-templates.json +++ b/seed/python-sdk/exhaustive/pydantic-extra-fields/snippet-templates.json @@ -21,8 +21,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "request=[$FERN_INPUT]", - "delimiter": ", ", + "containerTemplateString": "request=[\n\t\t$FERN_INPUT\n\t]", + "delimiter": ",\n\t\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -30,7 +30,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -43,7 +44,7 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -71,14 +72,14 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "request=[$FERN_INPUT]", - "delimiter": ", ", + "containerTemplateString": "request=[\n\t\t$FERN_INPUT\n\t]", + "delimiter": ",\n\t\t", "innerTemplate": { "imports": [ "from .object_with_required_field import ObjectWithRequiredField" ], "isOptional": true, - "templateString": "ObjectWithRequiredField($FERN_INPUT)", + "templateString": "ObjectWithRequiredField(\n\t\t\t$FERN_INPUT\n\t\t)", "templateInputs": [ { "type": "template", @@ -89,14 +90,15 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t\t", "type": "generic" }, "templateInput": { @@ -107,7 +109,7 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -135,8 +137,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "request={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "request={\n\t\t$FERN_INPUT\n\t}", + "delimiter": ",\n\t\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -144,7 +146,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -157,7 +160,7 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -185,14 +188,14 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "request={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "request={\n\t\t$FERN_INPUT\n\t}", + "delimiter": ",\n\t\t", "innerTemplate": { "imports": [ "from .object_with_required_field import ObjectWithRequiredField" ], "isOptional": true, - "templateString": "ObjectWithRequiredField($FERN_INPUT)", + "templateString": "ObjectWithRequiredField(\n\t\t\t$FERN_INPUT\n\t\t)", "templateInputs": [ { "type": "template", @@ -203,14 +206,15 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t\t", "type": "generic" }, "templateInput": { @@ -221,7 +225,7 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -249,8 +253,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "request={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "request={\n\t\t$FERN_INPUT\n\t}", + "delimiter": ",\n\t\t", "keyTemplate": { "imports": [], "isOptional": true, @@ -258,7 +262,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -270,7 +275,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -284,7 +290,7 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -312,8 +318,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "request={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "request={\n\t\t$FERN_INPUT\n\t}", + "delimiter": ",\n\t\t", "keyTemplate": { "imports": [], "isOptional": true, @@ -321,7 +327,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -331,7 +338,7 @@ "from .object_with_required_field import ObjectWithRequiredField" ], "isOptional": true, - "templateString": "ObjectWithRequiredField($FERN_INPUT)", + "templateString": "ObjectWithRequiredField(\n\t\t\t$FERN_INPUT\n\t\t)", "templateInputs": [ { "type": "template", @@ -342,14 +349,15 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t\t", "type": "generic" }, "keyValueSeparator": ": ", @@ -361,7 +369,7 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -391,7 +399,7 @@ "from .object_with_required_field import ObjectWithRequiredField" ], "isOptional": true, - "templateString": "request=ObjectWithRequiredField(\n$FERN_INPUT\n)", + "templateString": "request=ObjectWithRequiredField(\n\t\t$FERN_INPUT\n\t)", "templateInputs": [ { "type": "template", @@ -402,19 +410,20 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -457,7 +466,7 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -489,14 +498,15 @@ "templateInputs": [ { "location": "PATH", - "path": "id" + "path": "id", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -526,7 +536,7 @@ "from .object_with_required_field import ObjectWithRequiredField" ], "isOptional": true, - "templateString": "request=ObjectWithRequiredField(\n$FERN_INPUT\n)", + "templateString": "request=ObjectWithRequiredField(\n\t\t$FERN_INPUT\n\t)", "templateInputs": [ { "type": "template", @@ -537,19 +547,20 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -581,7 +592,8 @@ "templateInputs": [ { "location": "PATH", - "path": "id" + "path": "id", + "type": "payload" } ], "type": "generic" @@ -594,7 +606,7 @@ "from .object_with_required_field import ObjectWithRequiredField" ], "isOptional": true, - "templateString": "request=ObjectWithRequiredField(\n$FERN_INPUT\n)", + "templateString": "request=ObjectWithRequiredField(\n\t\t$FERN_INPUT\n\t)", "templateInputs": [ { "type": "template", @@ -605,19 +617,20 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -649,7 +662,8 @@ "templateInputs": [ { "location": "PATH", - "path": "id" + "path": "id", + "type": "payload" } ], "type": "generic" @@ -662,7 +676,7 @@ "from .object_with_optional_field import ObjectWithOptionalField" ], "isOptional": true, - "templateString": "request=ObjectWithOptionalField(\n$FERN_INPUT\n)", + "templateString": "request=ObjectWithOptionalField(\n\t\t$FERN_INPUT\n\t)", "templateInputs": [ { "type": "template", @@ -673,7 +687,8 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" @@ -688,7 +703,8 @@ "templateInputs": [ { "location": "BODY", - "path": "integer" + "path": "integer", + "type": "payload" } ], "type": "generic" @@ -703,7 +719,8 @@ "templateInputs": [ { "location": "BODY", - "path": "long" + "path": "long", + "type": "payload" } ], "type": "generic" @@ -718,7 +735,8 @@ "templateInputs": [ { "location": "BODY", - "path": "double" + "path": "double", + "type": "payload" } ], "type": "generic" @@ -733,7 +751,8 @@ "templateInputs": [ { "location": "BODY", - "path": "bool" + "path": "bool", + "type": "payload" } ], "type": "generic" @@ -748,7 +767,8 @@ "templateInputs": [ { "location": "BODY", - "path": "datetime" + "path": "datetime", + "type": "payload" } ], "type": "generic" @@ -763,7 +783,8 @@ "templateInputs": [ { "location": "BODY", - "path": "date" + "path": "date", + "type": "payload" } ], "type": "generic" @@ -778,7 +799,8 @@ "templateInputs": [ { "location": "BODY", - "path": "uuid" + "path": "uuid", + "type": "payload" } ], "type": "generic" @@ -793,7 +815,8 @@ "templateInputs": [ { "location": "BODY", - "path": "base64" + "path": "base64", + "type": "payload" } ], "type": "generic" @@ -804,8 +827,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "list_=[$FERN_INPUT]", - "delimiter": ", ", + "containerTemplateString": "list_=[\n\t$FERN_INPUT\n]", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -813,7 +836,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -830,8 +854,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "set_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "set_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -839,7 +863,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -856,8 +881,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "map_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "map_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "keyTemplate": { "imports": [], "isOptional": true, @@ -865,7 +890,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -877,7 +903,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -891,12 +918,12 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -928,14 +955,15 @@ "templateInputs": [ { "location": "PATH", - "path": "id" + "path": "id", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -965,7 +993,7 @@ "from .object_with_optional_field import ObjectWithOptionalField" ], "isOptional": true, - "templateString": "request=ObjectWithOptionalField(\n$FERN_INPUT\n)", + "templateString": "request=ObjectWithOptionalField(\n\t\t$FERN_INPUT\n\t)", "templateInputs": [ { "type": "template", @@ -976,7 +1004,8 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" @@ -991,7 +1020,8 @@ "templateInputs": [ { "location": "BODY", - "path": "integer" + "path": "integer", + "type": "payload" } ], "type": "generic" @@ -1006,7 +1036,8 @@ "templateInputs": [ { "location": "BODY", - "path": "long" + "path": "long", + "type": "payload" } ], "type": "generic" @@ -1021,7 +1052,8 @@ "templateInputs": [ { "location": "BODY", - "path": "double" + "path": "double", + "type": "payload" } ], "type": "generic" @@ -1036,7 +1068,8 @@ "templateInputs": [ { "location": "BODY", - "path": "bool" + "path": "bool", + "type": "payload" } ], "type": "generic" @@ -1051,7 +1084,8 @@ "templateInputs": [ { "location": "BODY", - "path": "datetime" + "path": "datetime", + "type": "payload" } ], "type": "generic" @@ -1066,7 +1100,8 @@ "templateInputs": [ { "location": "BODY", - "path": "date" + "path": "date", + "type": "payload" } ], "type": "generic" @@ -1081,7 +1116,8 @@ "templateInputs": [ { "location": "BODY", - "path": "uuid" + "path": "uuid", + "type": "payload" } ], "type": "generic" @@ -1096,7 +1132,8 @@ "templateInputs": [ { "location": "BODY", - "path": "base64" + "path": "base64", + "type": "payload" } ], "type": "generic" @@ -1107,8 +1144,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "list_=[$FERN_INPUT]", - "delimiter": ", ", + "containerTemplateString": "list_=[\n\t$FERN_INPUT\n]", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -1116,7 +1153,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1133,8 +1171,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "set_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "set_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -1142,7 +1180,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1159,8 +1198,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "map_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "map_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "keyTemplate": { "imports": [], "isOptional": true, @@ -1168,7 +1207,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1180,7 +1220,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1194,12 +1235,12 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -1229,7 +1270,7 @@ "from .object_with_required_field import ObjectWithRequiredField" ], "isOptional": true, - "templateString": "request=ObjectWithRequiredField(\n$FERN_INPUT\n)", + "templateString": "request=ObjectWithRequiredField(\n\t\t$FERN_INPUT\n\t)", "templateInputs": [ { "type": "template", @@ -1240,19 +1281,20 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -1282,15 +1324,15 @@ "from .object_with_map_of_map import ObjectWithMapOfMap" ], "isOptional": true, - "templateString": "request=ObjectWithMapOfMap(\n$FERN_INPUT\n)", + "templateString": "request=ObjectWithMapOfMap(\n\t\t$FERN_INPUT\n\t)", "templateInputs": [ { "type": "template", "value": { "imports": [], "isOptional": true, - "containerTemplateString": "map_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "map_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "keyTemplate": { "imports": [], "isOptional": true, @@ -1298,7 +1340,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1306,8 +1349,8 @@ "valueTemplate": { "imports": [], "isOptional": true, - "containerTemplateString": "{$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "{\n\t\t$FERN_INPUT\n\t}", + "delimiter": ",\n\t\t", "keyTemplate": { "imports": [], "isOptional": true, @@ -1315,7 +1358,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1327,7 +1371,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1348,12 +1393,12 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -1383,7 +1428,7 @@ "from .nested_object_with_optional_field import NestedObjectWithOptionalField" ], "isOptional": true, - "templateString": "request=NestedObjectWithOptionalField(\n$FERN_INPUT\n)", + "templateString": "request=NestedObjectWithOptionalField(\n\t\t$FERN_INPUT\n\t)", "templateInputs": [ { "type": "template", @@ -1394,7 +1439,8 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" @@ -1407,7 +1453,7 @@ "from .object_with_optional_field import ObjectWithOptionalField" ], "isOptional": true, - "templateString": "nested_object=ObjectWithOptionalField(\n$FERN_INPUT\n)", + "templateString": "nested_object=ObjectWithOptionalField(\n\t$FERN_INPUT\n)", "templateInputs": [ { "type": "template", @@ -1418,7 +1464,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.string" + "path": "NestedObject.string", + "type": "payload" } ], "type": "generic" @@ -1433,7 +1480,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.integer" + "path": "NestedObject.integer", + "type": "payload" } ], "type": "generic" @@ -1448,7 +1496,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.long" + "path": "NestedObject.long", + "type": "payload" } ], "type": "generic" @@ -1463,7 +1512,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.double" + "path": "NestedObject.double", + "type": "payload" } ], "type": "generic" @@ -1478,7 +1528,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.bool" + "path": "NestedObject.bool", + "type": "payload" } ], "type": "generic" @@ -1493,7 +1544,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.datetime" + "path": "NestedObject.datetime", + "type": "payload" } ], "type": "generic" @@ -1508,7 +1560,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.date" + "path": "NestedObject.date", + "type": "payload" } ], "type": "generic" @@ -1523,7 +1576,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.uuid" + "path": "NestedObject.uuid", + "type": "payload" } ], "type": "generic" @@ -1538,7 +1592,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.base64" + "path": "NestedObject.base64", + "type": "payload" } ], "type": "generic" @@ -1549,8 +1604,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "list_=[$FERN_INPUT]", - "delimiter": ", ", + "containerTemplateString": "list_=[\n\t$FERN_INPUT\n]", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -1558,7 +1613,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1575,8 +1631,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "set_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "set_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -1584,7 +1640,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1601,8 +1658,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "map_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "map_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "keyTemplate": { "imports": [], "isOptional": true, @@ -1610,7 +1667,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1622,7 +1680,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1636,17 +1695,17 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -1676,7 +1735,7 @@ "from .nested_object_with_required_field import NestedObjectWithRequiredField" ], "isOptional": true, - "templateString": "request=NestedObjectWithRequiredField(\n$FERN_INPUT\n)", + "templateString": "request=NestedObjectWithRequiredField(\n\t\t$FERN_INPUT\n\t)", "templateInputs": [ { "type": "template", @@ -1687,7 +1746,8 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" @@ -1700,7 +1760,7 @@ "from .object_with_optional_field import ObjectWithOptionalField" ], "isOptional": true, - "templateString": "nested_object=ObjectWithOptionalField(\n$FERN_INPUT\n)", + "templateString": "nested_object=ObjectWithOptionalField(\n\t$FERN_INPUT\n)", "templateInputs": [ { "type": "template", @@ -1711,7 +1771,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.string" + "path": "NestedObject.string", + "type": "payload" } ], "type": "generic" @@ -1726,7 +1787,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.integer" + "path": "NestedObject.integer", + "type": "payload" } ], "type": "generic" @@ -1741,7 +1803,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.long" + "path": "NestedObject.long", + "type": "payload" } ], "type": "generic" @@ -1756,7 +1819,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.double" + "path": "NestedObject.double", + "type": "payload" } ], "type": "generic" @@ -1771,7 +1835,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.bool" + "path": "NestedObject.bool", + "type": "payload" } ], "type": "generic" @@ -1786,7 +1851,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.datetime" + "path": "NestedObject.datetime", + "type": "payload" } ], "type": "generic" @@ -1801,7 +1867,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.date" + "path": "NestedObject.date", + "type": "payload" } ], "type": "generic" @@ -1816,7 +1883,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.uuid" + "path": "NestedObject.uuid", + "type": "payload" } ], "type": "generic" @@ -1831,7 +1899,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.base64" + "path": "NestedObject.base64", + "type": "payload" } ], "type": "generic" @@ -1842,8 +1911,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "list_=[$FERN_INPUT]", - "delimiter": ", ", + "containerTemplateString": "list_=[\n\t$FERN_INPUT\n]", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -1851,7 +1920,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1868,8 +1938,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "set_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "set_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -1877,7 +1947,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1894,8 +1965,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "map_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "map_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "keyTemplate": { "imports": [], "isOptional": true, @@ -1903,7 +1974,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1915,7 +1987,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1929,17 +2002,17 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -1967,14 +2040,14 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "request=[$FERN_INPUT]", - "delimiter": ", ", + "containerTemplateString": "request=[\n\t\t$FERN_INPUT\n\t]", + "delimiter": ",\n\t\t", "innerTemplate": { "imports": [ "from .nested_object_with_required_field import NestedObjectWithRequiredField" ], "isOptional": true, - "templateString": "NestedObjectWithRequiredField($FERN_INPUT)", + "templateString": "NestedObjectWithRequiredField(\n\t\t\t$FERN_INPUT\n\t\t)", "templateInputs": [ { "type": "template", @@ -1985,7 +2058,8 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" @@ -1998,7 +2072,7 @@ "from .object_with_optional_field import ObjectWithOptionalField" ], "isOptional": true, - "templateString": "nested_object=ObjectWithOptionalField(\n$FERN_INPUT\n)", + "templateString": "nested_object=ObjectWithOptionalField(\n\t$FERN_INPUT\n)", "templateInputs": [ { "type": "template", @@ -2009,7 +2083,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.string" + "path": "NestedObject.string", + "type": "payload" } ], "type": "generic" @@ -2024,7 +2099,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.integer" + "path": "NestedObject.integer", + "type": "payload" } ], "type": "generic" @@ -2039,7 +2115,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.long" + "path": "NestedObject.long", + "type": "payload" } ], "type": "generic" @@ -2054,7 +2131,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.double" + "path": "NestedObject.double", + "type": "payload" } ], "type": "generic" @@ -2069,7 +2147,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.bool" + "path": "NestedObject.bool", + "type": "payload" } ], "type": "generic" @@ -2084,7 +2163,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.datetime" + "path": "NestedObject.datetime", + "type": "payload" } ], "type": "generic" @@ -2099,7 +2179,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.date" + "path": "NestedObject.date", + "type": "payload" } ], "type": "generic" @@ -2114,7 +2195,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.uuid" + "path": "NestedObject.uuid", + "type": "payload" } ], "type": "generic" @@ -2129,7 +2211,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.base64" + "path": "NestedObject.base64", + "type": "payload" } ], "type": "generic" @@ -2140,8 +2223,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "list_=[$FERN_INPUT]", - "delimiter": ", ", + "containerTemplateString": "list_=[\n\t$FERN_INPUT\n]", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -2149,7 +2232,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -2166,8 +2250,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "set_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "set_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -2175,7 +2259,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -2192,8 +2277,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "map_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "map_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "keyTemplate": { "imports": [], "isOptional": true, @@ -2201,7 +2286,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -2213,7 +2299,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -2227,12 +2314,12 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t\t", "type": "generic" }, "templateInput": { @@ -2243,7 +2330,7 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2275,14 +2362,15 @@ "templateInputs": [ { "location": "PATH", - "path": "param" + "path": "param", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2314,7 +2402,8 @@ "templateInputs": [ { "location": "QUERY", - "path": "query" + "path": "query", + "type": "payload" } ], "type": "generic" @@ -2329,14 +2418,15 @@ "templateInputs": [ { "location": "QUERY", - "path": "number" + "path": "number", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2368,7 +2458,8 @@ "templateInputs": [ { "location": "QUERY", - "path": "query" + "path": "query", + "type": "payload" } ], "type": "generic" @@ -2383,14 +2474,15 @@ "templateInputs": [ { "location": "QUERY", - "path": "numer" + "path": "numer", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2422,7 +2514,8 @@ "templateInputs": [ { "location": "PATH", - "path": "param" + "path": "param", + "type": "payload" } ], "type": "generic" @@ -2437,14 +2530,15 @@ "templateInputs": [ { "location": "QUERY", - "path": "query" + "path": "query", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2476,7 +2570,8 @@ "templateInputs": [ { "location": "PATH", - "path": "param" + "path": "param", + "type": "payload" } ], "type": "generic" @@ -2491,14 +2586,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2530,14 +2626,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2569,14 +2666,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2608,14 +2706,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2647,14 +2746,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2686,14 +2786,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2725,14 +2826,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2764,14 +2866,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2803,14 +2906,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2842,14 +2946,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2896,7 +3001,8 @@ "templateInputs": [ { "location": "BODY", - "path": "name" + "path": "name", + "type": "payload" } ], "type": "generic" @@ -2911,7 +3017,8 @@ "templateInputs": [ { "location": "BODY", - "path": "likesToWoof" + "path": "likesToWoof", + "type": "payload" } ], "type": "generic" @@ -2936,7 +3043,8 @@ "templateInputs": [ { "location": "BODY", - "path": "name" + "path": "name", + "type": "payload" } ], "type": "generic" @@ -2951,7 +3059,8 @@ "templateInputs": [ { "location": "BODY", - "path": "likesToMeow" + "path": "likesToMeow", + "type": "payload" } ], "type": "generic" @@ -2965,7 +3074,7 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2997,7 +3106,8 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" @@ -3012,7 +3122,8 @@ "templateInputs": [ { "location": "BODY", - "path": "integer" + "path": "integer", + "type": "payload" } ], "type": "generic" @@ -3025,7 +3136,7 @@ "from .object_with_optional_field import ObjectWithOptionalField" ], "isOptional": true, - "templateString": "nested_object=ObjectWithOptionalField(\n$FERN_INPUT\n)", + "templateString": "nested_object=ObjectWithOptionalField(\n\t\t$FERN_INPUT\n\t)", "templateInputs": [ { "type": "template", @@ -3036,7 +3147,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.string" + "path": "NestedObject.string", + "type": "payload" } ], "type": "generic" @@ -3051,7 +3163,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.integer" + "path": "NestedObject.integer", + "type": "payload" } ], "type": "generic" @@ -3066,7 +3179,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.long" + "path": "NestedObject.long", + "type": "payload" } ], "type": "generic" @@ -3081,7 +3195,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.double" + "path": "NestedObject.double", + "type": "payload" } ], "type": "generic" @@ -3096,7 +3211,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.bool" + "path": "NestedObject.bool", + "type": "payload" } ], "type": "generic" @@ -3111,7 +3227,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.datetime" + "path": "NestedObject.datetime", + "type": "payload" } ], "type": "generic" @@ -3126,7 +3243,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.date" + "path": "NestedObject.date", + "type": "payload" } ], "type": "generic" @@ -3141,7 +3259,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.uuid" + "path": "NestedObject.uuid", + "type": "payload" } ], "type": "generic" @@ -3156,7 +3275,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.base64" + "path": "NestedObject.base64", + "type": "payload" } ], "type": "generic" @@ -3167,8 +3287,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "list_=[$FERN_INPUT]", - "delimiter": ", ", + "containerTemplateString": "list_=[\n\t$FERN_INPUT\n]", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -3176,7 +3296,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -3193,8 +3314,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "set_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "set_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -3202,7 +3323,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -3219,8 +3341,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "map_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "map_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "keyTemplate": { "imports": [], "isOptional": true, @@ -3228,7 +3350,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -3240,7 +3363,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -3254,12 +3378,12 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -3291,14 +3415,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -3321,7 +3446,7 @@ "isOptional": true, "templateString": "await client.no_req_body.get_with_no_request_body(\n$FERN_INPUT\n)", "templateInputs": [], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -3344,7 +3469,7 @@ "isOptional": true, "templateString": "await client.no_req_body.post_with_no_request_body(\n$FERN_INPUT\n)", "templateInputs": [], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -3376,7 +3501,8 @@ "templateInputs": [ { "location": "HEADERS", - "path": "X-TEST-ENDPOINT-HEADER" + "path": "X-TEST-ENDPOINT-HEADER", + "type": "payload" } ], "type": "generic" @@ -3391,14 +3517,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" diff --git a/seed/python-sdk/exhaustive/pydantic-v1/snippet-templates.json b/seed/python-sdk/exhaustive/pydantic-v1/snippet-templates.json index e8361d710a1..7cafcf66364 100644 --- a/seed/python-sdk/exhaustive/pydantic-v1/snippet-templates.json +++ b/seed/python-sdk/exhaustive/pydantic-v1/snippet-templates.json @@ -21,8 +21,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "request=[$FERN_INPUT]", - "delimiter": ", ", + "containerTemplateString": "request=[\n\t\t$FERN_INPUT\n\t]", + "delimiter": ",\n\t\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -30,7 +30,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -43,7 +44,7 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -71,14 +72,14 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "request=[$FERN_INPUT]", - "delimiter": ", ", + "containerTemplateString": "request=[\n\t\t$FERN_INPUT\n\t]", + "delimiter": ",\n\t\t", "innerTemplate": { "imports": [ "from .object_with_required_field import ObjectWithRequiredField" ], "isOptional": true, - "templateString": "ObjectWithRequiredField($FERN_INPUT)", + "templateString": "ObjectWithRequiredField(\n\t\t\t$FERN_INPUT\n\t\t)", "templateInputs": [ { "type": "template", @@ -89,14 +90,15 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t\t", "type": "generic" }, "templateInput": { @@ -107,7 +109,7 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -135,8 +137,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "request={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "request={\n\t\t$FERN_INPUT\n\t}", + "delimiter": ",\n\t\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -144,7 +146,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -157,7 +160,7 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -185,14 +188,14 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "request={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "request={\n\t\t$FERN_INPUT\n\t}", + "delimiter": ",\n\t\t", "innerTemplate": { "imports": [ "from .object_with_required_field import ObjectWithRequiredField" ], "isOptional": true, - "templateString": "ObjectWithRequiredField($FERN_INPUT)", + "templateString": "ObjectWithRequiredField(\n\t\t\t$FERN_INPUT\n\t\t)", "templateInputs": [ { "type": "template", @@ -203,14 +206,15 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t\t", "type": "generic" }, "templateInput": { @@ -221,7 +225,7 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -249,8 +253,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "request={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "request={\n\t\t$FERN_INPUT\n\t}", + "delimiter": ",\n\t\t", "keyTemplate": { "imports": [], "isOptional": true, @@ -258,7 +262,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -270,7 +275,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -284,7 +290,7 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -312,8 +318,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "request={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "request={\n\t\t$FERN_INPUT\n\t}", + "delimiter": ",\n\t\t", "keyTemplate": { "imports": [], "isOptional": true, @@ -321,7 +327,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -331,7 +338,7 @@ "from .object_with_required_field import ObjectWithRequiredField" ], "isOptional": true, - "templateString": "ObjectWithRequiredField($FERN_INPUT)", + "templateString": "ObjectWithRequiredField(\n\t\t\t$FERN_INPUT\n\t\t)", "templateInputs": [ { "type": "template", @@ -342,14 +349,15 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t\t", "type": "generic" }, "keyValueSeparator": ": ", @@ -361,7 +369,7 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -391,7 +399,7 @@ "from .object_with_required_field import ObjectWithRequiredField" ], "isOptional": true, - "templateString": "request=ObjectWithRequiredField(\n$FERN_INPUT\n)", + "templateString": "request=ObjectWithRequiredField(\n\t\t$FERN_INPUT\n\t)", "templateInputs": [ { "type": "template", @@ -402,19 +410,20 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -457,7 +466,7 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -489,14 +498,15 @@ "templateInputs": [ { "location": "PATH", - "path": "id" + "path": "id", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -526,7 +536,7 @@ "from .object_with_required_field import ObjectWithRequiredField" ], "isOptional": true, - "templateString": "request=ObjectWithRequiredField(\n$FERN_INPUT\n)", + "templateString": "request=ObjectWithRequiredField(\n\t\t$FERN_INPUT\n\t)", "templateInputs": [ { "type": "template", @@ -537,19 +547,20 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -581,7 +592,8 @@ "templateInputs": [ { "location": "PATH", - "path": "id" + "path": "id", + "type": "payload" } ], "type": "generic" @@ -594,7 +606,7 @@ "from .object_with_required_field import ObjectWithRequiredField" ], "isOptional": true, - "templateString": "request=ObjectWithRequiredField(\n$FERN_INPUT\n)", + "templateString": "request=ObjectWithRequiredField(\n\t\t$FERN_INPUT\n\t)", "templateInputs": [ { "type": "template", @@ -605,19 +617,20 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -649,7 +662,8 @@ "templateInputs": [ { "location": "PATH", - "path": "id" + "path": "id", + "type": "payload" } ], "type": "generic" @@ -662,7 +676,7 @@ "from .object_with_optional_field import ObjectWithOptionalField" ], "isOptional": true, - "templateString": "request=ObjectWithOptionalField(\n$FERN_INPUT\n)", + "templateString": "request=ObjectWithOptionalField(\n\t\t$FERN_INPUT\n\t)", "templateInputs": [ { "type": "template", @@ -673,7 +687,8 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" @@ -688,7 +703,8 @@ "templateInputs": [ { "location": "BODY", - "path": "integer" + "path": "integer", + "type": "payload" } ], "type": "generic" @@ -703,7 +719,8 @@ "templateInputs": [ { "location": "BODY", - "path": "long" + "path": "long", + "type": "payload" } ], "type": "generic" @@ -718,7 +735,8 @@ "templateInputs": [ { "location": "BODY", - "path": "double" + "path": "double", + "type": "payload" } ], "type": "generic" @@ -733,7 +751,8 @@ "templateInputs": [ { "location": "BODY", - "path": "bool" + "path": "bool", + "type": "payload" } ], "type": "generic" @@ -748,7 +767,8 @@ "templateInputs": [ { "location": "BODY", - "path": "datetime" + "path": "datetime", + "type": "payload" } ], "type": "generic" @@ -763,7 +783,8 @@ "templateInputs": [ { "location": "BODY", - "path": "date" + "path": "date", + "type": "payload" } ], "type": "generic" @@ -778,7 +799,8 @@ "templateInputs": [ { "location": "BODY", - "path": "uuid" + "path": "uuid", + "type": "payload" } ], "type": "generic" @@ -793,7 +815,8 @@ "templateInputs": [ { "location": "BODY", - "path": "base64" + "path": "base64", + "type": "payload" } ], "type": "generic" @@ -804,8 +827,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "list_=[$FERN_INPUT]", - "delimiter": ", ", + "containerTemplateString": "list_=[\n\t$FERN_INPUT\n]", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -813,7 +836,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -830,8 +854,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "set_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "set_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -839,7 +863,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -856,8 +881,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "map_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "map_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "keyTemplate": { "imports": [], "isOptional": true, @@ -865,7 +890,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -877,7 +903,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -891,12 +918,12 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -928,14 +955,15 @@ "templateInputs": [ { "location": "PATH", - "path": "id" + "path": "id", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -965,7 +993,7 @@ "from .object_with_optional_field import ObjectWithOptionalField" ], "isOptional": true, - "templateString": "request=ObjectWithOptionalField(\n$FERN_INPUT\n)", + "templateString": "request=ObjectWithOptionalField(\n\t\t$FERN_INPUT\n\t)", "templateInputs": [ { "type": "template", @@ -976,7 +1004,8 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" @@ -991,7 +1020,8 @@ "templateInputs": [ { "location": "BODY", - "path": "integer" + "path": "integer", + "type": "payload" } ], "type": "generic" @@ -1006,7 +1036,8 @@ "templateInputs": [ { "location": "BODY", - "path": "long" + "path": "long", + "type": "payload" } ], "type": "generic" @@ -1021,7 +1052,8 @@ "templateInputs": [ { "location": "BODY", - "path": "double" + "path": "double", + "type": "payload" } ], "type": "generic" @@ -1036,7 +1068,8 @@ "templateInputs": [ { "location": "BODY", - "path": "bool" + "path": "bool", + "type": "payload" } ], "type": "generic" @@ -1051,7 +1084,8 @@ "templateInputs": [ { "location": "BODY", - "path": "datetime" + "path": "datetime", + "type": "payload" } ], "type": "generic" @@ -1066,7 +1100,8 @@ "templateInputs": [ { "location": "BODY", - "path": "date" + "path": "date", + "type": "payload" } ], "type": "generic" @@ -1081,7 +1116,8 @@ "templateInputs": [ { "location": "BODY", - "path": "uuid" + "path": "uuid", + "type": "payload" } ], "type": "generic" @@ -1096,7 +1132,8 @@ "templateInputs": [ { "location": "BODY", - "path": "base64" + "path": "base64", + "type": "payload" } ], "type": "generic" @@ -1107,8 +1144,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "list_=[$FERN_INPUT]", - "delimiter": ", ", + "containerTemplateString": "list_=[\n\t$FERN_INPUT\n]", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -1116,7 +1153,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1133,8 +1171,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "set_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "set_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -1142,7 +1180,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1159,8 +1198,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "map_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "map_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "keyTemplate": { "imports": [], "isOptional": true, @@ -1168,7 +1207,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1180,7 +1220,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1194,12 +1235,12 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -1229,7 +1270,7 @@ "from .object_with_required_field import ObjectWithRequiredField" ], "isOptional": true, - "templateString": "request=ObjectWithRequiredField(\n$FERN_INPUT\n)", + "templateString": "request=ObjectWithRequiredField(\n\t\t$FERN_INPUT\n\t)", "templateInputs": [ { "type": "template", @@ -1240,19 +1281,20 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -1282,15 +1324,15 @@ "from .object_with_map_of_map import ObjectWithMapOfMap" ], "isOptional": true, - "templateString": "request=ObjectWithMapOfMap(\n$FERN_INPUT\n)", + "templateString": "request=ObjectWithMapOfMap(\n\t\t$FERN_INPUT\n\t)", "templateInputs": [ { "type": "template", "value": { "imports": [], "isOptional": true, - "containerTemplateString": "map_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "map_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "keyTemplate": { "imports": [], "isOptional": true, @@ -1298,7 +1340,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1306,8 +1349,8 @@ "valueTemplate": { "imports": [], "isOptional": true, - "containerTemplateString": "{$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "{\n\t\t$FERN_INPUT\n\t}", + "delimiter": ",\n\t\t", "keyTemplate": { "imports": [], "isOptional": true, @@ -1315,7 +1358,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1327,7 +1371,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1348,12 +1393,12 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -1383,7 +1428,7 @@ "from .nested_object_with_optional_field import NestedObjectWithOptionalField" ], "isOptional": true, - "templateString": "request=NestedObjectWithOptionalField(\n$FERN_INPUT\n)", + "templateString": "request=NestedObjectWithOptionalField(\n\t\t$FERN_INPUT\n\t)", "templateInputs": [ { "type": "template", @@ -1394,7 +1439,8 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" @@ -1407,7 +1453,7 @@ "from .object_with_optional_field import ObjectWithOptionalField" ], "isOptional": true, - "templateString": "nested_object=ObjectWithOptionalField(\n$FERN_INPUT\n)", + "templateString": "nested_object=ObjectWithOptionalField(\n\t$FERN_INPUT\n)", "templateInputs": [ { "type": "template", @@ -1418,7 +1464,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.string" + "path": "NestedObject.string", + "type": "payload" } ], "type": "generic" @@ -1433,7 +1480,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.integer" + "path": "NestedObject.integer", + "type": "payload" } ], "type": "generic" @@ -1448,7 +1496,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.long" + "path": "NestedObject.long", + "type": "payload" } ], "type": "generic" @@ -1463,7 +1512,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.double" + "path": "NestedObject.double", + "type": "payload" } ], "type": "generic" @@ -1478,7 +1528,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.bool" + "path": "NestedObject.bool", + "type": "payload" } ], "type": "generic" @@ -1493,7 +1544,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.datetime" + "path": "NestedObject.datetime", + "type": "payload" } ], "type": "generic" @@ -1508,7 +1560,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.date" + "path": "NestedObject.date", + "type": "payload" } ], "type": "generic" @@ -1523,7 +1576,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.uuid" + "path": "NestedObject.uuid", + "type": "payload" } ], "type": "generic" @@ -1538,7 +1592,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.base64" + "path": "NestedObject.base64", + "type": "payload" } ], "type": "generic" @@ -1549,8 +1604,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "list_=[$FERN_INPUT]", - "delimiter": ", ", + "containerTemplateString": "list_=[\n\t$FERN_INPUT\n]", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -1558,7 +1613,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1575,8 +1631,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "set_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "set_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -1584,7 +1640,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1601,8 +1658,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "map_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "map_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "keyTemplate": { "imports": [], "isOptional": true, @@ -1610,7 +1667,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1622,7 +1680,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1636,17 +1695,17 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -1676,7 +1735,7 @@ "from .nested_object_with_required_field import NestedObjectWithRequiredField" ], "isOptional": true, - "templateString": "request=NestedObjectWithRequiredField(\n$FERN_INPUT\n)", + "templateString": "request=NestedObjectWithRequiredField(\n\t\t$FERN_INPUT\n\t)", "templateInputs": [ { "type": "template", @@ -1687,7 +1746,8 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" @@ -1700,7 +1760,7 @@ "from .object_with_optional_field import ObjectWithOptionalField" ], "isOptional": true, - "templateString": "nested_object=ObjectWithOptionalField(\n$FERN_INPUT\n)", + "templateString": "nested_object=ObjectWithOptionalField(\n\t$FERN_INPUT\n)", "templateInputs": [ { "type": "template", @@ -1711,7 +1771,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.string" + "path": "NestedObject.string", + "type": "payload" } ], "type": "generic" @@ -1726,7 +1787,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.integer" + "path": "NestedObject.integer", + "type": "payload" } ], "type": "generic" @@ -1741,7 +1803,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.long" + "path": "NestedObject.long", + "type": "payload" } ], "type": "generic" @@ -1756,7 +1819,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.double" + "path": "NestedObject.double", + "type": "payload" } ], "type": "generic" @@ -1771,7 +1835,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.bool" + "path": "NestedObject.bool", + "type": "payload" } ], "type": "generic" @@ -1786,7 +1851,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.datetime" + "path": "NestedObject.datetime", + "type": "payload" } ], "type": "generic" @@ -1801,7 +1867,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.date" + "path": "NestedObject.date", + "type": "payload" } ], "type": "generic" @@ -1816,7 +1883,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.uuid" + "path": "NestedObject.uuid", + "type": "payload" } ], "type": "generic" @@ -1831,7 +1899,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.base64" + "path": "NestedObject.base64", + "type": "payload" } ], "type": "generic" @@ -1842,8 +1911,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "list_=[$FERN_INPUT]", - "delimiter": ", ", + "containerTemplateString": "list_=[\n\t$FERN_INPUT\n]", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -1851,7 +1920,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1868,8 +1938,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "set_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "set_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -1877,7 +1947,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1894,8 +1965,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "map_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "map_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "keyTemplate": { "imports": [], "isOptional": true, @@ -1903,7 +1974,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1915,7 +1987,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1929,17 +2002,17 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -1967,14 +2040,14 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "request=[$FERN_INPUT]", - "delimiter": ", ", + "containerTemplateString": "request=[\n\t\t$FERN_INPUT\n\t]", + "delimiter": ",\n\t\t", "innerTemplate": { "imports": [ "from .nested_object_with_required_field import NestedObjectWithRequiredField" ], "isOptional": true, - "templateString": "NestedObjectWithRequiredField($FERN_INPUT)", + "templateString": "NestedObjectWithRequiredField(\n\t\t\t$FERN_INPUT\n\t\t)", "templateInputs": [ { "type": "template", @@ -1985,7 +2058,8 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" @@ -1998,7 +2072,7 @@ "from .object_with_optional_field import ObjectWithOptionalField" ], "isOptional": true, - "templateString": "nested_object=ObjectWithOptionalField(\n$FERN_INPUT\n)", + "templateString": "nested_object=ObjectWithOptionalField(\n\t$FERN_INPUT\n)", "templateInputs": [ { "type": "template", @@ -2009,7 +2083,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.string" + "path": "NestedObject.string", + "type": "payload" } ], "type": "generic" @@ -2024,7 +2099,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.integer" + "path": "NestedObject.integer", + "type": "payload" } ], "type": "generic" @@ -2039,7 +2115,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.long" + "path": "NestedObject.long", + "type": "payload" } ], "type": "generic" @@ -2054,7 +2131,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.double" + "path": "NestedObject.double", + "type": "payload" } ], "type": "generic" @@ -2069,7 +2147,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.bool" + "path": "NestedObject.bool", + "type": "payload" } ], "type": "generic" @@ -2084,7 +2163,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.datetime" + "path": "NestedObject.datetime", + "type": "payload" } ], "type": "generic" @@ -2099,7 +2179,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.date" + "path": "NestedObject.date", + "type": "payload" } ], "type": "generic" @@ -2114,7 +2195,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.uuid" + "path": "NestedObject.uuid", + "type": "payload" } ], "type": "generic" @@ -2129,7 +2211,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.base64" + "path": "NestedObject.base64", + "type": "payload" } ], "type": "generic" @@ -2140,8 +2223,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "list_=[$FERN_INPUT]", - "delimiter": ", ", + "containerTemplateString": "list_=[\n\t$FERN_INPUT\n]", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -2149,7 +2232,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -2166,8 +2250,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "set_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "set_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -2175,7 +2259,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -2192,8 +2277,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "map_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "map_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "keyTemplate": { "imports": [], "isOptional": true, @@ -2201,7 +2286,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -2213,7 +2299,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -2227,12 +2314,12 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t\t", "type": "generic" }, "templateInput": { @@ -2243,7 +2330,7 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2275,14 +2362,15 @@ "templateInputs": [ { "location": "PATH", - "path": "param" + "path": "param", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2314,7 +2402,8 @@ "templateInputs": [ { "location": "QUERY", - "path": "query" + "path": "query", + "type": "payload" } ], "type": "generic" @@ -2329,14 +2418,15 @@ "templateInputs": [ { "location": "QUERY", - "path": "number" + "path": "number", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2368,7 +2458,8 @@ "templateInputs": [ { "location": "QUERY", - "path": "query" + "path": "query", + "type": "payload" } ], "type": "generic" @@ -2383,14 +2474,15 @@ "templateInputs": [ { "location": "QUERY", - "path": "numer" + "path": "numer", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2422,7 +2514,8 @@ "templateInputs": [ { "location": "PATH", - "path": "param" + "path": "param", + "type": "payload" } ], "type": "generic" @@ -2437,14 +2530,15 @@ "templateInputs": [ { "location": "QUERY", - "path": "query" + "path": "query", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2476,7 +2570,8 @@ "templateInputs": [ { "location": "PATH", - "path": "param" + "path": "param", + "type": "payload" } ], "type": "generic" @@ -2491,14 +2586,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2530,14 +2626,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2569,14 +2666,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2608,14 +2706,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2647,14 +2746,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2686,14 +2786,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2725,14 +2826,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2764,14 +2866,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2803,14 +2906,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2842,14 +2946,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2896,7 +3001,8 @@ "templateInputs": [ { "location": "BODY", - "path": "name" + "path": "name", + "type": "payload" } ], "type": "generic" @@ -2911,7 +3017,8 @@ "templateInputs": [ { "location": "BODY", - "path": "likesToWoof" + "path": "likesToWoof", + "type": "payload" } ], "type": "generic" @@ -2936,7 +3043,8 @@ "templateInputs": [ { "location": "BODY", - "path": "name" + "path": "name", + "type": "payload" } ], "type": "generic" @@ -2951,7 +3059,8 @@ "templateInputs": [ { "location": "BODY", - "path": "likesToMeow" + "path": "likesToMeow", + "type": "payload" } ], "type": "generic" @@ -2965,7 +3074,7 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2997,7 +3106,8 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" @@ -3012,7 +3122,8 @@ "templateInputs": [ { "location": "BODY", - "path": "integer" + "path": "integer", + "type": "payload" } ], "type": "generic" @@ -3025,7 +3136,7 @@ "from .object_with_optional_field import ObjectWithOptionalField" ], "isOptional": true, - "templateString": "nested_object=ObjectWithOptionalField(\n$FERN_INPUT\n)", + "templateString": "nested_object=ObjectWithOptionalField(\n\t\t$FERN_INPUT\n\t)", "templateInputs": [ { "type": "template", @@ -3036,7 +3147,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.string" + "path": "NestedObject.string", + "type": "payload" } ], "type": "generic" @@ -3051,7 +3163,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.integer" + "path": "NestedObject.integer", + "type": "payload" } ], "type": "generic" @@ -3066,7 +3179,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.long" + "path": "NestedObject.long", + "type": "payload" } ], "type": "generic" @@ -3081,7 +3195,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.double" + "path": "NestedObject.double", + "type": "payload" } ], "type": "generic" @@ -3096,7 +3211,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.bool" + "path": "NestedObject.bool", + "type": "payload" } ], "type": "generic" @@ -3111,7 +3227,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.datetime" + "path": "NestedObject.datetime", + "type": "payload" } ], "type": "generic" @@ -3126,7 +3243,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.date" + "path": "NestedObject.date", + "type": "payload" } ], "type": "generic" @@ -3141,7 +3259,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.uuid" + "path": "NestedObject.uuid", + "type": "payload" } ], "type": "generic" @@ -3156,7 +3275,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.base64" + "path": "NestedObject.base64", + "type": "payload" } ], "type": "generic" @@ -3167,8 +3287,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "list_=[$FERN_INPUT]", - "delimiter": ", ", + "containerTemplateString": "list_=[\n\t$FERN_INPUT\n]", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -3176,7 +3296,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -3193,8 +3314,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "set_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "set_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -3202,7 +3323,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -3219,8 +3341,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "map_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "map_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "keyTemplate": { "imports": [], "isOptional": true, @@ -3228,7 +3350,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -3240,7 +3363,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -3254,12 +3378,12 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -3291,14 +3415,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -3321,7 +3446,7 @@ "isOptional": true, "templateString": "await client.no_req_body.get_with_no_request_body(\n$FERN_INPUT\n)", "templateInputs": [], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -3344,7 +3469,7 @@ "isOptional": true, "templateString": "await client.no_req_body.post_with_no_request_body(\n$FERN_INPUT\n)", "templateInputs": [], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -3376,7 +3501,8 @@ "templateInputs": [ { "location": "HEADERS", - "path": "X-TEST-ENDPOINT-HEADER" + "path": "X-TEST-ENDPOINT-HEADER", + "type": "payload" } ], "type": "generic" @@ -3391,14 +3517,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" diff --git a/seed/python-sdk/exhaustive/skip-pydantic-validation/snippet-templates.json b/seed/python-sdk/exhaustive/skip-pydantic-validation/snippet-templates.json index e8361d710a1..7cafcf66364 100644 --- a/seed/python-sdk/exhaustive/skip-pydantic-validation/snippet-templates.json +++ b/seed/python-sdk/exhaustive/skip-pydantic-validation/snippet-templates.json @@ -21,8 +21,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "request=[$FERN_INPUT]", - "delimiter": ", ", + "containerTemplateString": "request=[\n\t\t$FERN_INPUT\n\t]", + "delimiter": ",\n\t\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -30,7 +30,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -43,7 +44,7 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -71,14 +72,14 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "request=[$FERN_INPUT]", - "delimiter": ", ", + "containerTemplateString": "request=[\n\t\t$FERN_INPUT\n\t]", + "delimiter": ",\n\t\t", "innerTemplate": { "imports": [ "from .object_with_required_field import ObjectWithRequiredField" ], "isOptional": true, - "templateString": "ObjectWithRequiredField($FERN_INPUT)", + "templateString": "ObjectWithRequiredField(\n\t\t\t$FERN_INPUT\n\t\t)", "templateInputs": [ { "type": "template", @@ -89,14 +90,15 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t\t", "type": "generic" }, "templateInput": { @@ -107,7 +109,7 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -135,8 +137,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "request={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "request={\n\t\t$FERN_INPUT\n\t}", + "delimiter": ",\n\t\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -144,7 +146,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -157,7 +160,7 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -185,14 +188,14 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "request={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "request={\n\t\t$FERN_INPUT\n\t}", + "delimiter": ",\n\t\t", "innerTemplate": { "imports": [ "from .object_with_required_field import ObjectWithRequiredField" ], "isOptional": true, - "templateString": "ObjectWithRequiredField($FERN_INPUT)", + "templateString": "ObjectWithRequiredField(\n\t\t\t$FERN_INPUT\n\t\t)", "templateInputs": [ { "type": "template", @@ -203,14 +206,15 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t\t", "type": "generic" }, "templateInput": { @@ -221,7 +225,7 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -249,8 +253,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "request={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "request={\n\t\t$FERN_INPUT\n\t}", + "delimiter": ",\n\t\t", "keyTemplate": { "imports": [], "isOptional": true, @@ -258,7 +262,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -270,7 +275,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -284,7 +290,7 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -312,8 +318,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "request={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "request={\n\t\t$FERN_INPUT\n\t}", + "delimiter": ",\n\t\t", "keyTemplate": { "imports": [], "isOptional": true, @@ -321,7 +327,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -331,7 +338,7 @@ "from .object_with_required_field import ObjectWithRequiredField" ], "isOptional": true, - "templateString": "ObjectWithRequiredField($FERN_INPUT)", + "templateString": "ObjectWithRequiredField(\n\t\t\t$FERN_INPUT\n\t\t)", "templateInputs": [ { "type": "template", @@ -342,14 +349,15 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t\t", "type": "generic" }, "keyValueSeparator": ": ", @@ -361,7 +369,7 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -391,7 +399,7 @@ "from .object_with_required_field import ObjectWithRequiredField" ], "isOptional": true, - "templateString": "request=ObjectWithRequiredField(\n$FERN_INPUT\n)", + "templateString": "request=ObjectWithRequiredField(\n\t\t$FERN_INPUT\n\t)", "templateInputs": [ { "type": "template", @@ -402,19 +410,20 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -457,7 +466,7 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -489,14 +498,15 @@ "templateInputs": [ { "location": "PATH", - "path": "id" + "path": "id", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -526,7 +536,7 @@ "from .object_with_required_field import ObjectWithRequiredField" ], "isOptional": true, - "templateString": "request=ObjectWithRequiredField(\n$FERN_INPUT\n)", + "templateString": "request=ObjectWithRequiredField(\n\t\t$FERN_INPUT\n\t)", "templateInputs": [ { "type": "template", @@ -537,19 +547,20 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -581,7 +592,8 @@ "templateInputs": [ { "location": "PATH", - "path": "id" + "path": "id", + "type": "payload" } ], "type": "generic" @@ -594,7 +606,7 @@ "from .object_with_required_field import ObjectWithRequiredField" ], "isOptional": true, - "templateString": "request=ObjectWithRequiredField(\n$FERN_INPUT\n)", + "templateString": "request=ObjectWithRequiredField(\n\t\t$FERN_INPUT\n\t)", "templateInputs": [ { "type": "template", @@ -605,19 +617,20 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -649,7 +662,8 @@ "templateInputs": [ { "location": "PATH", - "path": "id" + "path": "id", + "type": "payload" } ], "type": "generic" @@ -662,7 +676,7 @@ "from .object_with_optional_field import ObjectWithOptionalField" ], "isOptional": true, - "templateString": "request=ObjectWithOptionalField(\n$FERN_INPUT\n)", + "templateString": "request=ObjectWithOptionalField(\n\t\t$FERN_INPUT\n\t)", "templateInputs": [ { "type": "template", @@ -673,7 +687,8 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" @@ -688,7 +703,8 @@ "templateInputs": [ { "location": "BODY", - "path": "integer" + "path": "integer", + "type": "payload" } ], "type": "generic" @@ -703,7 +719,8 @@ "templateInputs": [ { "location": "BODY", - "path": "long" + "path": "long", + "type": "payload" } ], "type": "generic" @@ -718,7 +735,8 @@ "templateInputs": [ { "location": "BODY", - "path": "double" + "path": "double", + "type": "payload" } ], "type": "generic" @@ -733,7 +751,8 @@ "templateInputs": [ { "location": "BODY", - "path": "bool" + "path": "bool", + "type": "payload" } ], "type": "generic" @@ -748,7 +767,8 @@ "templateInputs": [ { "location": "BODY", - "path": "datetime" + "path": "datetime", + "type": "payload" } ], "type": "generic" @@ -763,7 +783,8 @@ "templateInputs": [ { "location": "BODY", - "path": "date" + "path": "date", + "type": "payload" } ], "type": "generic" @@ -778,7 +799,8 @@ "templateInputs": [ { "location": "BODY", - "path": "uuid" + "path": "uuid", + "type": "payload" } ], "type": "generic" @@ -793,7 +815,8 @@ "templateInputs": [ { "location": "BODY", - "path": "base64" + "path": "base64", + "type": "payload" } ], "type": "generic" @@ -804,8 +827,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "list_=[$FERN_INPUT]", - "delimiter": ", ", + "containerTemplateString": "list_=[\n\t$FERN_INPUT\n]", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -813,7 +836,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -830,8 +854,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "set_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "set_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -839,7 +863,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -856,8 +881,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "map_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "map_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "keyTemplate": { "imports": [], "isOptional": true, @@ -865,7 +890,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -877,7 +903,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -891,12 +918,12 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -928,14 +955,15 @@ "templateInputs": [ { "location": "PATH", - "path": "id" + "path": "id", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -965,7 +993,7 @@ "from .object_with_optional_field import ObjectWithOptionalField" ], "isOptional": true, - "templateString": "request=ObjectWithOptionalField(\n$FERN_INPUT\n)", + "templateString": "request=ObjectWithOptionalField(\n\t\t$FERN_INPUT\n\t)", "templateInputs": [ { "type": "template", @@ -976,7 +1004,8 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" @@ -991,7 +1020,8 @@ "templateInputs": [ { "location": "BODY", - "path": "integer" + "path": "integer", + "type": "payload" } ], "type": "generic" @@ -1006,7 +1036,8 @@ "templateInputs": [ { "location": "BODY", - "path": "long" + "path": "long", + "type": "payload" } ], "type": "generic" @@ -1021,7 +1052,8 @@ "templateInputs": [ { "location": "BODY", - "path": "double" + "path": "double", + "type": "payload" } ], "type": "generic" @@ -1036,7 +1068,8 @@ "templateInputs": [ { "location": "BODY", - "path": "bool" + "path": "bool", + "type": "payload" } ], "type": "generic" @@ -1051,7 +1084,8 @@ "templateInputs": [ { "location": "BODY", - "path": "datetime" + "path": "datetime", + "type": "payload" } ], "type": "generic" @@ -1066,7 +1100,8 @@ "templateInputs": [ { "location": "BODY", - "path": "date" + "path": "date", + "type": "payload" } ], "type": "generic" @@ -1081,7 +1116,8 @@ "templateInputs": [ { "location": "BODY", - "path": "uuid" + "path": "uuid", + "type": "payload" } ], "type": "generic" @@ -1096,7 +1132,8 @@ "templateInputs": [ { "location": "BODY", - "path": "base64" + "path": "base64", + "type": "payload" } ], "type": "generic" @@ -1107,8 +1144,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "list_=[$FERN_INPUT]", - "delimiter": ", ", + "containerTemplateString": "list_=[\n\t$FERN_INPUT\n]", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -1116,7 +1153,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1133,8 +1171,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "set_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "set_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -1142,7 +1180,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1159,8 +1198,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "map_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "map_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "keyTemplate": { "imports": [], "isOptional": true, @@ -1168,7 +1207,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1180,7 +1220,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1194,12 +1235,12 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -1229,7 +1270,7 @@ "from .object_with_required_field import ObjectWithRequiredField" ], "isOptional": true, - "templateString": "request=ObjectWithRequiredField(\n$FERN_INPUT\n)", + "templateString": "request=ObjectWithRequiredField(\n\t\t$FERN_INPUT\n\t)", "templateInputs": [ { "type": "template", @@ -1240,19 +1281,20 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -1282,15 +1324,15 @@ "from .object_with_map_of_map import ObjectWithMapOfMap" ], "isOptional": true, - "templateString": "request=ObjectWithMapOfMap(\n$FERN_INPUT\n)", + "templateString": "request=ObjectWithMapOfMap(\n\t\t$FERN_INPUT\n\t)", "templateInputs": [ { "type": "template", "value": { "imports": [], "isOptional": true, - "containerTemplateString": "map_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "map_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "keyTemplate": { "imports": [], "isOptional": true, @@ -1298,7 +1340,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1306,8 +1349,8 @@ "valueTemplate": { "imports": [], "isOptional": true, - "containerTemplateString": "{$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "{\n\t\t$FERN_INPUT\n\t}", + "delimiter": ",\n\t\t", "keyTemplate": { "imports": [], "isOptional": true, @@ -1315,7 +1358,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1327,7 +1371,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1348,12 +1393,12 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -1383,7 +1428,7 @@ "from .nested_object_with_optional_field import NestedObjectWithOptionalField" ], "isOptional": true, - "templateString": "request=NestedObjectWithOptionalField(\n$FERN_INPUT\n)", + "templateString": "request=NestedObjectWithOptionalField(\n\t\t$FERN_INPUT\n\t)", "templateInputs": [ { "type": "template", @@ -1394,7 +1439,8 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" @@ -1407,7 +1453,7 @@ "from .object_with_optional_field import ObjectWithOptionalField" ], "isOptional": true, - "templateString": "nested_object=ObjectWithOptionalField(\n$FERN_INPUT\n)", + "templateString": "nested_object=ObjectWithOptionalField(\n\t$FERN_INPUT\n)", "templateInputs": [ { "type": "template", @@ -1418,7 +1464,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.string" + "path": "NestedObject.string", + "type": "payload" } ], "type": "generic" @@ -1433,7 +1480,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.integer" + "path": "NestedObject.integer", + "type": "payload" } ], "type": "generic" @@ -1448,7 +1496,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.long" + "path": "NestedObject.long", + "type": "payload" } ], "type": "generic" @@ -1463,7 +1512,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.double" + "path": "NestedObject.double", + "type": "payload" } ], "type": "generic" @@ -1478,7 +1528,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.bool" + "path": "NestedObject.bool", + "type": "payload" } ], "type": "generic" @@ -1493,7 +1544,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.datetime" + "path": "NestedObject.datetime", + "type": "payload" } ], "type": "generic" @@ -1508,7 +1560,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.date" + "path": "NestedObject.date", + "type": "payload" } ], "type": "generic" @@ -1523,7 +1576,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.uuid" + "path": "NestedObject.uuid", + "type": "payload" } ], "type": "generic" @@ -1538,7 +1592,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.base64" + "path": "NestedObject.base64", + "type": "payload" } ], "type": "generic" @@ -1549,8 +1604,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "list_=[$FERN_INPUT]", - "delimiter": ", ", + "containerTemplateString": "list_=[\n\t$FERN_INPUT\n]", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -1558,7 +1613,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1575,8 +1631,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "set_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "set_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -1584,7 +1640,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1601,8 +1658,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "map_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "map_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "keyTemplate": { "imports": [], "isOptional": true, @@ -1610,7 +1667,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1622,7 +1680,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1636,17 +1695,17 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -1676,7 +1735,7 @@ "from .nested_object_with_required_field import NestedObjectWithRequiredField" ], "isOptional": true, - "templateString": "request=NestedObjectWithRequiredField(\n$FERN_INPUT\n)", + "templateString": "request=NestedObjectWithRequiredField(\n\t\t$FERN_INPUT\n\t)", "templateInputs": [ { "type": "template", @@ -1687,7 +1746,8 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" @@ -1700,7 +1760,7 @@ "from .object_with_optional_field import ObjectWithOptionalField" ], "isOptional": true, - "templateString": "nested_object=ObjectWithOptionalField(\n$FERN_INPUT\n)", + "templateString": "nested_object=ObjectWithOptionalField(\n\t$FERN_INPUT\n)", "templateInputs": [ { "type": "template", @@ -1711,7 +1771,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.string" + "path": "NestedObject.string", + "type": "payload" } ], "type": "generic" @@ -1726,7 +1787,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.integer" + "path": "NestedObject.integer", + "type": "payload" } ], "type": "generic" @@ -1741,7 +1803,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.long" + "path": "NestedObject.long", + "type": "payload" } ], "type": "generic" @@ -1756,7 +1819,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.double" + "path": "NestedObject.double", + "type": "payload" } ], "type": "generic" @@ -1771,7 +1835,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.bool" + "path": "NestedObject.bool", + "type": "payload" } ], "type": "generic" @@ -1786,7 +1851,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.datetime" + "path": "NestedObject.datetime", + "type": "payload" } ], "type": "generic" @@ -1801,7 +1867,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.date" + "path": "NestedObject.date", + "type": "payload" } ], "type": "generic" @@ -1816,7 +1883,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.uuid" + "path": "NestedObject.uuid", + "type": "payload" } ], "type": "generic" @@ -1831,7 +1899,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.base64" + "path": "NestedObject.base64", + "type": "payload" } ], "type": "generic" @@ -1842,8 +1911,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "list_=[$FERN_INPUT]", - "delimiter": ", ", + "containerTemplateString": "list_=[\n\t$FERN_INPUT\n]", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -1851,7 +1920,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1868,8 +1938,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "set_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "set_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -1877,7 +1947,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1894,8 +1965,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "map_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "map_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "keyTemplate": { "imports": [], "isOptional": true, @@ -1903,7 +1974,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1915,7 +1987,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1929,17 +2002,17 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -1967,14 +2040,14 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "request=[$FERN_INPUT]", - "delimiter": ", ", + "containerTemplateString": "request=[\n\t\t$FERN_INPUT\n\t]", + "delimiter": ",\n\t\t", "innerTemplate": { "imports": [ "from .nested_object_with_required_field import NestedObjectWithRequiredField" ], "isOptional": true, - "templateString": "NestedObjectWithRequiredField($FERN_INPUT)", + "templateString": "NestedObjectWithRequiredField(\n\t\t\t$FERN_INPUT\n\t\t)", "templateInputs": [ { "type": "template", @@ -1985,7 +2058,8 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" @@ -1998,7 +2072,7 @@ "from .object_with_optional_field import ObjectWithOptionalField" ], "isOptional": true, - "templateString": "nested_object=ObjectWithOptionalField(\n$FERN_INPUT\n)", + "templateString": "nested_object=ObjectWithOptionalField(\n\t$FERN_INPUT\n)", "templateInputs": [ { "type": "template", @@ -2009,7 +2083,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.string" + "path": "NestedObject.string", + "type": "payload" } ], "type": "generic" @@ -2024,7 +2099,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.integer" + "path": "NestedObject.integer", + "type": "payload" } ], "type": "generic" @@ -2039,7 +2115,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.long" + "path": "NestedObject.long", + "type": "payload" } ], "type": "generic" @@ -2054,7 +2131,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.double" + "path": "NestedObject.double", + "type": "payload" } ], "type": "generic" @@ -2069,7 +2147,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.bool" + "path": "NestedObject.bool", + "type": "payload" } ], "type": "generic" @@ -2084,7 +2163,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.datetime" + "path": "NestedObject.datetime", + "type": "payload" } ], "type": "generic" @@ -2099,7 +2179,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.date" + "path": "NestedObject.date", + "type": "payload" } ], "type": "generic" @@ -2114,7 +2195,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.uuid" + "path": "NestedObject.uuid", + "type": "payload" } ], "type": "generic" @@ -2129,7 +2211,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.base64" + "path": "NestedObject.base64", + "type": "payload" } ], "type": "generic" @@ -2140,8 +2223,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "list_=[$FERN_INPUT]", - "delimiter": ", ", + "containerTemplateString": "list_=[\n\t$FERN_INPUT\n]", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -2149,7 +2232,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -2166,8 +2250,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "set_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "set_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -2175,7 +2259,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -2192,8 +2277,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "map_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "map_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "keyTemplate": { "imports": [], "isOptional": true, @@ -2201,7 +2286,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -2213,7 +2299,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -2227,12 +2314,12 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t\t", "type": "generic" }, "templateInput": { @@ -2243,7 +2330,7 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2275,14 +2362,15 @@ "templateInputs": [ { "location": "PATH", - "path": "param" + "path": "param", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2314,7 +2402,8 @@ "templateInputs": [ { "location": "QUERY", - "path": "query" + "path": "query", + "type": "payload" } ], "type": "generic" @@ -2329,14 +2418,15 @@ "templateInputs": [ { "location": "QUERY", - "path": "number" + "path": "number", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2368,7 +2458,8 @@ "templateInputs": [ { "location": "QUERY", - "path": "query" + "path": "query", + "type": "payload" } ], "type": "generic" @@ -2383,14 +2474,15 @@ "templateInputs": [ { "location": "QUERY", - "path": "numer" + "path": "numer", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2422,7 +2514,8 @@ "templateInputs": [ { "location": "PATH", - "path": "param" + "path": "param", + "type": "payload" } ], "type": "generic" @@ -2437,14 +2530,15 @@ "templateInputs": [ { "location": "QUERY", - "path": "query" + "path": "query", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2476,7 +2570,8 @@ "templateInputs": [ { "location": "PATH", - "path": "param" + "path": "param", + "type": "payload" } ], "type": "generic" @@ -2491,14 +2586,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2530,14 +2626,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2569,14 +2666,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2608,14 +2706,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2647,14 +2746,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2686,14 +2786,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2725,14 +2826,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2764,14 +2866,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2803,14 +2906,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2842,14 +2946,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2896,7 +3001,8 @@ "templateInputs": [ { "location": "BODY", - "path": "name" + "path": "name", + "type": "payload" } ], "type": "generic" @@ -2911,7 +3017,8 @@ "templateInputs": [ { "location": "BODY", - "path": "likesToWoof" + "path": "likesToWoof", + "type": "payload" } ], "type": "generic" @@ -2936,7 +3043,8 @@ "templateInputs": [ { "location": "BODY", - "path": "name" + "path": "name", + "type": "payload" } ], "type": "generic" @@ -2951,7 +3059,8 @@ "templateInputs": [ { "location": "BODY", - "path": "likesToMeow" + "path": "likesToMeow", + "type": "payload" } ], "type": "generic" @@ -2965,7 +3074,7 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2997,7 +3106,8 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" @@ -3012,7 +3122,8 @@ "templateInputs": [ { "location": "BODY", - "path": "integer" + "path": "integer", + "type": "payload" } ], "type": "generic" @@ -3025,7 +3136,7 @@ "from .object_with_optional_field import ObjectWithOptionalField" ], "isOptional": true, - "templateString": "nested_object=ObjectWithOptionalField(\n$FERN_INPUT\n)", + "templateString": "nested_object=ObjectWithOptionalField(\n\t\t$FERN_INPUT\n\t)", "templateInputs": [ { "type": "template", @@ -3036,7 +3147,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.string" + "path": "NestedObject.string", + "type": "payload" } ], "type": "generic" @@ -3051,7 +3163,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.integer" + "path": "NestedObject.integer", + "type": "payload" } ], "type": "generic" @@ -3066,7 +3179,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.long" + "path": "NestedObject.long", + "type": "payload" } ], "type": "generic" @@ -3081,7 +3195,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.double" + "path": "NestedObject.double", + "type": "payload" } ], "type": "generic" @@ -3096,7 +3211,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.bool" + "path": "NestedObject.bool", + "type": "payload" } ], "type": "generic" @@ -3111,7 +3227,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.datetime" + "path": "NestedObject.datetime", + "type": "payload" } ], "type": "generic" @@ -3126,7 +3243,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.date" + "path": "NestedObject.date", + "type": "payload" } ], "type": "generic" @@ -3141,7 +3259,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.uuid" + "path": "NestedObject.uuid", + "type": "payload" } ], "type": "generic" @@ -3156,7 +3275,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.base64" + "path": "NestedObject.base64", + "type": "payload" } ], "type": "generic" @@ -3167,8 +3287,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "list_=[$FERN_INPUT]", - "delimiter": ", ", + "containerTemplateString": "list_=[\n\t$FERN_INPUT\n]", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -3176,7 +3296,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -3193,8 +3314,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "set_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "set_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -3202,7 +3323,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -3219,8 +3341,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "map_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "map_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "keyTemplate": { "imports": [], "isOptional": true, @@ -3228,7 +3350,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -3240,7 +3363,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -3254,12 +3378,12 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -3291,14 +3415,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -3321,7 +3446,7 @@ "isOptional": true, "templateString": "await client.no_req_body.get_with_no_request_body(\n$FERN_INPUT\n)", "templateInputs": [], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -3344,7 +3469,7 @@ "isOptional": true, "templateString": "await client.no_req_body.post_with_no_request_body(\n$FERN_INPUT\n)", "templateInputs": [], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -3376,7 +3501,8 @@ "templateInputs": [ { "location": "HEADERS", - "path": "X-TEST-ENDPOINT-HEADER" + "path": "X-TEST-ENDPOINT-HEADER", + "type": "payload" } ], "type": "generic" @@ -3391,14 +3517,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" diff --git a/seed/python-sdk/exhaustive/union-utils/snippet-templates.json b/seed/python-sdk/exhaustive/union-utils/snippet-templates.json index e8361d710a1..7cafcf66364 100644 --- a/seed/python-sdk/exhaustive/union-utils/snippet-templates.json +++ b/seed/python-sdk/exhaustive/union-utils/snippet-templates.json @@ -21,8 +21,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "request=[$FERN_INPUT]", - "delimiter": ", ", + "containerTemplateString": "request=[\n\t\t$FERN_INPUT\n\t]", + "delimiter": ",\n\t\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -30,7 +30,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -43,7 +44,7 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -71,14 +72,14 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "request=[$FERN_INPUT]", - "delimiter": ", ", + "containerTemplateString": "request=[\n\t\t$FERN_INPUT\n\t]", + "delimiter": ",\n\t\t", "innerTemplate": { "imports": [ "from .object_with_required_field import ObjectWithRequiredField" ], "isOptional": true, - "templateString": "ObjectWithRequiredField($FERN_INPUT)", + "templateString": "ObjectWithRequiredField(\n\t\t\t$FERN_INPUT\n\t\t)", "templateInputs": [ { "type": "template", @@ -89,14 +90,15 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t\t", "type": "generic" }, "templateInput": { @@ -107,7 +109,7 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -135,8 +137,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "request={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "request={\n\t\t$FERN_INPUT\n\t}", + "delimiter": ",\n\t\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -144,7 +146,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -157,7 +160,7 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -185,14 +188,14 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "request={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "request={\n\t\t$FERN_INPUT\n\t}", + "delimiter": ",\n\t\t", "innerTemplate": { "imports": [ "from .object_with_required_field import ObjectWithRequiredField" ], "isOptional": true, - "templateString": "ObjectWithRequiredField($FERN_INPUT)", + "templateString": "ObjectWithRequiredField(\n\t\t\t$FERN_INPUT\n\t\t)", "templateInputs": [ { "type": "template", @@ -203,14 +206,15 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t\t", "type": "generic" }, "templateInput": { @@ -221,7 +225,7 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -249,8 +253,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "request={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "request={\n\t\t$FERN_INPUT\n\t}", + "delimiter": ",\n\t\t", "keyTemplate": { "imports": [], "isOptional": true, @@ -258,7 +262,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -270,7 +275,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -284,7 +290,7 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -312,8 +318,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "request={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "request={\n\t\t$FERN_INPUT\n\t}", + "delimiter": ",\n\t\t", "keyTemplate": { "imports": [], "isOptional": true, @@ -321,7 +327,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -331,7 +338,7 @@ "from .object_with_required_field import ObjectWithRequiredField" ], "isOptional": true, - "templateString": "ObjectWithRequiredField($FERN_INPUT)", + "templateString": "ObjectWithRequiredField(\n\t\t\t$FERN_INPUT\n\t\t)", "templateInputs": [ { "type": "template", @@ -342,14 +349,15 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t\t", "type": "generic" }, "keyValueSeparator": ": ", @@ -361,7 +369,7 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -391,7 +399,7 @@ "from .object_with_required_field import ObjectWithRequiredField" ], "isOptional": true, - "templateString": "request=ObjectWithRequiredField(\n$FERN_INPUT\n)", + "templateString": "request=ObjectWithRequiredField(\n\t\t$FERN_INPUT\n\t)", "templateInputs": [ { "type": "template", @@ -402,19 +410,20 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -457,7 +466,7 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -489,14 +498,15 @@ "templateInputs": [ { "location": "PATH", - "path": "id" + "path": "id", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -526,7 +536,7 @@ "from .object_with_required_field import ObjectWithRequiredField" ], "isOptional": true, - "templateString": "request=ObjectWithRequiredField(\n$FERN_INPUT\n)", + "templateString": "request=ObjectWithRequiredField(\n\t\t$FERN_INPUT\n\t)", "templateInputs": [ { "type": "template", @@ -537,19 +547,20 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -581,7 +592,8 @@ "templateInputs": [ { "location": "PATH", - "path": "id" + "path": "id", + "type": "payload" } ], "type": "generic" @@ -594,7 +606,7 @@ "from .object_with_required_field import ObjectWithRequiredField" ], "isOptional": true, - "templateString": "request=ObjectWithRequiredField(\n$FERN_INPUT\n)", + "templateString": "request=ObjectWithRequiredField(\n\t\t$FERN_INPUT\n\t)", "templateInputs": [ { "type": "template", @@ -605,19 +617,20 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -649,7 +662,8 @@ "templateInputs": [ { "location": "PATH", - "path": "id" + "path": "id", + "type": "payload" } ], "type": "generic" @@ -662,7 +676,7 @@ "from .object_with_optional_field import ObjectWithOptionalField" ], "isOptional": true, - "templateString": "request=ObjectWithOptionalField(\n$FERN_INPUT\n)", + "templateString": "request=ObjectWithOptionalField(\n\t\t$FERN_INPUT\n\t)", "templateInputs": [ { "type": "template", @@ -673,7 +687,8 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" @@ -688,7 +703,8 @@ "templateInputs": [ { "location": "BODY", - "path": "integer" + "path": "integer", + "type": "payload" } ], "type": "generic" @@ -703,7 +719,8 @@ "templateInputs": [ { "location": "BODY", - "path": "long" + "path": "long", + "type": "payload" } ], "type": "generic" @@ -718,7 +735,8 @@ "templateInputs": [ { "location": "BODY", - "path": "double" + "path": "double", + "type": "payload" } ], "type": "generic" @@ -733,7 +751,8 @@ "templateInputs": [ { "location": "BODY", - "path": "bool" + "path": "bool", + "type": "payload" } ], "type": "generic" @@ -748,7 +767,8 @@ "templateInputs": [ { "location": "BODY", - "path": "datetime" + "path": "datetime", + "type": "payload" } ], "type": "generic" @@ -763,7 +783,8 @@ "templateInputs": [ { "location": "BODY", - "path": "date" + "path": "date", + "type": "payload" } ], "type": "generic" @@ -778,7 +799,8 @@ "templateInputs": [ { "location": "BODY", - "path": "uuid" + "path": "uuid", + "type": "payload" } ], "type": "generic" @@ -793,7 +815,8 @@ "templateInputs": [ { "location": "BODY", - "path": "base64" + "path": "base64", + "type": "payload" } ], "type": "generic" @@ -804,8 +827,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "list_=[$FERN_INPUT]", - "delimiter": ", ", + "containerTemplateString": "list_=[\n\t$FERN_INPUT\n]", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -813,7 +836,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -830,8 +854,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "set_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "set_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -839,7 +863,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -856,8 +881,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "map_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "map_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "keyTemplate": { "imports": [], "isOptional": true, @@ -865,7 +890,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -877,7 +903,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -891,12 +918,12 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -928,14 +955,15 @@ "templateInputs": [ { "location": "PATH", - "path": "id" + "path": "id", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -965,7 +993,7 @@ "from .object_with_optional_field import ObjectWithOptionalField" ], "isOptional": true, - "templateString": "request=ObjectWithOptionalField(\n$FERN_INPUT\n)", + "templateString": "request=ObjectWithOptionalField(\n\t\t$FERN_INPUT\n\t)", "templateInputs": [ { "type": "template", @@ -976,7 +1004,8 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" @@ -991,7 +1020,8 @@ "templateInputs": [ { "location": "BODY", - "path": "integer" + "path": "integer", + "type": "payload" } ], "type": "generic" @@ -1006,7 +1036,8 @@ "templateInputs": [ { "location": "BODY", - "path": "long" + "path": "long", + "type": "payload" } ], "type": "generic" @@ -1021,7 +1052,8 @@ "templateInputs": [ { "location": "BODY", - "path": "double" + "path": "double", + "type": "payload" } ], "type": "generic" @@ -1036,7 +1068,8 @@ "templateInputs": [ { "location": "BODY", - "path": "bool" + "path": "bool", + "type": "payload" } ], "type": "generic" @@ -1051,7 +1084,8 @@ "templateInputs": [ { "location": "BODY", - "path": "datetime" + "path": "datetime", + "type": "payload" } ], "type": "generic" @@ -1066,7 +1100,8 @@ "templateInputs": [ { "location": "BODY", - "path": "date" + "path": "date", + "type": "payload" } ], "type": "generic" @@ -1081,7 +1116,8 @@ "templateInputs": [ { "location": "BODY", - "path": "uuid" + "path": "uuid", + "type": "payload" } ], "type": "generic" @@ -1096,7 +1132,8 @@ "templateInputs": [ { "location": "BODY", - "path": "base64" + "path": "base64", + "type": "payload" } ], "type": "generic" @@ -1107,8 +1144,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "list_=[$FERN_INPUT]", - "delimiter": ", ", + "containerTemplateString": "list_=[\n\t$FERN_INPUT\n]", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -1116,7 +1153,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1133,8 +1171,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "set_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "set_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -1142,7 +1180,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1159,8 +1198,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "map_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "map_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "keyTemplate": { "imports": [], "isOptional": true, @@ -1168,7 +1207,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1180,7 +1220,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1194,12 +1235,12 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -1229,7 +1270,7 @@ "from .object_with_required_field import ObjectWithRequiredField" ], "isOptional": true, - "templateString": "request=ObjectWithRequiredField(\n$FERN_INPUT\n)", + "templateString": "request=ObjectWithRequiredField(\n\t\t$FERN_INPUT\n\t)", "templateInputs": [ { "type": "template", @@ -1240,19 +1281,20 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -1282,15 +1324,15 @@ "from .object_with_map_of_map import ObjectWithMapOfMap" ], "isOptional": true, - "templateString": "request=ObjectWithMapOfMap(\n$FERN_INPUT\n)", + "templateString": "request=ObjectWithMapOfMap(\n\t\t$FERN_INPUT\n\t)", "templateInputs": [ { "type": "template", "value": { "imports": [], "isOptional": true, - "containerTemplateString": "map_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "map_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "keyTemplate": { "imports": [], "isOptional": true, @@ -1298,7 +1340,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1306,8 +1349,8 @@ "valueTemplate": { "imports": [], "isOptional": true, - "containerTemplateString": "{$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "{\n\t\t$FERN_INPUT\n\t}", + "delimiter": ",\n\t\t", "keyTemplate": { "imports": [], "isOptional": true, @@ -1315,7 +1358,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1327,7 +1371,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1348,12 +1393,12 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -1383,7 +1428,7 @@ "from .nested_object_with_optional_field import NestedObjectWithOptionalField" ], "isOptional": true, - "templateString": "request=NestedObjectWithOptionalField(\n$FERN_INPUT\n)", + "templateString": "request=NestedObjectWithOptionalField(\n\t\t$FERN_INPUT\n\t)", "templateInputs": [ { "type": "template", @@ -1394,7 +1439,8 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" @@ -1407,7 +1453,7 @@ "from .object_with_optional_field import ObjectWithOptionalField" ], "isOptional": true, - "templateString": "nested_object=ObjectWithOptionalField(\n$FERN_INPUT\n)", + "templateString": "nested_object=ObjectWithOptionalField(\n\t$FERN_INPUT\n)", "templateInputs": [ { "type": "template", @@ -1418,7 +1464,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.string" + "path": "NestedObject.string", + "type": "payload" } ], "type": "generic" @@ -1433,7 +1480,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.integer" + "path": "NestedObject.integer", + "type": "payload" } ], "type": "generic" @@ -1448,7 +1496,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.long" + "path": "NestedObject.long", + "type": "payload" } ], "type": "generic" @@ -1463,7 +1512,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.double" + "path": "NestedObject.double", + "type": "payload" } ], "type": "generic" @@ -1478,7 +1528,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.bool" + "path": "NestedObject.bool", + "type": "payload" } ], "type": "generic" @@ -1493,7 +1544,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.datetime" + "path": "NestedObject.datetime", + "type": "payload" } ], "type": "generic" @@ -1508,7 +1560,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.date" + "path": "NestedObject.date", + "type": "payload" } ], "type": "generic" @@ -1523,7 +1576,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.uuid" + "path": "NestedObject.uuid", + "type": "payload" } ], "type": "generic" @@ -1538,7 +1592,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.base64" + "path": "NestedObject.base64", + "type": "payload" } ], "type": "generic" @@ -1549,8 +1604,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "list_=[$FERN_INPUT]", - "delimiter": ", ", + "containerTemplateString": "list_=[\n\t$FERN_INPUT\n]", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -1558,7 +1613,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1575,8 +1631,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "set_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "set_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -1584,7 +1640,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1601,8 +1658,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "map_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "map_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "keyTemplate": { "imports": [], "isOptional": true, @@ -1610,7 +1667,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1622,7 +1680,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1636,17 +1695,17 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -1676,7 +1735,7 @@ "from .nested_object_with_required_field import NestedObjectWithRequiredField" ], "isOptional": true, - "templateString": "request=NestedObjectWithRequiredField(\n$FERN_INPUT\n)", + "templateString": "request=NestedObjectWithRequiredField(\n\t\t$FERN_INPUT\n\t)", "templateInputs": [ { "type": "template", @@ -1687,7 +1746,8 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" @@ -1700,7 +1760,7 @@ "from .object_with_optional_field import ObjectWithOptionalField" ], "isOptional": true, - "templateString": "nested_object=ObjectWithOptionalField(\n$FERN_INPUT\n)", + "templateString": "nested_object=ObjectWithOptionalField(\n\t$FERN_INPUT\n)", "templateInputs": [ { "type": "template", @@ -1711,7 +1771,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.string" + "path": "NestedObject.string", + "type": "payload" } ], "type": "generic" @@ -1726,7 +1787,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.integer" + "path": "NestedObject.integer", + "type": "payload" } ], "type": "generic" @@ -1741,7 +1803,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.long" + "path": "NestedObject.long", + "type": "payload" } ], "type": "generic" @@ -1756,7 +1819,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.double" + "path": "NestedObject.double", + "type": "payload" } ], "type": "generic" @@ -1771,7 +1835,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.bool" + "path": "NestedObject.bool", + "type": "payload" } ], "type": "generic" @@ -1786,7 +1851,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.datetime" + "path": "NestedObject.datetime", + "type": "payload" } ], "type": "generic" @@ -1801,7 +1867,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.date" + "path": "NestedObject.date", + "type": "payload" } ], "type": "generic" @@ -1816,7 +1883,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.uuid" + "path": "NestedObject.uuid", + "type": "payload" } ], "type": "generic" @@ -1831,7 +1899,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.base64" + "path": "NestedObject.base64", + "type": "payload" } ], "type": "generic" @@ -1842,8 +1911,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "list_=[$FERN_INPUT]", - "delimiter": ", ", + "containerTemplateString": "list_=[\n\t$FERN_INPUT\n]", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -1851,7 +1920,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1868,8 +1938,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "set_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "set_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -1877,7 +1947,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1894,8 +1965,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "map_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "map_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "keyTemplate": { "imports": [], "isOptional": true, @@ -1903,7 +1974,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1915,7 +1987,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -1929,17 +2002,17 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -1967,14 +2040,14 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "request=[$FERN_INPUT]", - "delimiter": ", ", + "containerTemplateString": "request=[\n\t\t$FERN_INPUT\n\t]", + "delimiter": ",\n\t\t", "innerTemplate": { "imports": [ "from .nested_object_with_required_field import NestedObjectWithRequiredField" ], "isOptional": true, - "templateString": "NestedObjectWithRequiredField($FERN_INPUT)", + "templateString": "NestedObjectWithRequiredField(\n\t\t\t$FERN_INPUT\n\t\t)", "templateInputs": [ { "type": "template", @@ -1985,7 +2058,8 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" @@ -1998,7 +2072,7 @@ "from .object_with_optional_field import ObjectWithOptionalField" ], "isOptional": true, - "templateString": "nested_object=ObjectWithOptionalField(\n$FERN_INPUT\n)", + "templateString": "nested_object=ObjectWithOptionalField(\n\t$FERN_INPUT\n)", "templateInputs": [ { "type": "template", @@ -2009,7 +2083,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.string" + "path": "NestedObject.string", + "type": "payload" } ], "type": "generic" @@ -2024,7 +2099,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.integer" + "path": "NestedObject.integer", + "type": "payload" } ], "type": "generic" @@ -2039,7 +2115,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.long" + "path": "NestedObject.long", + "type": "payload" } ], "type": "generic" @@ -2054,7 +2131,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.double" + "path": "NestedObject.double", + "type": "payload" } ], "type": "generic" @@ -2069,7 +2147,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.bool" + "path": "NestedObject.bool", + "type": "payload" } ], "type": "generic" @@ -2084,7 +2163,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.datetime" + "path": "NestedObject.datetime", + "type": "payload" } ], "type": "generic" @@ -2099,7 +2179,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.date" + "path": "NestedObject.date", + "type": "payload" } ], "type": "generic" @@ -2114,7 +2195,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.uuid" + "path": "NestedObject.uuid", + "type": "payload" } ], "type": "generic" @@ -2129,7 +2211,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.base64" + "path": "NestedObject.base64", + "type": "payload" } ], "type": "generic" @@ -2140,8 +2223,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "list_=[$FERN_INPUT]", - "delimiter": ", ", + "containerTemplateString": "list_=[\n\t$FERN_INPUT\n]", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -2149,7 +2232,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -2166,8 +2250,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "set_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "set_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -2175,7 +2259,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -2192,8 +2277,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "map_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "map_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "keyTemplate": { "imports": [], "isOptional": true, @@ -2201,7 +2286,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -2213,7 +2299,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -2227,12 +2314,12 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t\t", "type": "generic" }, "templateInput": { @@ -2243,7 +2330,7 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2275,14 +2362,15 @@ "templateInputs": [ { "location": "PATH", - "path": "param" + "path": "param", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2314,7 +2402,8 @@ "templateInputs": [ { "location": "QUERY", - "path": "query" + "path": "query", + "type": "payload" } ], "type": "generic" @@ -2329,14 +2418,15 @@ "templateInputs": [ { "location": "QUERY", - "path": "number" + "path": "number", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2368,7 +2458,8 @@ "templateInputs": [ { "location": "QUERY", - "path": "query" + "path": "query", + "type": "payload" } ], "type": "generic" @@ -2383,14 +2474,15 @@ "templateInputs": [ { "location": "QUERY", - "path": "numer" + "path": "numer", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2422,7 +2514,8 @@ "templateInputs": [ { "location": "PATH", - "path": "param" + "path": "param", + "type": "payload" } ], "type": "generic" @@ -2437,14 +2530,15 @@ "templateInputs": [ { "location": "QUERY", - "path": "query" + "path": "query", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2476,7 +2570,8 @@ "templateInputs": [ { "location": "PATH", - "path": "param" + "path": "param", + "type": "payload" } ], "type": "generic" @@ -2491,14 +2586,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2530,14 +2626,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2569,14 +2666,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2608,14 +2706,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2647,14 +2746,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2686,14 +2786,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2725,14 +2826,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2764,14 +2866,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2803,14 +2906,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2842,14 +2946,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2896,7 +3001,8 @@ "templateInputs": [ { "location": "BODY", - "path": "name" + "path": "name", + "type": "payload" } ], "type": "generic" @@ -2911,7 +3017,8 @@ "templateInputs": [ { "location": "BODY", - "path": "likesToWoof" + "path": "likesToWoof", + "type": "payload" } ], "type": "generic" @@ -2936,7 +3043,8 @@ "templateInputs": [ { "location": "BODY", - "path": "name" + "path": "name", + "type": "payload" } ], "type": "generic" @@ -2951,7 +3059,8 @@ "templateInputs": [ { "location": "BODY", - "path": "likesToMeow" + "path": "likesToMeow", + "type": "payload" } ], "type": "generic" @@ -2965,7 +3074,7 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -2997,7 +3106,8 @@ "templateInputs": [ { "location": "BODY", - "path": "string" + "path": "string", + "type": "payload" } ], "type": "generic" @@ -3012,7 +3122,8 @@ "templateInputs": [ { "location": "BODY", - "path": "integer" + "path": "integer", + "type": "payload" } ], "type": "generic" @@ -3025,7 +3136,7 @@ "from .object_with_optional_field import ObjectWithOptionalField" ], "isOptional": true, - "templateString": "nested_object=ObjectWithOptionalField(\n$FERN_INPUT\n)", + "templateString": "nested_object=ObjectWithOptionalField(\n\t\t$FERN_INPUT\n\t)", "templateInputs": [ { "type": "template", @@ -3036,7 +3147,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.string" + "path": "NestedObject.string", + "type": "payload" } ], "type": "generic" @@ -3051,7 +3163,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.integer" + "path": "NestedObject.integer", + "type": "payload" } ], "type": "generic" @@ -3066,7 +3179,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.long" + "path": "NestedObject.long", + "type": "payload" } ], "type": "generic" @@ -3081,7 +3195,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.double" + "path": "NestedObject.double", + "type": "payload" } ], "type": "generic" @@ -3096,7 +3211,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.bool" + "path": "NestedObject.bool", + "type": "payload" } ], "type": "generic" @@ -3111,7 +3227,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.datetime" + "path": "NestedObject.datetime", + "type": "payload" } ], "type": "generic" @@ -3126,7 +3243,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.date" + "path": "NestedObject.date", + "type": "payload" } ], "type": "generic" @@ -3141,7 +3259,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.uuid" + "path": "NestedObject.uuid", + "type": "payload" } ], "type": "generic" @@ -3156,7 +3275,8 @@ "templateInputs": [ { "location": "BODY", - "path": "NestedObject.base64" + "path": "NestedObject.base64", + "type": "payload" } ], "type": "generic" @@ -3167,8 +3287,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "list_=[$FERN_INPUT]", - "delimiter": ", ", + "containerTemplateString": "list_=[\n\t$FERN_INPUT\n]", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -3176,7 +3296,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -3193,8 +3314,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "set_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "set_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -3202,7 +3323,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -3219,8 +3341,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "map_={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "map_={\n\t$FERN_INPUT\n}", + "delimiter": ",\n\t", "keyTemplate": { "imports": [], "isOptional": true, @@ -3228,7 +3350,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -3240,7 +3363,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -3254,12 +3378,12 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -3291,14 +3415,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -3321,7 +3446,7 @@ "isOptional": true, "templateString": "await client.no_req_body.get_with_no_request_body(\n$FERN_INPUT\n)", "templateInputs": [], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -3344,7 +3469,7 @@ "isOptional": true, "templateString": "await client.no_req_body.post_with_no_request_body(\n$FERN_INPUT\n)", "templateInputs": [], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -3376,7 +3501,8 @@ "templateInputs": [ { "location": "HEADERS", - "path": "X-TEST-ENDPOINT-HEADER" + "path": "X-TEST-ENDPOINT-HEADER", + "type": "payload" } ], "type": "generic" @@ -3391,14 +3517,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" diff --git a/seed/python-sdk/file-download/snippet-templates.json b/seed/python-sdk/file-download/snippet-templates.json index 93a68d84efe..1fdc84a91b4 100644 --- a/seed/python-sdk/file-download/snippet-templates.json +++ b/seed/python-sdk/file-download/snippet-templates.json @@ -16,7 +16,7 @@ "isOptional": true, "templateString": "await client.service.download_file(\n$FERN_INPUT\n)", "templateInputs": [], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" diff --git a/seed/python-sdk/file-upload/snippet-templates.json b/seed/python-sdk/file-upload/snippet-templates.json index 2d5bb000f88..bc5e1ad0db2 100644 --- a/seed/python-sdk/file-upload/snippet-templates.json +++ b/seed/python-sdk/file-upload/snippet-templates.json @@ -25,7 +25,8 @@ "templateInputs": [ { "location": "BODY", - "path": "maybeString" + "path": "maybeString", + "type": "payload" } ], "type": "generic" @@ -40,7 +41,8 @@ "templateInputs": [ { "location": "BODY", - "path": "integer" + "path": "integer", + "type": "payload" } ], "type": "generic" @@ -55,7 +57,8 @@ "templateInputs": [ { "location": "BODY", - "path": "file" + "path": "file", + "type": "payload" } ], "type": "generic" @@ -66,8 +69,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "file_list=[$FERN_INPUT]", - "delimiter": ", ", + "containerTemplateString": "file_list=[\n\t\t$FERN_INPUT\n\t]", + "delimiter": ",\n\t\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -75,7 +78,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -96,7 +100,8 @@ "templateInputs": [ { "location": "BODY", - "path": "maybeFile" + "path": "maybeFile", + "type": "payload" } ], "type": "generic" @@ -107,8 +112,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "maybe_file_list=[$FERN_INPUT]", - "delimiter": ", ", + "containerTemplateString": "maybe_file_list=[\n\t\t$FERN_INPUT\n\t]", + "delimiter": ",\n\t\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -116,7 +121,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -137,7 +143,8 @@ "templateInputs": [ { "location": "BODY", - "path": "maybeInteger" + "path": "maybeInteger", + "type": "payload" } ], "type": "generic" @@ -148,8 +155,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "optional_list_of_strings=[$FERN_INPUT]", - "delimiter": ", ", + "containerTemplateString": "optional_list_of_strings=[\n\t\t$FERN_INPUT\n\t]", + "delimiter": ",\n\t\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -157,7 +164,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -174,14 +182,14 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "list_of_objects=[$FERN_INPUT]", - "delimiter": ", ", + "containerTemplateString": "list_of_objects=[\n\t\t$FERN_INPUT\n\t]", + "delimiter": ",\n\t\t", "innerTemplate": { "imports": [ "from .my_object import MyObject" ], "isOptional": true, - "templateString": "MyObject($FERN_INPUT)", + "templateString": "MyObject(\n\t\t\t$FERN_INPUT\n\t\t)", "templateInputs": [ { "type": "template", @@ -192,14 +200,15 @@ "templateInputs": [ { "location": "BODY", - "path": "foo" + "path": "foo", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t\t", "type": "generic" }, "templateInput": { @@ -210,7 +219,7 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -242,14 +251,15 @@ "templateInputs": [ { "location": "BODY", - "path": "file" + "path": "file", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -281,7 +291,8 @@ "templateInputs": [ { "location": "QUERY", - "path": "maybeString" + "path": "maybeString", + "type": "payload" } ], "type": "generic" @@ -296,7 +307,8 @@ "templateInputs": [ { "location": "QUERY", - "path": "integer" + "path": "integer", + "type": "payload" } ], "type": "generic" @@ -311,7 +323,8 @@ "templateInputs": [ { "location": "QUERY", - "path": "maybeInteger" + "path": "maybeInteger", + "type": "payload" } ], "type": "generic" @@ -326,7 +339,8 @@ "templateInputs": [ { "location": "QUERY", - "path": "listOfStrings" + "path": "listOfStrings", + "type": "payload" } ], "type": "generic" @@ -341,7 +355,8 @@ "templateInputs": [ { "location": "QUERY", - "path": "optionalListOfStrings" + "path": "optionalListOfStrings", + "type": "payload" } ], "type": "generic" @@ -356,14 +371,15 @@ "templateInputs": [ { "location": "BODY", - "path": "file" + "path": "file", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" diff --git a/seed/python-sdk/folders/snippet-templates.json b/seed/python-sdk/folders/snippet-templates.json index e512a7fd56d..82aac05c3c0 100644 --- a/seed/python-sdk/folders/snippet-templates.json +++ b/seed/python-sdk/folders/snippet-templates.json @@ -16,7 +16,7 @@ "isOptional": true, "templateString": "await client.foo(\n$FERN_INPUT\n)", "templateInputs": [], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -39,7 +39,7 @@ "isOptional": true, "templateString": "await client.a.b.foo(\n$FERN_INPUT\n)", "templateInputs": [], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -62,7 +62,7 @@ "isOptional": true, "templateString": "await client.a.c.foo(\n$FERN_INPUT\n)", "templateInputs": [], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -85,7 +85,7 @@ "isOptional": true, "templateString": "await client.folder.foo(\n$FERN_INPUT\n)", "templateInputs": [], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -108,7 +108,7 @@ "isOptional": true, "templateString": "await client.folder.service.endpoint(\n$FERN_INPUT\n)", "templateInputs": [], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -140,14 +140,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" diff --git a/seed/python-sdk/idempotency-headers/snippet-templates.json b/seed/python-sdk/idempotency-headers/snippet-templates.json index d97e15f0c41..4565262511d 100644 --- a/seed/python-sdk/idempotency-headers/snippet-templates.json +++ b/seed/python-sdk/idempotency-headers/snippet-templates.json @@ -25,7 +25,8 @@ "templateInputs": [ { "location": "BODY", - "path": "amount" + "path": "amount", + "type": "payload" } ], "type": "generic" @@ -49,7 +50,7 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -81,14 +82,15 @@ "templateInputs": [ { "location": "PATH", - "path": "paymentId" + "path": "paymentId", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" diff --git a/seed/python-sdk/imdb/snippet-templates.json b/seed/python-sdk/imdb/snippet-templates.json index 4d830a12bf0..72334cc676a 100644 --- a/seed/python-sdk/imdb/snippet-templates.json +++ b/seed/python-sdk/imdb/snippet-templates.json @@ -23,7 +23,7 @@ "from .create_movie_request import CreateMovieRequest" ], "isOptional": true, - "templateString": "request=CreateMovieRequest(\n$FERN_INPUT\n)", + "templateString": "request=CreateMovieRequest(\n\t\t$FERN_INPUT\n\t)", "templateInputs": [ { "type": "template", @@ -34,7 +34,8 @@ "templateInputs": [ { "location": "BODY", - "path": "title" + "path": "title", + "type": "payload" } ], "type": "generic" @@ -49,19 +50,20 @@ "templateInputs": [ { "location": "BODY", - "path": "rating" + "path": "rating", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -93,14 +95,15 @@ "templateInputs": [ { "location": "PATH", - "path": "movieId" + "path": "movieId", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" diff --git a/seed/python-sdk/literal/snippet-templates.json b/seed/python-sdk/literal/snippet-templates.json index 5f18588fc81..4d635df652f 100644 --- a/seed/python-sdk/literal/snippet-templates.json +++ b/seed/python-sdk/literal/snippet-templates.json @@ -25,14 +25,15 @@ "templateInputs": [ { "location": "BODY", - "path": "query" + "path": "query", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -64,7 +65,8 @@ "templateInputs": [ { "location": "BODY", - "path": "query" + "path": "query", + "type": "payload" } ], "type": "generic" @@ -79,14 +81,15 @@ "templateInputs": [ { "location": "BODY", - "path": "temperature" + "path": "temperature", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -109,7 +112,7 @@ "isOptional": true, "templateString": "await client.path.send(\n$FERN_INPUT\n)", "templateInputs": [], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -141,14 +144,15 @@ "templateInputs": [ { "location": "QUERY", - "path": "query" + "path": "query", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -178,7 +182,7 @@ "from .send_request import SendRequest" ], "isOptional": true, - "templateString": "request=SendRequest(\n$FERN_INPUT\n)", + "templateString": "request=SendRequest(\n\t\t$FERN_INPUT\n\t)", "templateInputs": [ { "type": "template", @@ -189,19 +193,20 @@ "templateInputs": [ { "location": "BODY", - "path": "query" + "path": "query", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" diff --git a/seed/python-sdk/mixed-case/snippet-templates.json b/seed/python-sdk/mixed-case/snippet-templates.json index 88919d9d0e3..a0c45b1ff11 100644 --- a/seed/python-sdk/mixed-case/snippet-templates.json +++ b/seed/python-sdk/mixed-case/snippet-templates.json @@ -25,14 +25,15 @@ "templateInputs": [ { "location": "PATH", - "path": "ResourceID" + "path": "ResourceID", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -64,7 +65,8 @@ "templateInputs": [ { "location": "QUERY", - "path": "page_limit" + "path": "page_limit", + "type": "payload" } ], "type": "generic" @@ -79,14 +81,15 @@ "templateInputs": [ { "location": "QUERY", - "path": "beforeDate" + "path": "beforeDate", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" diff --git a/seed/python-sdk/multi-url-environment/snippet-templates.json b/seed/python-sdk/multi-url-environment/snippet-templates.json index f9a6cda3ed2..dfdca9f6aa1 100644 --- a/seed/python-sdk/multi-url-environment/snippet-templates.json +++ b/seed/python-sdk/multi-url-environment/snippet-templates.json @@ -25,14 +25,15 @@ "templateInputs": [ { "location": "BODY", - "path": "size" + "path": "size", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -64,14 +65,15 @@ "templateInputs": [ { "location": "BODY", - "path": "s3Key" + "path": "s3Key", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" diff --git a/seed/python-sdk/no-environment/snippet-templates.json b/seed/python-sdk/no-environment/snippet-templates.json index 75673860c97..4905c961d66 100644 --- a/seed/python-sdk/no-environment/snippet-templates.json +++ b/seed/python-sdk/no-environment/snippet-templates.json @@ -16,7 +16,7 @@ "isOptional": true, "templateString": "await client.dummy.get_dummy(\n$FERN_INPUT\n)", "templateInputs": [], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" diff --git a/seed/python-sdk/oauth-client-credentials/snippet-templates.json b/seed/python-sdk/oauth-client-credentials/snippet-templates.json new file mode 100644 index 00000000000..cb39368b83b --- /dev/null +++ b/seed/python-sdk/oauth-client-credentials/snippet-templates.json @@ -0,0 +1,162 @@ +[ + { + "sdk": { + "package": "fern_oauth-client-credentials", + "version": "0.0.1", + "type": "python" + }, + "endpointId": { + "path": "/token", + "method": "POST" + }, + "snippetTemplate": { + "clientInstantiation": "from seed.client import AsyncSeedOauthClientCredentials\n\nclient = AsyncSeedOauthClientCredentials(\n base_url=\"https://yourhost.com/path/to/api\",\n)\n", + "functionInvocation": { + "imports": [], + "isOptional": true, + "templateString": "await client.auth.get_token_with_client_credentials(\n$FERN_INPUT\n)", + "templateInputs": [ + { + "type": "template", + "value": { + "imports": [], + "isOptional": true, + "templateString": "client_id=$FERN_INPUT", + "templateInputs": [ + { + "location": "BODY", + "path": "client_id", + "type": "payload" + } + ], + "type": "generic" + } + }, + { + "type": "template", + "value": { + "imports": [], + "isOptional": true, + "templateString": "client_secret=$FERN_INPUT", + "templateInputs": [ + { + "location": "BODY", + "path": "client_secret", + "type": "payload" + } + ], + "type": "generic" + } + }, + { + "type": "template", + "value": { + "imports": [], + "isOptional": true, + "templateString": "scope=$FERN_INPUT", + "templateInputs": [ + { + "location": "BODY", + "path": "scope", + "type": "payload" + } + ], + "type": "generic" + } + } + ], + "inputDelimiter": ",\n\t", + "type": "generic" + }, + "type": "v1" + } + }, + { + "sdk": { + "package": "fern_oauth-client-credentials", + "version": "0.0.1", + "type": "python" + }, + "endpointId": { + "path": "/token", + "method": "POST" + }, + "snippetTemplate": { + "clientInstantiation": "from seed.client import AsyncSeedOauthClientCredentials\n\nclient = AsyncSeedOauthClientCredentials(\n base_url=\"https://yourhost.com/path/to/api\",\n)\n", + "functionInvocation": { + "imports": [], + "isOptional": true, + "templateString": "await client.auth.refresh_token(\n$FERN_INPUT\n)", + "templateInputs": [ + { + "type": "template", + "value": { + "imports": [], + "isOptional": true, + "templateString": "client_id=$FERN_INPUT", + "templateInputs": [ + { + "location": "BODY", + "path": "client_id", + "type": "payload" + } + ], + "type": "generic" + } + }, + { + "type": "template", + "value": { + "imports": [], + "isOptional": true, + "templateString": "client_secret=$FERN_INPUT", + "templateInputs": [ + { + "location": "BODY", + "path": "client_secret", + "type": "payload" + } + ], + "type": "generic" + } + }, + { + "type": "template", + "value": { + "imports": [], + "isOptional": true, + "templateString": "refresh_token=$FERN_INPUT", + "templateInputs": [ + { + "location": "BODY", + "path": "refresh_token", + "type": "payload" + } + ], + "type": "generic" + } + }, + { + "type": "template", + "value": { + "imports": [], + "isOptional": true, + "templateString": "scope=$FERN_INPUT", + "templateInputs": [ + { + "location": "BODY", + "path": "scope", + "type": "payload" + } + ], + "type": "generic" + } + } + ], + "inputDelimiter": ",\n\t", + "type": "generic" + }, + "type": "v1" + } + } +] \ No newline at end of file diff --git a/seed/python-sdk/optional/snippet-templates.json b/seed/python-sdk/optional/snippet-templates.json index 77b1e362662..fd025952912 100644 --- a/seed/python-sdk/optional/snippet-templates.json +++ b/seed/python-sdk/optional/snippet-templates.json @@ -21,8 +21,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "request={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "request={\n\t\t$FERN_INPUT\n\t}", + "delimiter": ",\n\t\t", "keyTemplate": { "imports": [], "isOptional": true, @@ -30,7 +30,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -42,7 +43,8 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -56,7 +58,7 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" diff --git a/seed/python-sdk/package-yml/snippet-templates.json b/seed/python-sdk/package-yml/snippet-templates.json index 12f2c0c372e..acfb952435c 100644 --- a/seed/python-sdk/package-yml/snippet-templates.json +++ b/seed/python-sdk/package-yml/snippet-templates.json @@ -25,14 +25,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -64,14 +65,15 @@ "templateInputs": [ { "location": "PATH", - "path": "nestedId" + "path": "nestedId", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" diff --git a/seed/python-sdk/pagination/snippet-templates.json b/seed/python-sdk/pagination/snippet-templates.json index 4cb072adb1f..9a90869617f 100644 --- a/seed/python-sdk/pagination/snippet-templates.json +++ b/seed/python-sdk/pagination/snippet-templates.json @@ -25,7 +25,8 @@ "templateInputs": [ { "location": "QUERY", - "path": "page" + "path": "page", + "type": "payload" } ], "type": "generic" @@ -40,7 +41,8 @@ "templateInputs": [ { "location": "QUERY", - "path": "per_page" + "path": "per_page", + "type": "payload" } ], "type": "generic" @@ -72,14 +74,15 @@ "templateInputs": [ { "location": "QUERY", - "path": "starting_after" + "path": "starting_after", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -111,7 +114,8 @@ "templateInputs": [ { "location": "QUERY", - "path": "page" + "path": "page", + "type": "payload" } ], "type": "generic" @@ -126,7 +130,8 @@ "templateInputs": [ { "location": "QUERY", - "path": "per_page" + "path": "per_page", + "type": "payload" } ], "type": "generic" @@ -158,14 +163,15 @@ "templateInputs": [ { "location": "QUERY", - "path": "starting_after" + "path": "starting_after", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -197,14 +203,15 @@ "templateInputs": [ { "location": "QUERY", - "path": "cursor" + "path": "cursor", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -236,14 +243,15 @@ "templateInputs": [ { "location": "QUERY", - "path": "starting_after" + "path": "starting_after", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -275,14 +283,15 @@ "templateInputs": [ { "location": "QUERY", - "path": "offset" + "path": "offset", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" diff --git a/seed/python-sdk/plain-text/snippet-templates.json b/seed/python-sdk/plain-text/snippet-templates.json index 8091776d4c6..6ab7ae62160 100644 --- a/seed/python-sdk/plain-text/snippet-templates.json +++ b/seed/python-sdk/plain-text/snippet-templates.json @@ -16,7 +16,7 @@ "isOptional": true, "templateString": "await client.service.get_text(\n$FERN_INPUT\n)", "templateInputs": [], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" diff --git a/seed/python-sdk/query-parameters/snippet-templates.json b/seed/python-sdk/query-parameters/snippet-templates.json index a75e1a68d0d..c9f3ae38aa3 100644 --- a/seed/python-sdk/query-parameters/snippet-templates.json +++ b/seed/python-sdk/query-parameters/snippet-templates.json @@ -25,7 +25,8 @@ "templateInputs": [ { "location": "QUERY", - "path": "limit" + "path": "limit", + "type": "payload" } ], "type": "generic" @@ -40,7 +41,8 @@ "templateInputs": [ { "location": "QUERY", - "path": "id" + "path": "id", + "type": "payload" } ], "type": "generic" @@ -55,7 +57,8 @@ "templateInputs": [ { "location": "QUERY", - "path": "date" + "path": "date", + "type": "payload" } ], "type": "generic" @@ -70,7 +73,8 @@ "templateInputs": [ { "location": "QUERY", - "path": "deadline" + "path": "deadline", + "type": "payload" } ], "type": "generic" @@ -85,7 +89,8 @@ "templateInputs": [ { "location": "QUERY", - "path": "bytes" + "path": "bytes", + "type": "payload" } ], "type": "generic" @@ -98,7 +103,7 @@ "from .user import User" ], "isOptional": true, - "templateString": "user=User(\n$FERN_INPUT\n)", + "templateString": "user=User(\n\t\t$FERN_INPUT\n\t)", "templateInputs": [ { "type": "template", @@ -109,7 +114,8 @@ "templateInputs": [ { "location": "QUERY", - "path": "user.name" + "path": "user.name", + "type": "payload" } ], "type": "generic" @@ -120,8 +126,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "tags=[$FERN_INPUT]", - "delimiter": ", ", + "containerTemplateString": "tags=[\n\t$FERN_INPUT\n]", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -129,7 +135,8 @@ "templateInputs": [ { "location": "QUERY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -142,7 +149,7 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t", "type": "generic" } }, @@ -151,8 +158,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "key_value={$FERN_INPUT}", - "delimiter": ", ", + "containerTemplateString": "key_value={\n\t\t$FERN_INPUT\n\t}", + "delimiter": ",\n\t\t", "keyTemplate": { "imports": [], "isOptional": true, @@ -160,7 +167,8 @@ "templateInputs": [ { "location": "QUERY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -172,7 +180,8 @@ "templateInputs": [ { "location": "QUERY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -194,7 +203,8 @@ "templateInputs": [ { "location": "QUERY", - "path": "optionalString" + "path": "optionalString", + "type": "payload" } ], "type": "generic" @@ -207,7 +217,7 @@ "from .nested_user import NestedUser" ], "isOptional": true, - "templateString": "nested_user=NestedUser(\n$FERN_INPUT\n)", + "templateString": "nested_user=NestedUser(\n\t\t$FERN_INPUT\n\t)", "templateInputs": [ { "type": "template", @@ -218,7 +228,8 @@ "templateInputs": [ { "location": "QUERY", - "path": "nestedUser.name" + "path": "nestedUser.name", + "type": "payload" } ], "type": "generic" @@ -231,7 +242,7 @@ "from .user import User" ], "isOptional": true, - "templateString": "user=User(\n$FERN_INPUT\n)", + "templateString": "user=User(\n\t$FERN_INPUT\n)", "templateInputs": [ { "type": "template", @@ -242,7 +253,8 @@ "templateInputs": [ { "location": "QUERY", - "path": "nestedUser.user.name" + "path": "nestedUser.user.name", + "type": "payload" } ], "type": "generic" @@ -253,8 +265,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "tags=[$FERN_INPUT]", - "delimiter": ", ", + "containerTemplateString": "tags=[\n\t$FERN_INPUT\n]", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -262,7 +274,8 @@ "templateInputs": [ { "location": "QUERY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -275,12 +288,12 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t", "type": "generic" } }, @@ -291,7 +304,7 @@ "from .user import User" ], "isOptional": true, - "templateString": "optional_user=User(\n$FERN_INPUT\n)", + "templateString": "optional_user=User(\n\t\t$FERN_INPUT\n\t)", "templateInputs": [ { "type": "template", @@ -302,7 +315,8 @@ "templateInputs": [ { "location": "QUERY", - "path": "optionalUser.name" + "path": "optionalUser.name", + "type": "payload" } ], "type": "generic" @@ -313,8 +327,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "tags=[$FERN_INPUT]", - "delimiter": ", ", + "containerTemplateString": "tags=[\n\t$FERN_INPUT\n]", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -322,7 +336,8 @@ "templateInputs": [ { "location": "QUERY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -335,7 +350,7 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t", "type": "generic" } }, @@ -346,7 +361,7 @@ "from .user import User" ], "isOptional": true, - "templateString": "exclude_user=User(\n$FERN_INPUT\n)", + "templateString": "exclude_user=User(\n\t\t$FERN_INPUT\n\t)", "templateInputs": [ { "type": "template", @@ -357,7 +372,8 @@ "templateInputs": [ { "location": "QUERY", - "path": "excludeUser.name" + "path": "excludeUser.name", + "type": "payload" } ], "type": "generic" @@ -368,8 +384,8 @@ "value": { "imports": [], "isOptional": true, - "containerTemplateString": "tags=[$FERN_INPUT]", - "delimiter": ", ", + "containerTemplateString": "tags=[\n\t$FERN_INPUT\n]", + "delimiter": ",\n\t", "innerTemplate": { "imports": [], "isOptional": true, @@ -377,7 +393,8 @@ "templateInputs": [ { "location": "QUERY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" @@ -390,7 +407,7 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t\t", "type": "generic" } }, @@ -403,14 +420,15 @@ "templateInputs": [ { "location": "QUERY", - "path": "filter" + "path": "filter", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" diff --git a/seed/python-sdk/reserved-keywords/snippet-templates.json b/seed/python-sdk/reserved-keywords/snippet-templates.json index 285a2173d7f..b7b5239f195 100644 --- a/seed/python-sdk/reserved-keywords/snippet-templates.json +++ b/seed/python-sdk/reserved-keywords/snippet-templates.json @@ -25,14 +25,15 @@ "templateInputs": [ { "location": "QUERY", - "path": "for" + "path": "for", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" diff --git a/seed/python-sdk/server-sent-events/snippet-templates.json b/seed/python-sdk/server-sent-events/snippet-templates.json index fd0ff32739e..4b73f7b1db0 100644 --- a/seed/python-sdk/server-sent-events/snippet-templates.json +++ b/seed/python-sdk/server-sent-events/snippet-templates.json @@ -25,14 +25,15 @@ "templateInputs": [ { "location": "BODY", - "path": "query" + "path": "query", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" diff --git a/seed/python-sdk/single-url-environment-default/snippet-templates.json b/seed/python-sdk/single-url-environment-default/snippet-templates.json index 7bfbbc6b3cd..ea65ae55297 100644 --- a/seed/python-sdk/single-url-environment-default/snippet-templates.json +++ b/seed/python-sdk/single-url-environment-default/snippet-templates.json @@ -16,7 +16,7 @@ "isOptional": true, "templateString": "await client.dummy.get_dummy(\n$FERN_INPUT\n)", "templateInputs": [], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" diff --git a/seed/python-sdk/single-url-environment-no-default/snippet-templates.json b/seed/python-sdk/single-url-environment-no-default/snippet-templates.json index 47bf2498a40..8232b3afbde 100644 --- a/seed/python-sdk/single-url-environment-no-default/snippet-templates.json +++ b/seed/python-sdk/single-url-environment-no-default/snippet-templates.json @@ -16,7 +16,7 @@ "isOptional": true, "templateString": "await client.dummy.get_dummy(\n$FERN_INPUT\n)", "templateInputs": [], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" diff --git a/seed/python-sdk/streaming/no-custom-config/snippet-templates.json b/seed/python-sdk/streaming/no-custom-config/snippet-templates.json index 905fdc1f08a..99aa4bb794a 100644 --- a/seed/python-sdk/streaming/no-custom-config/snippet-templates.json +++ b/seed/python-sdk/streaming/no-custom-config/snippet-templates.json @@ -25,14 +25,15 @@ "templateInputs": [ { "location": "BODY", - "path": "num_events" + "path": "num_events", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" diff --git a/seed/python-sdk/streaming/skip-pydantic-validation/snippet-templates.json b/seed/python-sdk/streaming/skip-pydantic-validation/snippet-templates.json index 905fdc1f08a..99aa4bb794a 100644 --- a/seed/python-sdk/streaming/skip-pydantic-validation/snippet-templates.json +++ b/seed/python-sdk/streaming/skip-pydantic-validation/snippet-templates.json @@ -25,14 +25,15 @@ "templateInputs": [ { "location": "BODY", - "path": "num_events" + "path": "num_events", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" diff --git a/seed/python-sdk/undiscriminated-unions/snippet-templates.json b/seed/python-sdk/undiscriminated-unions/snippet-templates.json index a878514fa00..b5b4b191904 100644 --- a/seed/python-sdk/undiscriminated-unions/snippet-templates.json +++ b/seed/python-sdk/undiscriminated-unions/snippet-templates.json @@ -16,7 +16,7 @@ "isOptional": true, "templateString": "await client.union.get(\n$FERN_INPUT\n)", "templateInputs": [], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" diff --git a/seed/python-sdk/unions/snippet-templates.json b/seed/python-sdk/unions/snippet-templates.json index ffbcc878317..372849e0b41 100644 --- a/seed/python-sdk/unions/snippet-templates.json +++ b/seed/python-sdk/unions/snippet-templates.json @@ -25,14 +25,15 @@ "templateInputs": [ { "location": "PATH", - "path": "id" + "path": "id", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" @@ -79,7 +80,8 @@ "templateInputs": [ { "location": "BODY", - "path": "radius" + "path": "radius", + "type": "payload" } ], "type": "generic" @@ -104,7 +106,8 @@ "templateInputs": [ { "location": "BODY", - "path": "length" + "path": "length", + "type": "payload" } ], "type": "generic" @@ -118,7 +121,7 @@ } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" diff --git a/seed/python-sdk/unknown/snippet-templates.json b/seed/python-sdk/unknown/snippet-templates.json index 1936920767c..1a5535faa0c 100644 --- a/seed/python-sdk/unknown/snippet-templates.json +++ b/seed/python-sdk/unknown/snippet-templates.json @@ -25,14 +25,15 @@ "templateInputs": [ { "location": "BODY", - "path": null + "path": null, + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" diff --git a/seed/python-sdk/variables/snippet-templates.json b/seed/python-sdk/variables/snippet-templates.json index 1d3fc7012b1..2c7a4ff7550 100644 --- a/seed/python-sdk/variables/snippet-templates.json +++ b/seed/python-sdk/variables/snippet-templates.json @@ -25,14 +25,15 @@ "templateInputs": [ { "location": "PATH", - "path": "endpointParam" + "path": "endpointParam", + "type": "payload" } ], "type": "generic" } } ], - "inputDelimiter": ",\n", + "inputDelimiter": ",\n\t", "type": "generic" }, "type": "v1" From 36e53e50e984643f32ba6490e0673d91dd1385fc Mon Sep 17 00:00:00 2001 From: armandobelardo Date: Mon, 22 Apr 2024 11:24:38 -0400 Subject: [PATCH 4/4] format --- generators/python/sdk/VERSION | 2 +- .../snippet/snippet_template_factory.py | 30 ++++++++++++------- 2 files changed, 20 insertions(+), 12 deletions(-) diff --git a/generators/python/sdk/VERSION b/generators/python/sdk/VERSION index 2a445aae3de..916201c9982 100644 --- a/generators/python/sdk/VERSION +++ b/generators/python/sdk/VERSION @@ -1 +1 @@ -1.3.0-rc4 +1.3.0-rc5 diff --git a/generators/python/src/fern_python/snippet/snippet_template_factory.py b/generators/python/src/fern_python/snippet/snippet_template_factory.py index 6734d5a92a9..7fa9070806b 100644 --- a/generators/python/src/fern_python/snippet/snippet_template_factory.py +++ b/generators/python/src/fern_python/snippet/snippet_template_factory.py @@ -62,7 +62,7 @@ class SnippetTemplateFactory: # Write this in the fern def to share between FE + BE TEMPLATE_SENTINEL = "$FERN_INPUT" - TAB_CHAR = '\t' + TAB_CHAR = "\t" def __init__( self, @@ -163,7 +163,9 @@ def _get_container_template( if name is not None else f"[\n{self.TAB_CHAR * child_indentation_level}{self.TEMPLATE_SENTINEL}\n{self.TAB_CHAR * indentation_level}]", delimiter=f",\n{self.TAB_CHAR * child_indentation_level}", - inner_template=self.get_type_reference_template(innerTr, None, location, None, None, child_indentation_level), + inner_template=self.get_type_reference_template( + innerTr, None, location, None, None, child_indentation_level + ), template_input=PayloadInput( location=location, path=self._get_breadcrumb_path(wire_or_original_name, name_breadcrumbs) ), @@ -177,7 +179,9 @@ def _get_container_template( if name is not None else f"{{\n{self.TAB_CHAR * child_indentation_level}{self.TEMPLATE_SENTINEL}\n{self.TAB_CHAR * indentation_level}}}", delimiter=f",\n{self.TAB_CHAR * child_indentation_level}", - inner_template=self.get_type_reference_template(innerTr, None, location, None, None, child_indentation_level), + inner_template=self.get_type_reference_template( + innerTr, None, location, None, None, child_indentation_level + ), template_input=PayloadInput( location=location, path=self._get_breadcrumb_path(wire_or_original_name, name_breadcrumbs) ), @@ -192,8 +196,12 @@ def _get_container_template( else f"{{\n{self.TAB_CHAR * child_indentation_level}{self.TEMPLATE_SENTINEL}\n{self.TAB_CHAR * indentation_level}}}", delimiter=f",\n{self.TAB_CHAR * child_indentation_level}", key_value_separator=": ", - key_template=self.get_type_reference_template(kvTr.key_type, None, location, None, None, child_indentation_level), - value_template=self.get_type_reference_template(kvTr.value_type, None, location, None, None, child_indentation_level), + key_template=self.get_type_reference_template( + kvTr.key_type, None, location, None, None, child_indentation_level + ), + value_template=self.get_type_reference_template( + kvTr.value_type, None, location, None, None, child_indentation_level + ), template_input=PayloadInput( location=location, path=self._get_breadcrumb_path(wire_or_original_name, name_breadcrumbs) ), @@ -472,7 +480,7 @@ def _get_named_template( location=location, wire_or_original_name=wire_or_original_name, name_breadcrumbs=name_breadcrumbs, - indentation_level=indentation_level + indentation_level=indentation_level, ), enum=lambda etd: self._get_enum_template( type_name=type_name, @@ -489,7 +497,7 @@ def _get_named_template( location=location, wire_or_original_name=wire_or_original_name, name_breadcrumbs=name_breadcrumbs, - indentation_level=indentation_level + indentation_level=indentation_level, ), union=lambda utd: self._get_discriminated_union_template( type_name=type_name, @@ -639,7 +647,7 @@ def generate_templates(self) -> List[SnippetRegistryEntry]: location="HEADERS", wire_or_original_name=header.name.wire_value, name_breadcrumbs=None, - indentation_level=1 + indentation_level=1, ) if ti is not None: top_level_template_inputs.append(ti) @@ -651,7 +659,7 @@ def generate_templates(self) -> List[SnippetRegistryEntry]: location="PATH", wire_or_original_name=path_parameter.name.original_name, name_breadcrumbs=None, - indentation_level=1 + indentation_level=1, ) if ti is not None: top_level_template_inputs.append(ti) @@ -663,7 +671,7 @@ def generate_templates(self) -> List[SnippetRegistryEntry]: location="QUERY", wire_or_original_name=query_parameter.name.name.original_name, name_breadcrumbs=None, - indentation_level=1 + indentation_level=1, ) if ti is not None: top_level_template_inputs.append(ti) @@ -700,7 +708,7 @@ def generate_templates(self) -> List[SnippetRegistryEntry]: location="BODY", wire_or_original_name=parameter.raw_name, name_breadcrumbs=None, - indentation_level=1 + indentation_level=1, ) if parameter.raw_type is not None else None