File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1- From 34118346e37caa4df62c17aec9bcb568f7af7423 Mon Sep 17 00:00:00 2001
1+ From 665e0eb3aa604f0d2a3db2693bdf2a1e8b3f812c Mon Sep 17 00:00:00 2001
22From: Alexandre Krispin <
[email protected] >
33Date: Thu, 26 Jan 2023 15:44:12 +0900
44Subject: [PATCH] Customize templates
@@ -209,7 +209,7 @@ index 32c26d929..e1301214e 100644
209209 {{/operation}}
210210 {{/operations}}
211211diff --git a/modules/swagger-codegen/src/main/resources/python/model_doc.mustache b/modules/swagger-codegen/src/main/resources/python/model_doc.mustache
212- index 569550df3..2ee9b5cc1 100644
212+ index 569550df3..6f1d65e58 100644
213213--- a/modules/swagger-codegen/src/main/resources/python/model_doc.mustache
214214+++ b/modules/swagger-codegen/src/main/resources/python/model_doc.mustache
215215@@ -1,11 +1,18 @@
@@ -228,7 +228,7 @@ index 569550df3..2ee9b5cc1 100644
228228 Name | Type | Description | Notes
229229 ------------ | ------------- | ------------- | -------------
230230- {{#vars}}**{{name}}** | {{#isPrimitiveType}}**{{datatype}}**{{/isPrimitiveType}}{{^isPrimitiveType}}[**{{datatype}}**]({{complexType}}.md){{/isPrimitiveType}} | {{description}} | {{^required}}[optional] {{/required}}{{#readOnly}}[readonly] {{/readOnly}}{{#defaultValue}}[default to {{{.}}}]{{/defaultValue}}
231- + {{#vars}}**{{name}}** | {{#isPrimitiveType}}**{{datatype}}**{{/isPrimitiveType}}{{^isPrimitiveType}}**[{{datatype}}](../{{#lambda.lowercase}}{{complexType}}{{/lambda.lowercase}})**{{/isPrimitiveType}} | {{description}} | {{^required}}[optional] {{/required}}{{#readOnly}}[readonly] {{/readOnly}}{{#defaultValue}}[default to {{{.}}}]{{/defaultValue}}
231+ + {{#vars}}**{{name}}** | {{#isPrimitiveType}}**{{datatype}}**{{/isPrimitiveType}}{{^isPrimitiveType}}**[{{datatype}}](../{{#lambda.lowercase}}{{complexType}}/ {{/lambda.lowercase}})**{{/isPrimitiveType}} | {{description}} | {{^required}}[optional] {{/required}}{{#readOnly}}[readonly] {{/readOnly}}{{#defaultValue}}[default to {{{.}}}]{{/defaultValue}}
232232 {{/vars}}
233233
234234- [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
You can’t perform that action at this time.
0 commit comments