You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 25, 2024. It is now read-only.
* Improves docs generation
* Adds inline composed schemas
* Adds missing from property
* Adds notes info
* Fixes spacing
* Updates notes, generates container properties
* Adds anchors to property schema docs
* Adds format info to docs
* Adds items schema documentation
* Adds doc for additionalProperties
* Adds anchors for response types
* Fixes anchors in endpoint
* Fixes api doc link to model doc
* Removes returnType from api docs because it is unused
* Fixes float and double tests
{{#unlessisArray}}{{#unlesscomplexType}}{{#withallowableValues}}must be one of [{{#eachenumVars}}{{{value}}}, {{/each}}] {{/with}}{{#ifdefaultValue}}{{#unlesshasRequired}}if omitted the server will use the default value of {{{defaultValue}}}{{/unless}}{{/if}}{{#eqgetFormat"uuid"}}value must be a uuid{{/eq}}{{#eqgetFormat"date"}}value must conform to RFC-3339 full-date YYYY-MM-DD{{/eq}}{{#eqgetFormat"date-time"}}value must conform to RFC-3339 date-time{{/eq}}{{#eqgetFormat"number"}}value must be numeric and storable in decimal.Decimal{{/eq}}{{#eqgetFormat"int32"}}value must be a 32 bit integer{{/eq}}{{#eqgetFormat"int64"}}value must be a 64 bit integer{{/eq}}{{#eqgetFormat"double"}}value must be a 64 bit float{{/eq}}{{#eqgetFormat"float"}}value must be a 32 bit float{{/eq}}{{/unless}}{{/unless}}
**{{@key}}** | {{#with this}}{{#unless complexType}}**{{dataType}}**{{/unless}}{{#if complexType}}[**{{dataType}}**]({{complexType}}.md){{/if}} | {{#if description}}{{description}}{{/if}} | {{#if isReadOnly}}[readonly] {{/if}}{{#if defaultValue}} if omitted the server will use the default value of {{{defaultValue}}}{{/if}}{{/with}}
**{{baseName}}** | {{#unless complexType}}**{{dataType}}**{{/unless}}{{#if complexType}}[**{{dataType}}**]({{complexType}}.md){{/if}} | {{#if description}}{{description}}{{/if}} | {{#unless required}}[optional] {{/unless}}{{#if isReadOnly}}[readonly] {{/if}}{{#if defaultValue}} if omitted the server will use the default value of {{{defaultValue}}}{{/if}}
**any string name** | {{> model_templates/schema_python_types }} | any string name can be used but the value must be the correct type | [optional]
26
+
**any_string_name** | {{> model_templates/schema_python_types }} | {{> model_templates/schema_accessed_types }} | any string name can be used but the value must be the correct type{{#if description}} {{description}}{{/if}} | [optional]
22
27
{{else}}
23
-
**any string name** | {{#unless complexType}}**{{dataType}}**{{/unless}}{{#if complexType}}[**{{dataType}}**]({{complexType}}.md){{/if}} | {{#if description}}{{description}}{{/if}}any string name can be used but the value must be the correct type | {{#unless required}}[optional] {{/unless}}{{#if isReadOnly}}[readonly] {{/if}}{{#if defaultValue}} if omitted the server will use the default value of {{{defaultValue}}}{{/if}}
28
+
**{{#unless complexType}}{{#or isArray isMap composedSchemas}}[{{/or}}{{/unless}}any_string_name{{#unless complexType}}{{#or isArray isMap composedSchemas}}](#any_string_name){{/or}}{{/unless}}** | {{#unless complexType}}{{> model_templates/schema_python_types }}{{/unless}}{{#if complexType}}[**{{dataType}}**]({{complexTypePrefix}}{{complexType}}.md){{/if}} | {{#unless complexType}}{{> model_templates/schema_accessed_types }}{{/unless}}{{#if complexType}}[**{{dataType}}**]({{complexTypePrefix}}{{complexType}}.md){{/if}} | any string name can be used but the value must be the correct type{{#if description}} {{description}}{{/if}} | [optional] {{> model_templates/notes_msg }}
24
29
{{/if}}
25
30
{{/unless}}
26
31
{{else}}
27
-
**any string name** | dict, frozendict, str, date, datetime, int, float, bool, Decimal, None, list, tuple, bytes | any string name can be used but the value must be the correct type | [optional]
32
+
**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional]
typing.Union[{{> model_templates/schema_python_types }}] | | {{#with allowableValues}}{{#if defaultValue}}, {{/if}} must be one of [{{#each enumVars}}{{{value}}}, {{/each}}]{{/with}}
37
-
{{else}}
38
-
{{#if isArray}}
39
-
{{#unless arrayModelType}}**{{dataType}}**{{/unless}}{{#if arrayModelType}}[**{{dataType}}**]({{arrayModelType}}.md){{/if}} | {{#if description}}{{description}}{{/if}} | {{#if defaultValue}}{{#if hasRequired}} if omitted the server will use the default value of {{/if}}{{#unless hasRequired}}defaults to {{/unless}}{{{defaultValue}}}{{/if}}
40
-
{{else}}
41
-
{{#unless arrayModelType}}**{{dataType}}**{{/unless}} | {{#if description}}{{description}}{{/if}} | {{#if defaultValue}}{{#if hasRequired}} if omitted the server will use the default value of {{/if}}{{#unless hasRequired}}defaults to {{/unless}}{{{defaultValue}}}{{/if}}{{#with allowableValues}}{{#if defaultValue}}, {{/if}} must be one of [{{#each enumVars}}{{{value}}}, {{/each}}]{{/with}}
42
-
{{/if}}
43
-
{{/if}}
44
-
{{/if}}
45
34
{{/or}}
35
+
{{#each vars}}
36
+
{{#unless complexType}}
37
+
{{#or isArray isMap composedSchemas}}
38
+
39
+
# {{baseName}}
40
+
{{> schema_doc }}
41
+
{{/or}}
42
+
{{/unless}}
43
+
{{/each}}
44
+
{{#with additionalProperties}}
45
+
{{#unless getIsBooleanSchemaFalse}}
46
+
{{#unless getIsBooleanSchemaTrue}}
47
+
{{#unless complexType}}
48
+
{{#or isArray isMap composedSchemas}}
49
+
50
+
# any_string_name
51
+
{{> schema_doc }}
52
+
{{/or}}
53
+
{{/unless}}
54
+
{{/unless}}
55
+
{{/unless}}
56
+
{{/with}}
57
+
{{#if items}}
58
+
59
+
### Tuple Items
60
+
Class Name | Input Type | Accessed Type | Description | Notes
Copy file name to clipboardExpand all lines: modules/openapi-generator/src/test/resources/3_0/python-experimental/petstore-with-fake-endpoints-models-for-testing-with-http-signature.yaml
0 commit comments