File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ using {{ spec.title | caseUcfirst }}.Services;
11
11
12
12
Client client = new Client()
13
13
{% if method .auth | length > 0 %}
14
- .SetEndPoint("https://cloud.appwrite.io/v1 ") // Your API Endpoint
14
+ .SetEndPoint("{{ spec . endpointDocs | raw }} ") // Your API Endpoint
15
15
{% for node in method .auth %}
16
16
{% for key ,header in node | keys %}
17
17
.Set{{header | caseUcfirst }}("{{node [header ][' x-appwrite' ]['demo' ] | raw }}"){% if loop .last %};{% endif %} // {{node [header ].description}}
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ func main() {
19
19
client := client.NewClient()
20
20
21
21
{% if method .auth | length > 0 %}
22
- client.SetEndpoint("https://cloud.appwrite.io/v1 ") // Your API Endpoint
22
+ client.SetEndpoint("{{ spec . endpointDocs | raw }} ") // Your API Endpoint
23
23
{% for node in method .auth %}
24
24
{% for key ,header in node | keys %}
25
25
client.Set{{header }}("{{node [header ][' x-appwrite' ]['demo' ] | raw }}") // {{node [header ].description}}
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ from {{ spec.title | caseSnake }}.enums import {{parameter.enumName | caseUcfirs
22
22
23
23
client = Client()
24
24
{% if method .auth | length > 0 %}
25
- client.set_endpoint('https://cloud.appwrite.io/v1 ') # Your API Endpoint
25
+ client.set_endpoint('{{ spec . endpointDocs | raw }} ') # Your API Endpoint
26
26
{% for node in method .auth %}
27
27
{% for key ,header in node | keys %}
28
28
client.set_{{header | caseSnake }}('{{node [header ][' x-appwrite' ]['demo' ] | raw }}') # {{node [header ].description}}
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ include {{ spec.title | caseUcfirst }}::Enums
14
14
{% endfor %}
15
15
16
16
client = Client.new
17
- .set_endpoint('https://cloud.appwrite.io/v1 ') # Your API Endpoint
17
+ .set_endpoint('{{ spec . endpointDocs | raw }} ') # Your API Endpoint
18
18
{%~ for node in method .auth %}
19
19
{%~ for key ,header in node | keys %}
20
20
.set_{{header | caseSnake}}('{{node [header ][' x-appwrite' ]['demo' ] | raw }}') # {{node [header ].description}}
You can’t perform that action at this time.
0 commit comments