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;
1111
1212Client client = new Client()
1313{% if method .auth | length > 0 %}
14- .SetEndPoint("https://cloud.appwrite.io/v1 ") // Your API Endpoint
14+ .SetEndPoint("{{ spec . endpointDocs | raw }} ") // Your API Endpoint
1515{% for node in method .auth %}
1616{% for key ,header in node | keys %}
1717 .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() {
1919 client := client.NewClient()
2020
2121{% 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
2323{% for node in method .auth %}
2424{% for key ,header in node | keys %}
2525 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
2222
2323client = Client()
2424{% 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
2626{% for node in method .auth %}
2727{% for key ,header in node | keys %}
2828client.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
1414{% endfor %}
1515
1616client = Client.new
17- .set_endpoint('https://cloud.appwrite.io/v1 ') # Your API Endpoint
17+ .set_endpoint('{{ spec . endpointDocs | raw }} ') # Your API Endpoint
1818 {%~ for node in method .auth %}
1919 {%~ for key ,header in node | keys %}
2020 .set_{{header | caseSnake}}('{{node [header ][' x-appwrite' ]['demo' ] | raw }}') # {{node [header ].description}}
You can’t perform that action at this time.
0 commit comments