aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Edgecumbe <git@esotericnonsense.com>2019-10-28 18:37:24 +0100
committerDaniel Edgecumbe <git@esotericnonsense.com>2019-10-28 18:37:24 +0100
commit213af9f9a7990e94a9fa14ca80d2f3fd5afd56bb (patch)
tree484c01fd49a188e332f2a66ebc655bad53eaf4d5
parenta802d8ef5d1e08b1d3561145189f9ba5db84efd6 (diff)
Fix some documentation
-rwxr-xr-xgenapi/main.py10
1 files changed, 3 insertions, 7 deletions
diff --git a/genapi/main.py b/genapi/main.py
index b84e556..189a8e8 100755
--- a/genapi/main.py
+++ b/genapi/main.py
@@ -514,8 +514,7 @@ def python_type_to_rust_type(_type: str, mandatory: bool = True) -> str:
def generate_rust_simple_types(simple_types: List[SimpleType]) -> List[str]:
"""
- Return API bindings for the operations.
- For the time being the function bodies are just empty.
+ Return API bindings for the simpleTypes.
"""
types: List[str] = []
@@ -550,8 +549,7 @@ pub enum {simple_type.name} {{
def generate_rust_data_types(data_types: List[DataType]) -> List[str]:
"""
- Return API bindings for the operations.
- For the time being the function bodies are just empty.
+ Return API bindings for the dataTypes.
"""
types: List[str] = []
@@ -598,7 +596,6 @@ class RustOperations:
def generate_rust_operations(operations: List[Operation]) -> RustOperations:
"""
Return API bindings for the operations.
- For the time being the function bodies are just empty.
"""
request_structs: List[str] = []
@@ -680,8 +677,7 @@ def generate_rust_exceptions(
exception_types: List[ExceptionType]
) -> List[str]:
"""
- Return API bindings for the operations.
- For the time being the function bodies are just empty.
+ Return API bindings for the exceptionTypes.
"""
# def format_param(param: Param):