Skip to content
This repository was archived by the owner on Dec 25, 2024. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
65 commits
Select commit Hold shift + click to select a range
779a36c
Updates settings of java template engine
spacether Nov 10, 2023
32bb113
client regen
spacether Nov 10, 2023
03509eb
Adds outer pipes to readme table
spacether Nov 10, 2023
f24d8e4
Fixes schema packages
spacether Nov 10, 2023
b191d06
Fixes request bodies and securty schemas package names for java
spacether Nov 11, 2023
8c26d8f
Fixes contentType package names in components
spacether Nov 11, 2023
d442326
Fixes content type folders in paths
spacether Nov 11, 2023
cb64832
Fixes component contenct schema file names
spacether Nov 12, 2023
8613f8b
Fixes component schema filenames when they are not under content keys
spacether Nov 12, 2023
045e4a3
Adds shared imports
spacether Nov 12, 2023
02aa0f0
Adds schema filename fixing for paths
spacether Nov 13, 2023
0befcbf
java sample regen
spacether Nov 13, 2023
d2dd708
Fixes response module names for java
spacether Nov 13, 2023
f6e1284
Templates updated, implements var equals class
spacether Nov 13, 2023
62279d9
Client regen
spacether Nov 13, 2023
c0876ef
Adds string schema class definition
spacether Nov 13, 2023
7781472
Adds getSchemaFilename and cache to correctly fetch schema class/file…
spacether Nov 14, 2023
a72df87
Renames Schema to JsonSchema to allow schemas named Schema
spacether Nov 14, 2023
7dfa9a7
Sample regen
spacether Nov 14, 2023
909cd11
Adds and uses containerJsonPathPiece
spacether Nov 14, 2023
c7c5691
Removes incorrect class word from var equals class template
spacether Nov 14, 2023
21ca9e8
Adds validate method to string schemas
spacether Nov 14, 2023
d3ddd86
Adds general missing imports, adds no params in var equals class
spacether Nov 14, 2023
6c12f50
Adds format info to string schemas
spacether Nov 14, 2023
31c2474
Adds boolean schema generation
spacether Nov 14, 2023
7947774
Adds number schema template
spacether Nov 15, 2023
fd28d5a
Number schemas written
spacether Nov 15, 2023
a8669cf
Fixes bug where generated python files changed
spacether Nov 15, 2023
0105b6b
Moves schema class into JsonSchemas class to prevent name collisions
spacether Nov 15, 2023
014c193
Adds NotAnyTypeSchema
spacether Nov 15, 2023
f9bf943
Adds integer to excluded words, fixes java tests
spacether Nov 15, 2023
e6f0893
Sample regen
spacether Nov 15, 2023
88690bf
Sanitizes model names in java, fixes properties in ObjectWithDifficul…
spacether Nov 15, 2023
b3b7e61
Improves path handling
spacether Nov 15, 2023
418ac9f
FIxes camelCasing for schema class names
spacether Nov 15, 2023
d03f0be
Fixes parameter package + response headers class names
spacether Nov 15, 2023
b7e6b98
Fixes common path param schema name
spacether Nov 15, 2023
1d15485
Regens sample to fix specialmodelname schema
spacether Nov 15, 2023
98b196d
Adds list schema generation, no items yet
spacether Nov 15, 2023
df905ba
Adds items to list schemas
spacether Nov 15, 2023
68857ea
Adds suffix number onto refClass
spacether Nov 15, 2023
a612dbd
Adds helper template
spacether Nov 15, 2023
f982ad2
Adds ref schemas
spacether Nov 15, 2023
1ed1492
Includes container in ref schema validate
spacether Nov 15, 2023
91ad149
Removes container included comment
spacether Nov 15, 2023
cbf546b
Adds needed imports to ref schema files
spacether Nov 15, 2023
d96121a
Adds map schemas
spacether Nov 15, 2023
54ec706
Adds properties
spacether Nov 15, 2023
945a668
Adds required properties
spacether Nov 15, 2023
5890143
Adds additionalProperties to map schemas
spacether Nov 15, 2023
2cfa433
Fixes schema numbers
spacether Nov 15, 2023
05d5166
Adds anytypeormultitype template
spacether Nov 15, 2023
efd401b
Adds getSchemaKeywords to CodegenSchema
spacether Nov 16, 2023
682c07a
Adds fake validator and uses it for all validators that have not yet …
spacether Nov 16, 2023
4cc5216
Fixes input types for anytype or multitype schemas
spacether Nov 16, 2023
5208fce
Adds code to gather java imports
spacether Nov 16, 2023
000e381
Almost fixes schema naming colisions
spacether Nov 16, 2023
d783028
Fixes parameter ordering bug
spacether Nov 16, 2023
315fd12
Removes withDefault from SchemaValidator
spacether Nov 17, 2023
b37b0e2
Converts some schemas to static final classes
spacether Nov 17, 2023
17ad4a1
Fixes properties definition
spacether Nov 17, 2023
ef9062b
Fixes java tests in java client
spacether Nov 17, 2023
248baef
Fixes java tests
spacether Nov 17, 2023
dacf88d
Fixes python response parameter name change
spacether Nov 17, 2023
71467fc
Generator docs regen
spacether Nov 17, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
14 changes: 10 additions & 4 deletions docs/generators/java.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ These options may be applied as additional-properties (cli) or configOptions (pl
|additionalEnumTypeAnnotations|Additional annotations for enum type(class level annotations)| |null|
|additionalModelTypeAnnotations|Additional annotations for model type(class level annotations). List separated by semicolon(;) or new line (Linux or Windows)| |null|
|allowUnicodeIdentifiers|boolean, toggles whether unicode identifiers are allowed in names or not, default is false| |false|
|apiPackage|package for generated api classes| |org.openapijsonschematools.client.api|
|apiPackage|package for generated api classes| |apis|
|artifactDescription|artifact description in generated pom.xml| |OpenAPI Java|
|artifactId|artifactId in generated pom.xml. This also becomes part of the generated library's filename| |openapi-java-client|
|artifactUrl|artifact URL in generated pom.xml| |https://github.com/openapi-json-schema-tools/openapi-json-schema-generator|
Expand Down Expand Up @@ -58,7 +58,7 @@ These options may be applied as additional-properties (cli) or configOptions (pl
|licenseUrl|The URL of the license| |http://unlicense.org|
|microprofileFramework|Framework for microprofile. Possible values "kumuluzee"| |null|
|microprofileRestClientVersion|Version of MicroProfile Rest Client API.| |null|
|modelPackage|package for generated models| |org.openapijsonschematools.client.model|
|modelPackage|package for generated models| |components.schemas|
|openApiNullable|Enable OpenAPI Jackson Nullable library| |true|
|parcelableModel|Whether to generate models for Android that implement Parcelable with the okhttp-gson library.| |false|
|parentArtifactId|parent artifactId in generated pom N.B. parentGroupId, parentArtifactId and parentVersion must all be specified for any of them to take effect| |null|
Expand Down Expand Up @@ -151,7 +151,6 @@ These options may be applied as additional-properties (cli) or configOptions (pl
<li>else</li>
<li>enum</li>
<li>extends</li>
<li>file</li>
<li>final</li>
<li>finally</li>
<li>float</li>
Expand All @@ -162,8 +161,11 @@ These options may be applied as additional-properties (cli) or configOptions (pl
<li>import</li>
<li>instanceof</li>
<li>int</li>
<li>integer</li>
<li>interface</li>
<li>linkedhashset</li>
<li>list</li>
<li>localdate</li>
<li>localreturntype</li>
<li>localvaraccept</li>
<li>localvaraccepts</li>
Expand All @@ -178,10 +180,11 @@ These options may be applied as additional-properties (cli) or configOptions (pl
<li>localvarpostbody</li>
<li>localvarqueryparams</li>
<li>long</li>
<li>map</li>
<li>native</li>
<li>new</li>
<li>null</li>
<li>object</li>
<li>number</li>
<li>package</li>
<li>private</li>
<li>protected</li>
Expand All @@ -190,6 +193,7 @@ These options may be applied as additional-properties (cli) or configOptions (pl
<li>short</li>
<li>static</li>
<li>strictfp</li>
<li>string</li>
<li>stringutil</li>
<li>super</li>
<li>switch</li>
Expand All @@ -199,9 +203,11 @@ These options may be applied as additional-properties (cli) or configOptions (pl
<li>throws</li>
<li>transient</li>
<li>try</li>
<li>uuid</li>
<li>void</li>
<li>volatile</li>
<li>while</li>
<li>zoneddatetime</li>
</ul>

## FEATURE SET
Expand Down
10 changes: 8 additions & 2 deletions docs/generators/jaxrs-jersey.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,6 @@ These options may be applied as additional-properties (cli) or configOptions (pl
<li>else</li>
<li>enum</li>
<li>extends</li>
<li>file</li>
<li>final</li>
<li>finally</li>
<li>float</li>
Expand All @@ -144,8 +143,11 @@ These options may be applied as additional-properties (cli) or configOptions (pl
<li>import</li>
<li>instanceof</li>
<li>int</li>
<li>integer</li>
<li>interface</li>
<li>linkedhashset</li>
<li>list</li>
<li>localdate</li>
<li>localreturntype</li>
<li>localvaraccept</li>
<li>localvaraccepts</li>
Expand All @@ -160,10 +162,11 @@ These options may be applied as additional-properties (cli) or configOptions (pl
<li>localvarpostbody</li>
<li>localvarqueryparams</li>
<li>long</li>
<li>map</li>
<li>native</li>
<li>new</li>
<li>null</li>
<li>object</li>
<li>number</li>
<li>package</li>
<li>private</li>
<li>protected</li>
Expand All @@ -172,6 +175,7 @@ These options may be applied as additional-properties (cli) or configOptions (pl
<li>short</li>
<li>static</li>
<li>strictfp</li>
<li>string</li>
<li>stringutil</li>
<li>super</li>
<li>switch</li>
Expand All @@ -181,9 +185,11 @@ These options may be applied as additional-properties (cli) or configOptions (pl
<li>throws</li>
<li>transient</li>
<li>try</li>
<li>uuid</li>
<li>void</li>
<li>volatile</li>
<li>while</li>
<li>zoneddatetime</li>
</ul>

## FEATURE SET
Expand Down
360 changes: 342 additions & 18 deletions samples/client/petstore/java/.openapi-generator/FILES

Large diffs are not rendered by default.

Loading