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
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
  •  
  •  
  •  
7 changes: 7 additions & 0 deletions bin/generate_samples_configs/java.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
generatorName: java
outputDir: samples/client/petstore/java
inputSpec: src/test/resources/3_0/python/petstore_customized.yaml
additionalProperties:
booleanGetterPrefix: is
artifactId: petstore
hideGenerationTimestamp: "true"
1 change: 0 additions & 1 deletion bin/utils/ensure-up-to-date
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ if [ -n "$(git status --porcelain)" ]; then
echo "When you see unexpected files here, it likely means that there are newer commits in master that you need to "
echo -e "rebase or merge into your branch.\n"
echo "Please run 'bin/utils/ensure-up-to-date' locally and commit changes (UNCOMMITTED CHANGES ERROR)"
zip -r /tmp/circleci-artifacts/samples.zip samples
exit 1
else
echo "Git working tree is clean"
Expand Down
4 changes: 2 additions & 2 deletions docs/generators/java.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ title: Documentation for the java generator
| Property | Value | Notes |
| -------- | ----- | ----- |
| generator name | java | pass this to the generate command after -g |
| generator stability | STABLE | |
| generator stability | EXPERIMENTAL | |
| generator type | CLIENT | |
| generator language | Java | |
| generator default templating engine | mustache | |
| generator default templating engine | handlebars | |
| helpTxt | Generates a Java client library (HTTP lib: Jersey (1.x, 2.x), Retrofit (2.x), OpenFeign (10.x) and more. | |

## CONFIG OPTIONS
Expand Down
23 changes: 23 additions & 0 deletions samples/client/petstore/java/.openapi-generator-ignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# OpenAPI Generator Ignore
# Generated by openapi-generator https://github.com/openapi-json-schema-tools/openapi-json-schema-generator

# Use this file to prevent files from being overwritten by the generator.
# The patterns follow closely to .gitignore or .dockerignore.

# As an example, the C# client generator defines ApiClient.cs.
# You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line:
#ApiClient.cs

# You can match any string of characters against a directory, file or extension with a single asterisk (*):
#foo/*/qux
# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux

# You can recursively match patterns against a directory, file or extension with a double asterisk (**):
#foo/**/qux
# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux

# You can also negate patterns with an exclamation (!).
# For example, you can ignore all files in a docs folder with the file extension .md:
#docs/*.md
# Then explicitly reverse the ignore rule for a single file:
#!docs/README.md
4 changes: 4 additions & 0 deletions samples/client/petstore/java/.openapi-generator/FILES
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
README.md
pom.xml
src/main/java/org/openapijsonschematools/schemas/CustomIsoparser.java
src/test/java/org/openapijsonschematools/schemas/CustomIsoparserTest.java
1 change: 1 addition & 0 deletions samples/client/petstore/java/.openapi-generator/VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
unset
Loading