Added generating imports and headers to API generator (#467)

Signed-off-by: saimedhi <[email protected]>
This commit is contained in:
Sai Medhini Reddy Maryada
2023-08-02 15:00:20 -07:00
committed by GitHub
parent c104ae52b3
commit 8485606913
8 changed files with 115 additions and 14 deletions
@@ -1,6 +1,4 @@
{% extends "base" %}
{% block request %}
doc_type = "_doc"
{{ super()|trim }}
{% endblock %}
@@ -1,6 +1,4 @@
{% extends "base" %}
{% block request %}
doc_type = "_doc"
{{ super()|trim }}
{% endblock %}
-2
View File
@@ -1,6 +1,4 @@
{% extends "base" %}
{% block request %}
doc_type = "_doc"
{{ super()|trim }}
{% endblock %}
-2
View File
@@ -1,7 +1,5 @@
{% extends "base" %}
{% block request %}
doc_type = "_doc"
return await self.transport.perform_request("POST" if id in SKIP_IN_PATH else "PUT", {% include "url" %}, params=params, headers=headers, body=body)
{% endblock %}