Skip to content
This repository was archived by the owner on Dec 25, 2024. It is now read-only.

Commit 3d4534f

Browse files
committed
Adds generics to schema classes
1 parent 8d65f59 commit 3d4534f

10 files changed

Lines changed: 460 additions & 743 deletions

File tree

modules/openapi-json-schema-generator/src/main/resources/python/components/schemas/_helper_xbase_multiple_types.hbs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,4 @@ schemas.BoolBase,
3333
schemas.NoneBase,
3434
{{/eq}}
3535
{{/each}}
36-
schemas.Schema,
37-
schemas.{{#each types}}{{#eq this "null"}}None{{/eq}}{{#eq this "object"}}FrozenDict{{/eq}}{{#eq this "array"}}Tuple{{/eq}}{{#eq this "string"}}Str{{/eq}}{{#eq this "number"}}Decimal{{/eq}}{{#eq this "integer"}}Decimal{{/eq}}{{#eq this "boolean"}}Bool{{/eq}}{{/each}}Mixin
36+
schemas.Schema

0 commit comments

Comments
 (0)