Closed jeff9finger closed 1 year ago
Are you sure your spec is valid? I get following errors on http://editor.swagger.io/
Semantic error at security.0
Security requirements must match a security definition
Jump to line 11
Semantic error at security.1
Security requirements must match a security definition
Jump to line 12
Semantic error at paths./actions.get.responses.400.schema.$ref
$refs must reference a valid location in the document
Jump to line 57
Semantic error at paths./actions.get.responses.default.schema.$ref
$refs must reference a valid location in the document
Jump to line 61
Semantic error at paths./actions.get.security.0
Security requirements must match a security definition
Jump to line 63
Semantic error at paths./actions.get.security.1
Security requirements must match a security definition
Jump to line 64
When I execute this in swagger-codegen, it works.
$ swagger-codegen generate --lang java --library jersey2 --input-spec test.yaml --output src
[main] INFO io.swagger.parser.Swagger20Parser - reading from test.yaml
[main] INFO io.swagger.codegen.DefaultCodegen - Skipped overwriting pom.xml as the file already exists in /Users/jeff/tmp/openapi/src//pom.xml
[main] INFO io.swagger.codegen.DefaultCodegen - Skipped overwriting README.md as the file already exists in /Users/jeff/tmp/openapi/src//README.md
[main] INFO io.swagger.codegen.DefaultCodegen - Skipped overwriting build.gradle as the file already exists in /Users/jeff/tmp/openapi/src//build.gradle
[main] INFO io.swagger.codegen.DefaultCodegen - Skipped overwriting build.sbt as the file already exists in /Users/jeff/tmp/openapi/src//build.sbt
[main] INFO io.swagger.codegen.DefaultCodegen - Skipped overwriting settings.gradle as the file already exists in /Users/jeff/tmp/openapi/src//settings.gradle
[main] INFO io.swagger.codegen.DefaultCodegen - Skipped overwriting gradle.properties as the file already exists in /Users/jeff/tmp/openapi/src//gradle.properties
[main] INFO io.swagger.codegen.DefaultCodegen - Skipped overwriting AndroidManifest.xml as the file already exists in /Users/jeff/tmp/openapi/src/src/main/AndroidManifest.xml
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /Users/jeff/tmp/openapi/src/src/main/java/io/swagger/client/model/ActionType.java
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /Users/jeff/tmp/openapi/src/docs/ActionType.md
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /Users/jeff/tmp/openapi/src/src/main/java/io/swagger/client/model/Entity.java
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /Users/jeff/tmp/openapi/src/docs/Entity.md
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /Users/jeff/tmp/openapi/src/src/main/java/io/swagger/client/model/Action.java
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /Users/jeff/tmp/openapi/src/docs/Action.md
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /Users/jeff/tmp/openapi/src/src/main/java/io/swagger/client/api/ActionApi.java
[main] INFO io.swagger.codegen.DefaultGenerator - File exists. Skipped overwriting /Users/jeff/tmp/openapi/src/src/test/java/io/swagger/client/api/ActionApiTest.java
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /Users/jeff/tmp/openapi/src/docs/ActionApi.md
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /Users/jeff/tmp/openapi/src/.travis.yml
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /Users/jeff/tmp/openapi/src/src/main/java/io/swagger/client/ApiClient.java
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /Users/jeff/tmp/openapi/src/src/main/java/io/swagger/client/StringUtil.java
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /Users/jeff/tmp/openapi/src/src/main/java/io/swagger/client/auth/HttpBasicAuth.java
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /Users/jeff/tmp/openapi/src/src/main/java/io/swagger/client/auth/ApiKeyAuth.java
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /Users/jeff/tmp/openapi/src/src/main/java/io/swagger/client/auth/OAuth.java
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /Users/jeff/tmp/openapi/src/src/main/java/io/swagger/client/auth/OAuthFlow.java
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /Users/jeff/tmp/openapi/src/gradlew
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /Users/jeff/tmp/openapi/src/gradlew.bat
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /Users/jeff/tmp/openapi/src/gradle/wrapper/gradle-wrapper.properties
[main] INFO io.swagger.codegen.DefaultGenerator - writing file /Users/jeff/tmp/openapi/src/gradle/wrapper/gradle-wrapper.jar
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /Users/jeff/tmp/openapi/src/git_push.sh
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /Users/jeff/tmp/openapi/src/.gitignore
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /Users/jeff/tmp/openapi/src/src/main/java/io/swagger/client/ApiException.java
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /Users/jeff/tmp/openapi/src/src/main/java/io/swagger/client/Configuration.java
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /Users/jeff/tmp/openapi/src/src/main/java/io/swagger/client/Pair.java
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /Users/jeff/tmp/openapi/src/src/main/java/io/swagger/client/auth/Authentication.java
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /Users/jeff/tmp/openapi/src/src/main/java/io/swagger/client/JSON.java
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /Users/jeff/tmp/openapi/src/src/main/java/io/swagger/client/RFC3339DateFormat.java
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /Users/jeff/tmp/openapi/src/src/main/java/io/swagger/client/CustomInstantDeserializer.java
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /Users/jeff/tmp/openapi/src/.swagger-codegen/VERSION
Also
$ swagger-codegen validate -i test.yaml
Validating spec file (test.yaml)
I removed the errors displayed in http://editor.swagger.io/ (though this is a snippet from our current spec that we have in production, so I don't know why these show as errors). Here is the updated spec file. It still has the issues reported. Seems to be around the discriminator.
swagger: "2.0"
info:
version: "2"
title: "TRACT Billing API"
basePath: "/billing/2"
consumes:
- "application/json"
produces:
- "application/json"
paths:
/actions:
get:
tags:
- "Action"
summary: "Get actions"
operationId: "queryActions"
produces:
- "application/json"
parameters:
- name: "id"
in: "query"
description: "The internal ID of the object."
required: false
type: "string"
responses:
200:
description: "Success"
schema:
type: "array"
items:
$ref: "#/definitions/Action"
headers:
ETag:
type: "string"
description: "The standard ETag HTTP header."
X-total-count:
type: "integer"
format: "int64"
description: "The total results for the particular query. Used to drive\
\ paging requests."
X-element-count:
type: "integer"
format: "int64"
description: "The number of elements returned in the current request.\
\ Used to drive paging requests."
X-total-pages:
type: "integer"
format: "int64"
description: "The total number of pages that can be requested. Used\
\ to drive paging requests."
400:
description: "Bad request."
default:
description: "Unknown error."
x-swagger-router-controller: "ActionsController"
definitions:
Entity:
type: "object"
properties:
id:
type: "string"
example: "1438752"
description: "(unique_key) The ID of the entity."
readOnly: true
title: "Entity"
description: "A base object for all API entities."
Action:
title: "Action"
allOf:
- $ref: "#/definitions/Entity"
- type: "object"
required:
- "action_type"
discriminator: "action_type"
properties:
name:
type: "string"
description: "The name of the action."
readOnly: true
enabled:
type: "boolean"
description: "Specifies whether the action is enabled."
readOnly: true
friendly_name:
type: "string"
description: "The optional additional name of the action."
readOnly: true
supports_approval:
type: "boolean"
description: "Specifies whether the action supports approval."
readOnly: true
action_type:
$ref: "#/definitions/ActionType"
ActionType:
type: "string"
title: "ActionType"
description: "Indicates the type of action that occurs."
enum:
- "agreement"
- "agreement-service"
- "bill-cycle-run"
- "bill-batch-run"
- "billing-account"
- "counter"
- "credit-adjustment"
- "disbursement"
- "invoice"
- "payment"
- "product-sale"
- "remote-prepaid-register"
- "sales-order"
- "service"
- "service-cfv"
- "system-notification"
- "usage-rule"
x-swagger-router-model: "ActionTypeDto"
I have filed https://github.com/swagger-api/swagger-parser/issues/740 maybe you can add a comment there to explain that it was working with a previous version of swagger-parser
(used in your version of swagger-codegen).
@jmini Thank you
swagger-api/swagger-parser#740 is now merged. How do we pick this up from swagger-parser?
I have opened https://github.com/swagger-api/swagger-parser/issues/780 to ask the Swagger-Parser team for the next release. Feel free to let a comment on this issue.
I hope that we will have a new version of Swagger-Parser with our next 3.2.0
release of OpenAPI-Generator.
The issue in Swagger-Parser was fixed, and with PR #696 OpenAPI-Generator was updated to use a version containing the fix.
This issue reported here, should no longer appear with the newest 3.2.0-SNAPSHOT
version.
@jeff9finger, can you check it?
When I execute the same command with the same yaml file, it does seem to execute correctly. Note: This is without --verbose
java -jar openapi-generator-cli.jar generate --generator-name java --library jersey2 --input-spec test.yaml --output src
[main] WARN o.o.c.ignore.CodegenIgnoreProcessor - Output directory does not exist, or is inaccessible. No file (.openapi-generator-ignore) will be evaluated.
[main] WARN o.o.codegen.utils.URLPathUtils - 'host' not defined in the spec (2.0). Default to [http://localhost] for server URL [http://localhost/billing/2]
[main] WARN o.o.codegen.utils.URLPathUtils - 'host' not defined in the spec (2.0). Default to [http://localhost] for server URL [http://localhost/billing/2]
[main] INFO o.o.codegen.AbstractGenerator - writing file /Users/jeff/tmp/src/src/main/java/org/openapitools/client/model/Action.java
[main] INFO o.o.codegen.AbstractGenerator - writing file /Users/jeff/tmp/src/docs/Action.md
[main] INFO o.o.codegen.AbstractGenerator - writing file /Users/jeff/tmp/src/src/main/java/org/openapitools/client/model/ActionType.java
[main] INFO o.o.codegen.AbstractGenerator - writing file /Users/jeff/tmp/src/docs/ActionType.md
[main] INFO o.o.codegen.AbstractGenerator - writing file /Users/jeff/tmp/src/src/main/java/org/openapitools/client/model/Entity.java
[main] INFO o.o.codegen.AbstractGenerator - writing file /Users/jeff/tmp/src/docs/Entity.md
[main] INFO o.o.codegen.AbstractGenerator - writing file /Users/jeff/tmp/src/src/main/java/org/openapitools/client/api/ActionApi.java
[main] INFO o.o.codegen.AbstractGenerator - writing file /Users/jeff/tmp/src/src/test/java/org/openapitools/client/api/ActionApiTest.java
[main] INFO o.o.codegen.AbstractGenerator - writing file /Users/jeff/tmp/src/docs/ActionApi.md
[main] WARN o.o.codegen.utils.URLPathUtils - 'host' not defined in the spec (2.0). Default to [http://localhost] for server URL [http://localhost/billing/2]
[main] INFO o.o.codegen.AbstractGenerator - writing file /Users/jeff/tmp/src/pom.xml
[main] INFO o.o.codegen.AbstractGenerator - writing file /Users/jeff/tmp/src/README.md
[main] INFO o.o.codegen.AbstractGenerator - writing file /Users/jeff/tmp/src/build.gradle
[main] INFO o.o.codegen.AbstractGenerator - writing file /Users/jeff/tmp/src/build.sbt
[main] INFO o.o.codegen.AbstractGenerator - writing file /Users/jeff/tmp/src/settings.gradle
[main] INFO o.o.codegen.AbstractGenerator - writing file /Users/jeff/tmp/src/gradle.properties
[main] INFO o.o.codegen.AbstractGenerator - writing file /Users/jeff/tmp/src/src/main/AndroidManifest.xml
[main] INFO o.o.codegen.AbstractGenerator - writing file /Users/jeff/tmp/src/.travis.yml
[main] INFO o.o.codegen.AbstractGenerator - writing file /Users/jeff/tmp/src/src/main/java/org/openapitools/client/ApiClient.java
[main] INFO o.o.codegen.AbstractGenerator - writing file /Users/jeff/tmp/src/src/main/java/org/openapitools/client/StringUtil.java
[main] INFO o.o.codegen.AbstractGenerator - writing file /Users/jeff/tmp/src/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java
[main] INFO o.o.codegen.AbstractGenerator - writing file /Users/jeff/tmp/src/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java
[main] INFO o.o.codegen.AbstractGenerator - writing file /Users/jeff/tmp/src/src/main/java/org/openapitools/client/auth/OAuth.java
[main] INFO o.o.codegen.AbstractGenerator - writing file /Users/jeff/tmp/src/src/main/java/org/openapitools/client/auth/OAuthFlow.java
[main] INFO o.o.codegen.AbstractGenerator - writing file /Users/jeff/tmp/src/gradlew
[main] INFO o.o.codegen.AbstractGenerator - writing file /Users/jeff/tmp/src/gradlew.bat
[main] INFO o.o.codegen.AbstractGenerator - writing file /Users/jeff/tmp/src/gradle/wrapper/gradle-wrapper.properties
[main] INFO o.o.codegen.DefaultGenerator - writing file /Users/jeff/tmp/src/gradle/wrapper/gradle-wrapper.jar
[main] INFO o.o.codegen.AbstractGenerator - writing file /Users/jeff/tmp/src/git_push.sh
[main] INFO o.o.codegen.AbstractGenerator - writing file /Users/jeff/tmp/src/.gitignore
[main] INFO o.o.codegen.AbstractGenerator - writing file /Users/jeff/tmp/src/src/main/java/org/openapitools/client/ApiException.java
[main] INFO o.o.codegen.AbstractGenerator - writing file /Users/jeff/tmp/src/src/main/java/org/openapitools/client/Configuration.java
[main] INFO o.o.codegen.AbstractGenerator - writing file /Users/jeff/tmp/src/src/main/java/org/openapitools/client/Pair.java
[main] INFO o.o.codegen.AbstractGenerator - writing file /Users/jeff/tmp/src/src/main/java/org/openapitools/client/auth/Authentication.java
[main] INFO o.o.codegen.AbstractGenerator - writing file /Users/jeff/tmp/src/src/main/java/org/openapitools/client/JSON.java
[main] INFO o.o.codegen.AbstractGenerator - writing file /Users/jeff/tmp/src/src/main/java/org/openapitools/client/ApiResponse.java
[main] INFO o.o.codegen.AbstractGenerator - writing file /Users/jeff/tmp/src/src/main/java/org/openapitools/client/RFC3339DateFormat.java
[main] INFO o.o.codegen.AbstractGenerator - writing file /Users/jeff/tmp/src/src/main/java/org/openapitools/client/CustomInstantDeserializer.java
[main] INFO o.o.codegen.AbstractGenerator - writing file /Users/jeff/tmp/src/.openapi-generator-ignore
[main] INFO o.o.codegen.AbstractGenerator - writing file /Users/jeff/tmp/src/.openapi-generator/VERSION
However, when I execute the same command with "--verbose", there seem to be some issues that still need to be resolved, though probably not related to the swagger-parser issue.
[main] INFO o.o.c.config.CodegenConfigurator -
VERBOSE MODE: ON. Additional debug options are injected
- [debugSwagger] prints the openapi specification as interpreted by the codegen
- [debugModels] prints models passed to the template engine
- [debugOperations] prints operations passed to the template engine
- [debugSupportingFiles] prints additional data passed to the template engine
[main] INFO o.o.codegen.DefaultGenerator - Please use system property 'debugOpenAPI' instead of 'debugSwagger'.
< open-api spec snipped>
[main] INFO o.o.codegen.DefaultCodegen - Skipped overwriting pom.xml as the file already exists in /Users/jeff/tmp/src//pom.xml
[main] INFO o.o.codegen.DefaultCodegen - Skipped overwriting README.md as the file already exists in /Users/jeff/tmp/src//README.md
[main] INFO o.o.codegen.DefaultCodegen - Skipped overwriting build.gradle as the file already exists in /Users/jeff/tmp/src//build.gradle
[main] INFO o.o.codegen.DefaultCodegen - Skipped overwriting build.sbt as the file already exists in /Users/jeff/tmp/src//build.sbt
[main] INFO o.o.codegen.DefaultCodegen - Skipped overwriting settings.gradle as the file already exists in /Users/jeff/tmp/src//settings.gradle
[main] INFO o.o.codegen.DefaultCodegen - Skipped overwriting gradle.properties as the file already exists in /Users/jeff/tmp/src//gradle.properties
[main] INFO o.o.codegen.DefaultCodegen - Skipped overwriting AndroidManifest.xml as the file already exists in /Users/jeff/tmp/src/src/main/AndroidManifest.xml
[main] WARN o.o.codegen.utils.URLPathUtils - 'host' not defined in the spec (2.0). Default to [http://localhost] for server URL [http://localhost/billing/2]
[main] WARN o.o.codegen.utils.URLPathUtils - 'host' not defined in the spec (2.0). Default to [http://localhost] for server URL [http://localhost/billing/2]
[main] INFO o.o.codegen.AbstractGenerator - writing file /Users/jeff/tmp/src/src/main/java/org/openapitools/client/model/Action.java
[main] INFO o.o.codegen.AbstractGenerator - writing file /Users/jeff/tmp/src/docs/Action.md
[main] INFO o.o.codegen.AbstractGenerator - writing file /Users/jeff/tmp/src/src/main/java/org/openapitools/client/model/ActionType.java
[main] INFO o.o.codegen.AbstractGenerator - writing file /Users/jeff/tmp/src/docs/ActionType.md
[main] INFO o.o.codegen.AbstractGenerator - writing file /Users/jeff/tmp/src/src/main/java/org/openapitools/client/model/Entity.j
[main] INFO o.o.codegen.AbstractGenerator - writing file /Users/jeff/tmp/src/docs/Entity.md
[main] INFO o.o.codegen.DefaultGenerator - ############ Model info ############
com.fasterxml.jackson.databind.JsonMappingException: Infinite recursion (StackOverflowError) (through reference chain: org.openapitools.codegen.CodegenModel["children"]->java.util.ArrayList[0]->org.openapitools.codegen.CodegenModel["parentModel"]->org.openapitools.codegen.CodegenModel["children"]->java.util.ArrayList[0]->org.openapitools.codegen.CodegenModel["parentModel"]->org.openapitools.codegen.CodegenModel["children"]->java.util.ArrayList[0]->org.openapitools.codegen.CodegenModel["parentModel"]->org.openapitools.codegen.CodegenModel["children"]->java.util.ArrayList[0]->org.openapitools.codegen.CodegenModel["parentModel"]->org.openapitools.codegen.CodegenModel["children"]->java.util.ArrayList[0]
...
<duplicate recursive errors messages snipped>
>org.openapitools.codegen.CodegenModel["children"])
at com.fasterxml.jackson.databind.ser.std.BeanSerializerBase.serializeFields(BeanSerializerBase.java:734)
at com.fasterxml.jackson.databind.ser.BeanSerializer.serialize(BeanSerializer.java:155)
at com.fasterxml.jackson.databind.ser.BeanPropertyWriter.serializeAsField(BeanPropertyWriter.java:727)
at com.fasterxml.jackson.databind.ser.std.BeanSerializerBase.serializeFields(BeanSerializerBase.java:719)
at com.fasterxml.jackson.databind.ser.BeanSerializer.serialize(BeanSerializer.java:155)
at com.fasterxml.jackson.databind.ser.impl.IndexedListSerializer.serializeContents(IndexedListSerializer.java:119)
at com.fasterxml.jackson.databind.ser.impl.IndexedListSerializer.serialize(IndexedListSerializer.java:79)
at com.fasterxml.jackson.databind.ser.impl.IndexedListSerializer.serialize(IndexedListSerializer.java:18)
at com.fasterxml.jackson.databind.ser.BeanPropertyWriter.serializeAsField(BeanPropertyWriter.java:727)
at com.fasterxml.jackson.databind.ser.std.BeanSerializerBase.serializeFields(BeanSerializerBase.java:719)
at com.fasterxml.jackson.databind.ser.BeanSerializer.serialize(BeanSerializer.java:155)
at com.fasterxml.jackson.databind.ser.BeanPropertyWriter.serializeAsField(BeanPropertyWriter.java:727)
at com.fasterxml.jackson.databind.ser.std.BeanSerializerBase.serializeFields(BeanSerializerBase.java:719) at com.fasterxml.jackson.databind.ser.BeanSerializer.serialize(BeanSerializer.java:155)
at com.fasterxml.jackson.databind.ser.impl.IndexedListSerializer.serializeContents(IndexedListSerializer.java:119)
at com.fasterxml.jackson.databind.ser.impl.IndexedListSerializer.serialize(IndexedListSerializer.java:79)
at com.fasterxml.jackson.databind.ser.impl.IndexedListSerializer.serialize(IndexedListSerializer.java:18)
at com.fasterxml.jackson.databind.ser.BeanPropertyWriter.serializeAsField(BeanPropertyWriter.java:727)
at com.fasterxml.jackson.databind.ser.std.BeanSerializerBase.serializeFields(BeanSerializerBase.java:719)
<snipped duplicate stack trace lines>
at com.fasterxml.jackson.databind.ser.BeanSerializer.serialize(BeanSerializer.java:155)
at com.fasterxml.jackson.databind.ser.impl.IndexedListSerializer.serializeContents(IndexedListSerializer.java:119)
at com.fasterxml.jackson.databind.ser.impl.IndexedListSerializer.serialize(IndexedListSerializer.java:79)
Caused by: java.lang.StackOverflowError
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
at java.net.URLClassLoader$1.run(URLClassLoader.java:368)
at java.net.URLClassLoader$1.run(URLClassLoader.java:362)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:361)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:338)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at com.fasterxml.jackson.databind.ser.std.BeanSerializerBase.serializeFields(BeanSerializerBase.java:737)
... 1011 more
Are these errors an issue? Should we create a separate issue for this?
Can't reproduce the error with verbose on latest master :
"C:\Program Files\Java\jdk1.8.0_201\bin\java.exe" "-javaagent:C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2018.3.3\lib\idea_rt.jar=64973:C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2018.3.3\bin" -Dfile.encoding=UTF-8 -classpath "C:\Program Files\Java\jdk1.8.0_201\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.8.0_201\jre\lib\deploy.jar;C:\Program Files\Java\jdk1.8.0_201\jre\lib\ext\access-bridge-64.jar;C:\Program Files\Java\jdk1.8.0_201\jre\lib\ext\cldrdata.jar;C:\Program Files\Java\jdk1.8.0_201\jre\lib\ext\dnsns.jar;C:\Program Files\Java\jdk1.8.0_201\jre\lib\ext\jaccess.jar;C:\Program Files\Java\jdk1.8.0_201\jre\lib\ext\jfxrt.jar;C:\Program Files\Java\jdk1.8.0_201\jre\lib\ext\localedata.jar;C:\Program Files\Java\jdk1.8.0_201\jre\lib\ext\nashorn.jar;C:\Program Files\Java\jdk1.8.0_201\jre\lib\ext\sunec.jar;C:\Program Files\Java\jdk1.8.0_201\jre\lib\ext\sunjce_provider.jar;C:\Program Files\Java\jdk1.8.0_201\jre\lib\ext\sunmscapi.jar;C:\Program Files\Java\jdk1.8.0_201\jre\lib\ext\sunpkcs11.jar;C:\Program Files\Java\jdk1.8.0_201\jre\lib\ext\zipfs.jar;C:\Program Files\Java\jdk1.8.0_201\jre\lib\javaws.jar;C:\Program Files\Java\jdk1.8.0_201\jre\lib\jce.jar;C:\Program Files\Java\jdk1.8.0_201\jre\lib\jfr.jar;C:\Program Files\Java\jdk1.8.0_201\jre\lib\jfxswt.jar;C:\Program Files\Java\jdk1.8.0_201\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.8.0_201\jre\lib\management-agent.jar;C:\Program Files\Java\jdk1.8.0_201\jre\lib\plugin.jar;C:\Program Files\Java\jdk1.8.0_201\jre\lib\resources.jar;C:\Program Files\Java\jdk1.8.0_201\jre\lib\rt.jar;C:\Users\xxxxxx\github\openapi-generator\modules\openapi-generator-cli\target\classes;C:\Users\xxxxxx\github\openapi-generator\modules\openapi-generator\target\classes;C:\Users\xxxxxx\.m2\repository\io\swagger\core\v3\swagger-core\2.0.7\swagger-core-2.0.7.jar;C:\Users\xxxxxx\.m2\repository\javax\xml\bind\jaxb-api\2.3.0\jaxb-api-2.3.0.jar;C:\Users\xxxxxx\.m2\repository\com\fasterxml\jackson\core\jackson-annotations\2.9.8\jackson-annotations-2.9.8.jar;C:\Users\xxxxxx\.m2\repository\com\fasterxml\jackson\core\jackson-databind\2.9.8\jackson-databind-2.9.8.jar;C:\Users\xxxxxx\.m2\repository\com\fasterxml\jackson\dataformat\jackson-dataformat-yaml\2.9.8\jackson-dataformat-yaml-2.9.8.jar;C:\Users\xxxxxx\.m2\repository\org\yaml\snakeyaml\1.23\snakeyaml-1.23.jar;C:\Users\xxxxxx\.m2\repository\io\swagger\core\v3\swagger-annotations\2.0.7\swagger-annotations-2.0.7.jar;C:\Users\xxxxxx\.m2\repository\io\swagger\core\v3\swagger-models\2.0.7\swagger-models-2.0.7.jar;C:\Users\xxxxxx\.m2\repository\javax\validation\validation-api\1.1.0.Final\validation-api-1.1.0.Final.jar;C:\Users\xxxxxx\.m2\repository\org\openapitools\swagger\parser\swagger-parser\2.0.11-OpenAPITools.org-1\swagger-parser-2.0.11-OpenAPITools.org-1.jar;C:\Users\xxxxxx\.m2\repository\org\openapitools\swagger\parser\swagger-parser-v2-converter\2.0.11-OpenAPITools.org-1\swagger-parser-v2-converter-2.0.11-OpenAPITools.org-1.jar;C:\Users\xxxxxx\.m2\repository\io\swagger\swagger-parser\1.0.44\swagger-parser-1.0.44.jar;C:\Users\xxxxxx\.m2\repository\io\swagger\swagger-core\1.5.22\swagger-core-1.5.22.jar;C:\Users\xxxxxx\.m2\repository\io\swagger\swagger-models\1.5.22\swagger-models-1.5.22.jar;C:\Users\xxxxxx\.m2\repository\io\swagger\swagger-annotations\1.5.22\swagger-annotations-1.5.22.jar;C:\Users\xxxxxx\.m2\repository\io\swagger\swagger-compat-spec-parser\1.0.44\swagger-compat-spec-parser-1.0.44.jar;C:\Users\xxxxxx\.m2\repository\com\github\java-json-tools\json-schema-validator\2.2.8\json-schema-validator-2.2.8.jar;C:\Users\xxxxxx\.m2\repository\com\github\java-json-tools\json-schema-core\1.2.8\json-schema-core-1.2.8.jar;C:\Users\xxxxxx\.m2\repository\org\mozilla\rhino\1.7R4\rhino-1.7R4.jar;C:\Users\xxxxxx\.m2\repository\com\github\fge\uri-template\0.9\uri-template-0.9.jar;C:\Users\xxxxxx\.m2\repository\javax\mail\mailapi\1.4.3\mailapi-1.4.3.jar;C:\Users\xxxxxx\.m2\repository\javax\activation\activation\1.1\activation-1.1.jar;C:\Users\xxxxxx\.m2\repository\com\googlecode\libphonenumber\libphonenumber\8.0.0\libphonenumber-8.0.0.jar;C:\Users\xxxxxx\.m2\repository\net\sf\jopt-simple\jopt-simple\5.0.3\jopt-simple-5.0.3.jar;C:\Users\xxxxxx\.m2\repository\com\github\fge\json-patch\1.6\json-patch-1.6.jar;C:\Users\xxxxxx\.m2\repository\com\github\fge\jackson-coreutils\1.6\jackson-coreutils-1.6.jar;C:\Users\xxxxxx\.m2\repository\com\github\fge\msg-simple\1.1\msg-simple-1.1.jar;C:\Users\xxxxxx\.m2\repository\com\github\fge\btf\1.2\btf-1.2.jar;C:\Users\xxxxxx\.m2\repository\org\apache\httpcomponents\httpclient\4.5.2\httpclient-4.5.2.jar;C:\Users\xxxxxx\.m2\repository\org\apache\httpcomponents\httpcore\4.4.4\httpcore-4.4.4.jar;C:\Users\xxxxxx\.m2\repository\commons-logging\commons-logging\1.2\commons-logging-1.2.jar;C:\Users\xxxxxx\.m2\repository\commons-codec\commons-codec\1.9\commons-codec-1.9.jar;C:\Users\xxxxxx\.m2\repository\org\openapitools\swagger\parser\swagger-parser-core\2.0.11-OpenAPITools.org-1\swagger-parser-core-2.0.11-OpenAPITools.org-1.jar;C:\Users\xxxxxx\.m2\repository\org\openapitools\swagger\parser\swagger-parser-v3\2.0.11-OpenAPITools.org-1\swagger-parser-v3-2.0.11-OpenAPITools.org-1.jar;C:\Users\xxxxxx\.m2\repository\com\samskivert\jmustache\1.14\jmustache-1.14.jar;C:\Users\xxxxxx\.m2\repository\commons-io\commons-io\2.4\commons-io-2.4.jar;C:\Users\xxxxxx\.m2\repository\org\slf4j\slf4j-ext\1.7.12\slf4j-ext-1.7.12.jar;C:\Users\xxxxxx\.m2\repository\ch\qos\cal10n\cal10n-api\0.8.1\cal10n-api-0.8.1.jar;C:\Users\xxxxxx\.m2\repository\org\slf4j\slf4j-api\1.7.12\slf4j-api-1.7.12.jar;C:\Users\xxxxxx\.m2\repository\org\apache\commons\commons-lang3\3.4\commons-lang3-3.4.jar;C:\Users\xxxxxx\.m2\repository\commons-cli\commons-cli\1.2\commons-cli-1.2.jar;C:\Users\xxxxxx\.m2\repository\com\google\guava\guava\26.0-jre\guava-26.0-jre.jar;C:\Users\xxxxxx\.m2\repository\org\checkerframework\checker-qual\2.5.2\checker-qual-2.5.2.jar;C:\Users\xxxxxx\.m2\repository\com\google\errorprone\error_prone_annotations\2.1.3\error_prone_annotations-2.1.3.jar;C:\Users\xxxxxx\.m2\repository\com\google\j2objc\j2objc-annotations\1.1\j2objc-annotations-1.1.jar;C:\Users\xxxxxx\.m2\repository\org\codehaus\mojo\animal-sniffer-annotations\1.14\animal-sniffer-annotations-1.14.jar;C:\Users\xxxxxx\.m2\repository\com\atlassian\commonmark\commonmark\0.11.0\commonmark-0.11.0.jar;C:\Users\xxxxxx\.m2\repository\com\github\mifmif\generex\1.0.2\generex-1.0.2.jar;C:\Users\xxxxxx\.m2\repository\dk\brics\automaton\automaton\1.11-8\automaton-1.11-8.jar;C:\Users\xxxxxx\.m2\repository\com\fasterxml\jackson\datatype\jackson-datatype-jsr310\2.9.5\jackson-datatype-jsr310-2.9.5.jar;C:\Users\xxxxxx\.m2\repository\com\fasterxml\jackson\core\jackson-core\2.9.5\jackson-core-2.9.5.jar;C:\Users\xxxxxx\.m2\repository\com\fasterxml\jackson\datatype\jackson-datatype-joda\2.9.5\jackson-datatype-joda-2.9.5.jar;C:\Users\xxxxxx\.m2\repository\joda-time\joda-time\2.7\joda-time-2.7.jar;C:\Users\xxxxxx\.m2\repository\com\github\joschi\jackson\jackson-datatype-threetenbp\2.6.4\jackson-datatype-threetenbp-2.6.4.jar;C:\Users\xxxxxx\.m2\repository\org\threeten\threetenbp\1.3.1\threetenbp-1.3.1.jar;C:\Users\xxxxxx\.m2\repository\io\airlift\airline\0.8\airline-0.8.jar;C:\Users\xxxxxx\.m2\repository\javax\inject\javax.inject\1\javax.inject-1.jar;C:\Users\xxxxxx\.m2\repository\com\google\code\findbugs\jsr305\3.0.2\jsr305-3.0.2.jar;C:\Users\xxxxxx\.m2\repository\com\googlecode\lambdaj\lambdaj\2.3.3\lambdaj-2.3.3.jar;C:\Users\xxxxxx\.m2\repository\org\hamcrest\hamcrest-all\1.1\hamcrest-all-1.1.jar;C:\Users\xxxxxx\.m2\repository\org\objenesis\objenesis\1.2\objenesis-1.2.jar;C:\Users\xxxxxx\.m2\repository\cglib\cglib-nodep\2.2\cglib-nodep-2.2.jar;C:\Users\xxxxxx\.m2\repository\ch\qos\logback\logback-classic\1.2.3\logback-classic-1.2.3.jar;C:\Users\xxxxxx\.m2\repository\ch\qos\logback\logback-core\1.2.3\logback-core-1.2.3.jar" org.openapitools.codegen.OpenAPIGenerator generate -i C:\Users\xxxxxx\github\swagger-issue-320.json -g java --library jersey2 -o C:\Users\xxxxxx\github\openapi-generator\out\tmpissue320 --verbose
[main] INFO o.o.c.config.CodegenConfigurator -
VERBOSE MODE: ON. Additional debug options are injected
- [debugOpenAPI] prints the OpenAPI specification as interpreted by the codegen
- [debugModels] prints models passed to the template engine
- [debugOperations] prints operations passed to the template engine
- [debugSupportingFiles] prints additional data passed to the template engine
{
"openapi" : "3.0.1",
"info" : {
"title" : "TRACT Billing API",
"version" : "2"
},
"servers" : [ {
"url" : "///billing/2"
} ],
"paths" : {
"/actions" : {
"get" : {
"tags" : [ "Action" ],
"summary" : "Get actions",
"operationId" : "queryActions",
"parameters" : [ {
"name" : "id",
"in" : "query",
"description" : "The internal ID of the object.",
"schema" : {
"type" : "string"
}
} ],
"responses" : {
"200" : {
"description" : "Success",
"headers" : {
"X-total-pages" : {
"description" : "The total number of pages that can be requested. Used to drive paging requests.",
"schema" : {
"type" : "integer",
"format" : "int64"
}
},
"ETag" : {
"description" : "The standard ETag HTTP header.",
"schema" : {
"type" : "string"
}
},
"X-total-count" : {
"description" : "The total results for the particular query. Used to drive paging requests.",
"schema" : {
"type" : "integer",
"format" : "int64"
}
},
"X-element-count" : {
"description" : "The number of elements returned in the current request. Used to drive paging requests.",
"schema" : {
"type" : "integer",
"format" : "int64"
}
}
},
"content" : {
"application/json" : {
"schema" : {
"type" : "array",
"items" : {
"$ref" : "#/components/schemas/Action"
}
}
}
}
},
"400" : {
"description" : "Bad request.",
"content" : { }
},
"default" : {
"description" : "Unknown error.",
"content" : { }
}
},
"x-swagger-router-controller" : "ActionsController"
}
}
},
"components" : {
"schemas" : {
"Entity" : {
"title" : "Entity",
"type" : "object",
"properties" : {
"id" : {
"type" : "string",
"description" : "(unique_key) The ID of the entity.",
"readOnly" : true,
"example" : "1438752"
}
},
"description" : "A base object for all API entities."
},
"Action" : {
"title" : "Action",
"allOf" : [ {
"$ref" : "#/components/schemas/Entity"
}, {
"required" : [ "action_type" ],
"type" : "object",
"properties" : {
"name" : {
"type" : "string",
"description" : "The name of the action.",
"readOnly" : true
},
"enabled" : {
"type" : "boolean",
"description" : "Specifies whether the action is enabled.",
"readOnly" : true
},
"friendly_name" : {
"type" : "string",
"description" : "The optional additional name of the action.",
"readOnly" : true
},
"supports_approval" : {
"type" : "boolean",
"description" : "Specifies whether the action supports approval.",
"readOnly" : true
},
"action_type" : {
"$ref" : "#/components/schemas/ActionType"
}
},
"discriminator" : {
"propertyName" : "action_type"
}
} ]
},
"ActionType" : {
"title" : "ActionType",
"type" : "string",
"description" : "Indicates the type of action that occurs.",
"enum" : [ "agreement", "agreement-service", "bill-cycle-run", "bill-batch-run", "billing-account", "counter", "credit-adjustment", "disbursement", "invoice", "payment", "product-sale", "remote-prepaid-register", "sales-order", "service", "service-cfv", "system-notification", "usage-rule" ],
"x-swagger-router-model" : "ActionTypeDto"
}
}
}
}
[main] INFO o.o.c.languages.AbstractJavaCodegen - Environment variable JAVA_POST_PROCESS_FILE not defined so the Java code may not be properly formatted. To define it, try 'export JAVA_POST_PROCESS_FILE="/usr/local/bin/clang-format -i"' (Linux/Mac)
[main] INFO o.o.c.languages.AbstractJavaCodegen - NOTE: To enable file post-processing, 'enablePostProcessFile' must be set to `true` (--enable-post-process-file for CLI).
[main] INFO o.o.codegen.DefaultCodegen - Skipped overwriting pom.xml as the file already exists in C:\Users\xxxxxx\github\openapi-generator\out\tmpissue320\\pom.xml
[main] INFO o.o.codegen.DefaultCodegen - Skipped overwriting README.md as the file already exists in C:\Users\xxxxxx\github\openapi-generator\out\tmpissue320\\README.md
[main] INFO o.o.codegen.DefaultCodegen - Skipped overwriting build.gradle as the file already exists in C:\Users\xxxxxx\github\openapi-generator\out\tmpissue320\\build.gradle
[main] INFO o.o.codegen.DefaultCodegen - Skipped overwriting build.sbt as the file already exists in C:\Users\xxxxxx\github\openapi-generator\out\tmpissue320\\build.sbt
[main] INFO o.o.codegen.DefaultCodegen - Skipped overwriting settings.gradle as the file already exists in C:\Users\xxxxxx\github\openapi-generator\out\tmpissue320\\settings.gradle
[main] INFO o.o.codegen.DefaultCodegen - Skipped overwriting gradle.properties as the file already exists in C:\Users\xxxxxx\github\openapi-generator\out\tmpissue320\\gradle.properties
[main] INFO o.o.codegen.DefaultCodegen - Skipped overwriting AndroidManifest.xml as the file already exists in C:\Users\xxxxxx\github\openapi-generator\out\tmpissue320\src/main\AndroidManifest.xml
[main] INFO o.o.c.languages.AbstractJavaCodegen - Processing operation queryActions
[main] WARN o.o.codegen.utils.URLPathUtils - 'scheme' not defined in the spec (2.0). Default to [http] for server URL [http:///billing/2]
[main] WARN o.o.codegen.utils.URLPathUtils - 'scheme' not defined in the spec (2.0). Default to [http] for server URL [http:///billing/2]
[main] WARN o.o.codegen.utils.URLPathUtils - 'scheme' not defined in the spec (2.0). Default to [http] for server URL [http://http:/billing/2]
[main] INFO o.o.codegen.AbstractGenerator - writing file C:\Users\xxxxxx\github\openapi-generator\out\tmpissue320\src\main\java\org\openapitools\client\model\Action.java
[main] INFO o.o.codegen.DefaultGenerator - File exists. Skipped overwriting C:\Users\xxxxxx\github\openapi-generator\out\tmpissue320\src\test\java\org\openapitools\client\model\ActionTest.java
[main] INFO o.o.codegen.AbstractGenerator - writing file C:\Users\xxxxxx\github\openapi-generator\out\tmpissue320\docs\\Action.md
[main] INFO o.o.codegen.AbstractGenerator - writing file C:\Users\xxxxxx\github\openapi-generator\out\tmpissue320\src\main\java\org\openapitools\client\model\ActionType.java
[main] INFO o.o.codegen.DefaultGenerator - File exists. Skipped overwriting C:\Users\xxxxxx\github\openapi-generator\out\tmpissue320\src\test\java\org\openapitools\client\model\ActionTypeTest.java
[main] INFO o.o.codegen.AbstractGenerator - writing file C:\Users\xxxxxx\github\openapi-generator\out\tmpissue320\docs\\ActionType.md
[main] INFO o.o.codegen.AbstractGenerator - writing file C:\Users\xxxxxx\github\openapi-generator\out\tmpissue320\src\main\java\org\openapitools\client\model\Entity.java
[main] INFO o.o.codegen.DefaultGenerator - File exists. Skipped overwriting C:\Users\xxxxxx\github\openapi-generator\out\tmpissue320\src\test\java\org\openapitools\client\model\EntityTest.java
[main] INFO o.o.codegen.AbstractGenerator - writing file C:\Users\xxxxxx\github\openapi-generator\out\tmpissue320\docs\\Entity.md
[main] INFO o.o.codegen.DefaultGenerator - ############ Model info ############
[ {
"importPath" : "org.openapitools.client.model.Action",
"model" : {
"interfaces" : [ "Entity" ],
"anyOf" : [ ],
"oneOf" : [ ],
"allOf" : [ "Entity" ],
"name" : "Action",
"classname" : "Action",
"title" : "Action",
"classVarName" : "action",
"modelJson" : "{\r\n \"title\" : \"Action\",\r\n \"allOf\" : [ {\r\n \"$ref\" : \"#/components/schemas/Entity\"\r\n }, {\r\n \"required\" : [ \"action_type\" ],\r\n \"type\" : \"object\",\r\n \"properties\" : {\r\n \"name\" : {\r\n \"type\" : \"string\",\r\n \"description\" : \"The name of the action.\",\r\n \"readOnly\" : true\r\n },\r\n \"enabled\" : {\r\n \"type\" : \"boolean\",\r\n \"description\" : \"Specifies whether the action is enabled.\",\r\n \"readOnly\" : true\r\n },\r\n \"friendly_name\" : {\r\n \"type\" : \"string\",\r\n \"description\" : \"The optional additional name of the action.\",\r\n \"readOnly\" : true\r\n },\r\n \"supports_approval\" : {\r\n \"type\" : \"boolean\",\r\n \"description\" : \"Specifies whether the action supports approval.\",\r\n \"readOnly\" : true\r\n },\r\n \"action_type\" : {\r\n \"$ref\" : \"#/components/schemas/ActionType\"\r\n }\r\n },\r\n \"discriminator\" : {\r\n \"propertyName\" : \"action_type\"\r\n }\r\n } ]\r\n}",
"classFilename" : "Action",
"isAlias" : false,
"isString" : false,
"isInteger" : false,
"vars" : [ {
"openApiType" : "string",
"baseName" : "id",
"getter" : "getId",
"setter" : "setId",
"description" : "(unique_key) The ID of the entity.",
"dataType" : "String",
"datatypeWithEnum" : "String",
"name" : "id",
"defaultValueWithParam" : " = data.id;",
"baseType" : "String",
"unescapedDescription" : "(unique_key) The ID of the entity.",
"example" : "1438752",
"jsonSchema" : "{\r\n \"type\" : \"string\",\r\n \"description\" : \"(unique_key) The ID of the entity.\",\r\n \"readOnly\" : true,\r\n \"example\" : \"1438752\"\r\n}",
"exclusiveMinimum" : false,
"exclusiveMaximum" : false,
"hasMore" : true,
"required" : false,
"secondaryParam" : false,
"hasMoreNonReadOnly" : false,
"isPrimitiveType" : true,
"isModel" : false,
"isContainer" : false,
"isString" : true,
"isNumeric" : false,
"isInteger" : false,
"isLong" : false,
"isNumber" : false,
"isFloat" : false,
"isDouble" : false,
"isByteArray" : false,
"isBinary" : false,
"isFile" : false,
"isBoolean" : false,
"isDate" : false,
"isDateTime" : false,
"isUuid" : false,
"isEmail" : false,
"isFreeFormObject" : false,
"isListContainer" : false,
"isMapContainer" : false,
"isEnum" : false,
"isReadOnly" : true,
"isWriteOnly" : false,
"isNullable" : false,
"isSelfReference" : false,
"vendorExtensions" : { },
"hasValidation" : false,
"isInherited" : false,
"nameInCamelCase" : "Id",
"nameInSnakeCase" : "ID",
"isXmlAttribute" : false,
"isXmlWrapped" : false,
"iexclusiveMaximum" : false,
"datatype" : "String"
}, {
"openApiType" : "string",
"baseName" : "name",
"getter" : "getName",
"setter" : "setName",
"description" : "The name of the action.",
"dataType" : "String",
"datatypeWithEnum" : "String",
"name" : "name",
"defaultValueWithParam" : " = data.name;",
"baseType" : "String",
"unescapedDescription" : "The name of the action.",
"jsonSchema" : "{\r\n \"type\" : \"string\",\r\n \"description\" : \"The name of the action.\",\r\n \"readOnly\" : true\r\n}",
"exclusiveMinimum" : false,
"exclusiveMaximum" : false,
"hasMore" : true,
"required" : false,
"secondaryParam" : false,
"hasMoreNonReadOnly" : false,
"isPrimitiveType" : true,
"isModel" : false,
"isContainer" : false,
"isString" : true,
"isNumeric" : false,
"isInteger" : false,
"isLong" : false,
"isNumber" : false,
"isFloat" : false,
"isDouble" : false,
"isByteArray" : false,
"isBinary" : false,
"isFile" : false,
"isBoolean" : false,
"isDate" : false,
"isDateTime" : false,
"isUuid" : false,
"isEmail" : false,
"isFreeFormObject" : false,
"isListContainer" : false,
"isMapContainer" : false,
"isEnum" : false,
"isReadOnly" : true,
"isWriteOnly" : false,
"isNullable" : false,
"isSelfReference" : false,
"vendorExtensions" : { },
"hasValidation" : false,
"isInherited" : false,
"nameInCamelCase" : "Name",
"nameInSnakeCase" : "NAME",
"isXmlAttribute" : false,
"isXmlWrapped" : false,
"iexclusiveMaximum" : false,
"datatype" : "String"
}, {
"openApiType" : "boolean",
"baseName" : "enabled",
"getter" : "getEnabled",
"setter" : "setEnabled",
"description" : "Specifies whether the action is enabled.",
"dataType" : "Boolean",
"datatypeWithEnum" : "Boolean",
"name" : "enabled",
"defaultValueWithParam" : " = data.enabled;",
"baseType" : "Boolean",
"unescapedDescription" : "Specifies whether the action is enabled.",
"jsonSchema" : "{\r\n \"type\" : \"boolean\",\r\n \"description\" : \"Specifies whether the action is enabled.\",\r\n \"readOnly\" : true\r\n}",
"exclusiveMinimum" : false,
"exclusiveMaximum" : false,
"hasMore" : true,
"required" : false,
"secondaryParam" : false,
"hasMoreNonReadOnly" : false,
"isPrimitiveType" : true,
"isModel" : false,
"isContainer" : false,
"isString" : false,
"isNumeric" : false,
"isInteger" : false,
"isLong" : false,
"isNumber" : false,
"isFloat" : false,
"isDouble" : false,
"isByteArray" : false,
"isBinary" : false,
"isFile" : false,
"isBoolean" : true,
"isDate" : false,
"isDateTime" : false,
"isUuid" : false,
"isEmail" : false,
"isFreeFormObject" : false,
"isListContainer" : false,
"isMapContainer" : false,
"isEnum" : false,
"isReadOnly" : true,
"isWriteOnly" : false,
"isNullable" : false,
"isSelfReference" : false,
"vendorExtensions" : { },
"hasValidation" : false,
"isInherited" : false,
"nameInCamelCase" : "Enabled",
"nameInSnakeCase" : "ENABLED",
"isXmlAttribute" : false,
"isXmlWrapped" : false,
"iexclusiveMaximum" : false,
"datatype" : "Boolean"
}, {
"openApiType" : "string",
"baseName" : "friendly_name",
"getter" : "getFriendlyName",
"setter" : "setFriendlyName",
"description" : "The optional additional name of the action.",
"dataType" : "String",
"datatypeWithEnum" : "String",
"name" : "friendlyName",
"defaultValueWithParam" : " = data.friendly_name;",
"baseType" : "String",
"unescapedDescription" : "The optional additional name of the action.",
"jsonSchema" : "{\r\n \"type\" : \"string\",\r\n \"description\" : \"The optional additional name of the action.\",\r\n \"readOnly\" : true\r\n}",
"exclusiveMinimum" : false,
"exclusiveMaximum" : false,
"hasMore" : true,
"required" : false,
"secondaryParam" : false,
"hasMoreNonReadOnly" : false,
"isPrimitiveType" : true,
"isModel" : false,
"isContainer" : false,
"isString" : true,
"isNumeric" : false,
"isInteger" : false,
"isLong" : false,
"isNumber" : false,
"isFloat" : false,
"isDouble" : false,
"isByteArray" : false,
"isBinary" : false,
"isFile" : false,
"isBoolean" : false,
"isDate" : false,
"isDateTime" : false,
"isUuid" : false,
"isEmail" : false,
"isFreeFormObject" : false,
"isListContainer" : false,
"isMapContainer" : false,
"isEnum" : false,
"isReadOnly" : true,
"isWriteOnly" : false,
"isNullable" : false,
"isSelfReference" : false,
"vendorExtensions" : { },
"hasValidation" : false,
"isInherited" : false,
"nameInCamelCase" : "FriendlyName",
"nameInSnakeCase" : "FRIENDLY_NAME",
"isXmlAttribute" : false,
"isXmlWrapped" : false,
"iexclusiveMaximum" : false,
"datatype" : "String"
}, {
"openApiType" : "boolean",
"baseName" : "supports_approval",
"getter" : "getSupportsApproval",
"setter" : "setSupportsApproval",
"description" : "Specifies whether the action supports approval.",
"dataType" : "Boolean",
"datatypeWithEnum" : "Boolean",
"name" : "supportsApproval",
"defaultValueWithParam" : " = data.supports_approval;",
"baseType" : "Boolean",
"unescapedDescription" : "Specifies whether the action supports approval.",
"jsonSchema" : "{\r\n \"type\" : \"boolean\",\r\n \"description\" : \"Specifies whether the action supports approval.\",\r\n \"readOnly\" : true\r\n}",
"exclusiveMinimum" : false,
"exclusiveMaximum" : false,
"hasMore" : true,
"required" : false,
"secondaryParam" : false,
"hasMoreNonReadOnly" : false,
"isPrimitiveType" : true,
"isModel" : false,
"isContainer" : false,
"isString" : false,
"isNumeric" : false,
"isInteger" : false,
"isLong" : false,
"isNumber" : false,
"isFloat" : false,
"isDouble" : false,
"isByteArray" : false,
"isBinary" : false,
"isFile" : false,
"isBoolean" : true,
"isDate" : false,
"isDateTime" : false,
"isUuid" : false,
"isEmail" : false,
"isFreeFormObject" : false,
"isListContainer" : false,
"isMapContainer" : false,
"isEnum" : false,
"isReadOnly" : true,
"isWriteOnly" : false,
"isNullable" : false,
"isSelfReference" : false,
"vendorExtensions" : { },
"hasValidation" : false,
"isInherited" : false,
"nameInCamelCase" : "SupportsApproval",
"nameInSnakeCase" : "SUPPORTS_APPROVAL",
"isXmlAttribute" : false,
"isXmlWrapped" : false,
"iexclusiveMaximum" : false,
"datatype" : "Boolean"
}, {
"openApiType" : "ActionType",
"baseName" : "action_type",
"complexType" : "ActionType",
"getter" : "getActionType",
"setter" : "setActionType",
"dataType" : "ActionType",
"datatypeWithEnum" : "ActionType",
"name" : "actionType",
"defaultValueWithParam" : " = data.action_type;",
"baseType" : "ActionType",
"jsonSchema" : "{\r\n \"$ref\" : \"#/components/schemas/ActionType\"\r\n}",
"exclusiveMinimum" : false,
"exclusiveMaximum" : false,
"hasMore" : false,
"required" : true,
"secondaryParam" : false,
"hasMoreNonReadOnly" : false,
"isPrimitiveType" : false,
"isModel" : true,
"isContainer" : false,
"isString" : false,
"isNumeric" : false,
"isInteger" : false,
"isLong" : false,
"isNumber" : false,
"isFloat" : false,
"isDouble" : false,
"isByteArray" : false,
"isBinary" : false,
"isFile" : false,
"isBoolean" : false,
"isDate" : false,
"isDateTime" : false,
"isUuid" : false,
"isEmail" : false,
"isFreeFormObject" : false,
"isListContainer" : false,
"isMapContainer" : false,
"isEnum" : false,
"isReadOnly" : false,
"isWriteOnly" : false,
"isNullable" : false,
"isSelfReference" : false,
"allowableValues" : {
"enumVars" : [ {
"name" : "AGREEMENT",
"isString" : true,
"value" : "\"agreement\""
}, {
"name" : "AGREEMENT_SERVICE",
"isString" : true,
"value" : "\"agreement-service\""
}, {
"name" : "BILL_CYCLE_RUN",
"isString" : true,
"value" : "\"bill-cycle-run\""
}, {
"name" : "BILL_BATCH_RUN",
"isString" : true,
"value" : "\"bill-batch-run\""
}, {
"name" : "BILLING_ACCOUNT",
"isString" : true,
"value" : "\"billing-account\""
}, {
"name" : "COUNTER",
"isString" : true,
"value" : "\"counter\""
}, {
"name" : "CREDIT_ADJUSTMENT",
"isString" : true,
"value" : "\"credit-adjustment\""
}, {
"name" : "DISBURSEMENT",
"isString" : true,
"value" : "\"disbursement\""
}, {
"name" : "INVOICE",
"isString" : true,
"value" : "\"invoice\""
}, {
"name" : "PAYMENT",
"isString" : true,
"value" : "\"payment\""
}, {
"name" : "PRODUCT_SALE",
"isString" : true,
"value" : "\"product-sale\""
}, {
"name" : "REMOTE_PREPAID_REGISTER",
"isString" : true,
"value" : "\"remote-prepaid-register\""
}, {
"name" : "SALES_ORDER",
"isString" : true,
"value" : "\"sales-order\""
}, {
"name" : "SERVICE",
"isString" : true,
"value" : "\"service\""
}, {
"name" : "SERVICE_CFV",
"isString" : true,
"value" : "\"service-cfv\""
}, {
"name" : "SYSTEM_NOTIFICATION",
"isString" : true,
"value" : "\"system-notification\""
}, {
"name" : "USAGE_RULE",
"isString" : true,
"value" : "\"usage-rule\""
} ],
"values" : [ "agreement", "agreement-service", "bill-cycle-run", "bill-batch-run", "billing-account", "counter", "credit-adjustment", "disbursement", "invoice", "payment", "product-sale", "remote-prepaid-register", "sales-order", "service", "service-cfv", "system-notification", "usage-rule" ]
},
"vendorExtensions" : { },
"hasValidation" : false,
"isInherited" : false,
"nameInCamelCase" : "ActionType",
"nameInSnakeCase" : "ACTION_TYPE",
"isXmlAttribute" : false,
"isXmlWrapped" : false,
"iexclusiveMaximum" : false,
"datatype" : "ActionType"
} ],
"allVars" : [ {
"openApiType" : "string",
"baseName" : "name",
"getter" : "getName",
"setter" : "setName",
"description" : "The name of the action.",
"dataType" : "String",
"datatypeWithEnum" : "String",
"name" : "name",
"defaultValueWithParam" : " = data.name;",
"baseType" : "String",
"unescapedDescription" : "The name of the action.",
"jsonSchema" : "{\r\n \"type\" : \"string\",\r\n \"description\" : \"The name of the action.\",\r\n \"readOnly\" : true\r\n}",
"exclusiveMinimum" : false,
"exclusiveMaximum" : false,
"hasMore" : true,
"required" : false,
"secondaryParam" : false,
"hasMoreNonReadOnly" : false,
"isPrimitiveType" : true,
"isModel" : false,
"isContainer" : false,
"isString" : true,
"isNumeric" : false,
"isInteger" : false,
"isLong" : false,
"isNumber" : false,
"isFloat" : false,
"isDouble" : false,
"isByteArray" : false,
"isBinary" : false,
"isFile" : false,
"isBoolean" : false,
"isDate" : false,
"isDateTime" : false,
"isUuid" : false,
"isEmail" : false,
"isFreeFormObject" : false,
"isListContainer" : false,
"isMapContainer" : false,
"isEnum" : false,
"isReadOnly" : true,
"isWriteOnly" : false,
"isNullable" : false,
"isSelfReference" : false,
"vendorExtensions" : { },
"hasValidation" : false,
"isInherited" : false,
"nameInCamelCase" : "Name",
"nameInSnakeCase" : "NAME",
"isXmlAttribute" : false,
"isXmlWrapped" : false,
"iexclusiveMaximum" : false,
"datatype" : "String"
}, {
"openApiType" : "boolean",
"baseName" : "enabled",
"getter" : "getEnabled",
"setter" : "setEnabled",
"description" : "Specifies whether the action is enabled.",
"dataType" : "Boolean",
"datatypeWithEnum" : "Boolean",
"name" : "enabled",
"defaultValueWithParam" : " = data.enabled;",
"baseType" : "Boolean",
"unescapedDescription" : "Specifies whether the action is enabled.",
"jsonSchema" : "{\r\n \"type\" : \"boolean\",\r\n \"description\" : \"Specifies whether the action is enabled.\",\r\n \"readOnly\" : true\r\n}",
"exclusiveMinimum" : false,
"exclusiveMaximum" : false,
"hasMore" : true,
"required" : false,
"secondaryParam" : false,
"hasMoreNonReadOnly" : false,
"isPrimitiveType" : true,
"isModel" : false,
"isContainer" : false,
"isString" : false,
"isNumeric" : false,
"isInteger" : false,
"isLong" : false,
"isNumber" : false,
"isFloat" : false,
"isDouble" : false,
"isByteArray" : false,
"isBinary" : false,
"isFile" : false,
"isBoolean" : true,
"isDate" : false,
"isDateTime" : false,
"isUuid" : false,
"isEmail" : false,
"isFreeFormObject" : false,
"isListContainer" : false,
"isMapContainer" : false,
"isEnum" : false,
"isReadOnly" : true,
"isWriteOnly" : false,
"isNullable" : false,
"isSelfReference" : false,
"vendorExtensions" : { },
"hasValidation" : false,
"isInherited" : false,
"nameInCamelCase" : "Enabled",
"nameInSnakeCase" : "ENABLED",
"isXmlAttribute" : false,
"isXmlWrapped" : false,
"iexclusiveMaximum" : false,
"datatype" : "Boolean"
}, {
"openApiType" : "string",
"baseName" : "friendly_name",
"getter" : "getFriendlyName",
"setter" : "setFriendlyName",
"description" : "The optional additional name of the action.",
"dataType" : "String",
"datatypeWithEnum" : "String",
"name" : "friendlyName",
"defaultValueWithParam" : " = data.friendly_name;",
"baseType" : "String",
"unescapedDescription" : "The optional additional name of the action.",
"jsonSchema" : "{\r\n \"type\" : \"string\",\r\n \"description\" : \"The optional additional name of the action.\",\r\n \"readOnly\" : true\r\n}",
"exclusiveMinimum" : false,
"exclusiveMaximum" : false,
"hasMore" : true,
"required" : false,
"secondaryParam" : false,
"hasMoreNonReadOnly" : false,
"isPrimitiveType" : true,
"isModel" : false,
"isContainer" : false,
"isString" : true,
"isNumeric" : false,
"isInteger" : false,
"isLong" : false,
"isNumber" : false,
"isFloat" : false,
"isDouble" : false,
"isByteArray" : false,
"isBinary" : false,
"isFile" : false,
"isBoolean" : false,
"isDate" : false,
"isDateTime" : false,
"isUuid" : false,
"isEmail" : false,
"isFreeFormObject" : false,
"isListContainer" : false,
"isMapContainer" : false,
"isEnum" : false,
"isReadOnly" : true,
"isWriteOnly" : false,
"isNullable" : false,
"isSelfReference" : false,
"vendorExtensions" : { },
"hasValidation" : false,
"isInherited" : false,
"nameInCamelCase" : "FriendlyName",
"nameInSnakeCase" : "FRIENDLY_NAME",
"isXmlAttribute" : false,
"isXmlWrapped" : false,
"iexclusiveMaximum" : false,
"datatype" : "String"
}, {
"openApiType" : "boolean",
"baseName" : "supports_approval",
"getter" : "getSupportsApproval",
"setter" : "setSupportsApproval",
"description" : "Specifies whether the action supports approval.",
"dataType" : "Boolean",
"datatypeWithEnum" : "Boolean",
"name" : "supportsApproval",
"defaultValueWithParam" : " = data.supports_approval;",
"baseType" : "Boolean",
"unescapedDescription" : "Specifies whether the action supports approval.",
"jsonSchema" : "{\r\n \"type\" : \"boolean\",\r\n \"description\" : \"Specifies whether the action supports approval.\",\r\n \"readOnly\" : true\r\n}",
"exclusiveMinimum" : false,
"exclusiveMaximum" : false,
"hasMore" : true,
"required" : false,
"secondaryParam" : false,
"hasMoreNonReadOnly" : false,
"isPrimitiveType" : true,
"isModel" : false,
"isContainer" : false,
"isString" : false,
"isNumeric" : false,
"isInteger" : false,
"isLong" : false,
"isNumber" : false,
"isFloat" : false,
"isDouble" : false,
"isByteArray" : false,
"isBinary" : false,
"isFile" : false,
"isBoolean" : true,
"isDate" : false,
"isDateTime" : false,
"isUuid" : false,
"isEmail" : false,
"isFreeFormObject" : false,
"isListContainer" : false,
"isMapContainer" : false,
"isEnum" : false,
"isReadOnly" : true,
"isWriteOnly" : false,
"isNullable" : false,
"isSelfReference" : false,
"vendorExtensions" : { },
"hasValidation" : false,
"isInherited" : false,
"nameInCamelCase" : "SupportsApproval",
"nameInSnakeCase" : "SUPPORTS_APPROVAL",
"isXmlAttribute" : false,
"isXmlWrapped" : false,
"iexclusiveMaximum" : false,
"datatype" : "Boolean"
}, {
"openApiType" : "ActionType",
"baseName" : "action_type",
"complexType" : "ActionType",
"getter" : "getActionType",
"setter" : "setActionType",
"dataType" : "ActionType",
"datatypeWithEnum" : "ActionType",
"name" : "actionType",
"defaultValueWithParam" : " = data.action_type;",
"baseType" : "ActionType",
"jsonSchema" : "{\r\n \"$ref\" : \"#/components/schemas/ActionType\"\r\n}",
"exclusiveMinimum" : false,
"exclusiveMaximum" : false,
"hasMore" : false,
"required" : true,
"secondaryParam" : false,
"hasMoreNonReadOnly" : false,
"isPrimitiveType" : false,
"isModel" : true,
"isContainer" : false,
"isString" : false,
"isNumeric" : false,
"isInteger" : false,
"isLong" : false,
"isNumber" : false,
"isFloat" : false,
"isDouble" : false,
"isByteArray" : false,
"isBinary" : false,
"isFile" : false,
"isBoolean" : false,
"isDate" : false,
"isDateTime" : false,
"isUuid" : false,
"isEmail" : false,
"isFreeFormObject" : false,
"isListContainer" : false,
"isMapContainer" : false,
"isEnum" : false,
"isReadOnly" : false,
"isWriteOnly" : false,
"isNullable" : false,
"isSelfReference" : false,
"allowableValues" : {
"enumVars" : [ {
"name" : "AGREEMENT",
"isString" : true,
"value" : "\"agreement\""
}, {
"name" : "AGREEMENT_SERVICE",
"isString" : true,
"value" : "\"agreement-service\""
}, {
"name" : "BILL_CYCLE_RUN",
"isString" : true,
"value" : "\"bill-cycle-run\""
}, {
"name" : "BILL_BATCH_RUN",
"isString" : true,
"value" : "\"bill-batch-run\""
}, {
"name" : "BILLING_ACCOUNT",
"isString" : true,
"value" : "\"billing-account\""
}, {
"name" : "COUNTER",
"isString" : true,
"value" : "\"counter\""
}, {
"name" : "CREDIT_ADJUSTMENT",
"isString" : true,
"value" : "\"credit-adjustment\""
}, {
"name" : "DISBURSEMENT",
"isString" : true,
"value" : "\"disbursement\""
}, {
"name" : "INVOICE",
"isString" : true,
"value" : "\"invoice\""
}, {
"name" : "PAYMENT",
"isString" : true,
"value" : "\"payment\""
}, {
"name" : "PRODUCT_SALE",
"isString" : true,
"value" : "\"product-sale\""
}, {
"name" : "REMOTE_PREPAID_REGISTER",
"isString" : true,
"value" : "\"remote-prepaid-register\""
}, {
"name" : "SALES_ORDER",
"isString" : true,
"value" : "\"sales-order\""
}, {
"name" : "SERVICE",
"isString" : true,
"value" : "\"service\""
}, {
"name" : "SERVICE_CFV",
"isString" : true,
"value" : "\"service-cfv\""
}, {
"name" : "SYSTEM_NOTIFICATION",
"isString" : true,
"value" : "\"system-notification\""
}, {
"name" : "USAGE_RULE",
"isString" : true,
"value" : "\"usage-rule\""
} ],
"values" : [ "agreement", "agreement-service", "bill-cycle-run", "bill-batch-run", "billing-account", "counter", "credit-adjustment", "disbursement", "invoice", "payment", "product-sale", "remote-prepaid-register", "sales-order", "service", "service-cfv", "system-notification", "usage-rule" ]
},
"vendorExtensions" : { },
"hasValidation" : false,
"isInherited" : false,
"nameInCamelCase" : "ActionType",
"nameInSnakeCase" : "ACTION_TYPE",
"isXmlAttribute" : false,
"isXmlWrapped" : false,
"iexclusiveMaximum" : false,
"datatype" : "ActionType"
} ],
"requiredVars" : [ {
"openApiType" : "ActionType",
"baseName" : "action_type",
"complexType" : "ActionType",
"getter" : "getActionType",
"setter" : "setActionType",
"dataType" : "ActionType",
"datatypeWithEnum" : "ActionType",
"name" : "actionType",
"defaultValueWithParam" : " = data.action_type;",
"baseType" : "ActionType",
"jsonSchema" : "{\r\n \"$ref\" : \"#/components/schemas/ActionType\"\r\n}",
"exclusiveMinimum" : false,
"exclusiveMaximum" : false,
"hasMore" : false,
"required" : true,
"secondaryParam" : false,
"hasMoreNonReadOnly" : false,
"isPrimitiveType" : false,
"isModel" : true,
"isContainer" : false,
"isString" : false,
"isNumeric" : false,
"isInteger" : false,
"isLong" : false,
"isNumber" : false,
"isFloat" : false,
"isDouble" : false,
"isByteArray" : false,
"isBinary" : false,
"isFile" : false,
"isBoolean" : false,
"isDate" : false,
"isDateTime" : false,
"isUuid" : false,
"isEmail" : false,
"isFreeFormObject" : false,
"isListContainer" : false,
"isMapContainer" : false,
"isEnum" : false,
"isReadOnly" : false,
"isWriteOnly" : false,
"isNullable" : false,
"isSelfReference" : false,
"allowableValues" : {
"enumVars" : [ {
"name" : "AGREEMENT",
"isString" : true,
"value" : "\"agreement\""
}, {
"name" : "AGREEMENT_SERVICE",
"isString" : true,
"value" : "\"agreement-service\""
}, {
"name" : "BILL_CYCLE_RUN",
"isString" : true,
"value" : "\"bill-cycle-run\""
}, {
"name" : "BILL_BATCH_RUN",
"isString" : true,
"value" : "\"bill-batch-run\""
}, {
"name" : "BILLING_ACCOUNT",
"isString" : true,
"value" : "\"billing-account\""
}, {
"name" : "COUNTER",
"isString" : true,
"value" : "\"counter\""
}, {
"name" : "CREDIT_ADJUSTMENT",
"isString" : true,
"value" : "\"credit-adjustment\""
}, {
"name" : "DISBURSEMENT",
"isString" : true,
"value" : "\"disbursement\""
}, {
"name" : "INVOICE",
"isString" : true,
"value" : "\"invoice\""
}, {
"name" : "PAYMENT",
"isString" : true,
"value" : "\"payment\""
}, {
"name" : "PRODUCT_SALE",
"isString" : true,
"value" : "\"product-sale\""
}, {
"name" : "REMOTE_PREPAID_REGISTER",
"isString" : true,
"value" : "\"remote-prepaid-register\""
}, {
"name" : "SALES_ORDER",
"isString" : true,
"value" : "\"sales-order\""
}, {
"name" : "SERVICE",
"isString" : true,
"value" : "\"service\""
}, {
"name" : "SERVICE_CFV",
"isString" : true,
"value" : "\"service-cfv\""
}, {
"name" : "SYSTEM_NOTIFICATION",
"isString" : true,
"value" : "\"system-notification\""
}, {
"name" : "USAGE_RULE",
"isString" : true,
"value" : "\"usage-rule\""
} ],
"values" : [ "agreement", "agreement-service", "bill-cycle-run", "bill-batch-run", "billing-account", "counter", "credit-adjustment", "disbursement", "invoice", "payment", "product-sale", "remote-prepaid-register", "sales-order", "service", "service-cfv", "system-notification", "usage-rule" ]
},
"vendorExtensions" : { },
"hasValidation" : false,
"isInherited" : false,
"nameInCamelCase" : "ActionType",
"nameInSnakeCase" : "ACTION_TYPE",
"isXmlAttribute" : false,
"isXmlWrapped" : false,
"iexclusiveMaximum" : false,
"datatype" : "ActionType"
} ],
"optionalVars" : [ {
"openApiType" : "string",
"baseName" : "id",
"getter" : "getId",
"setter" : "setId",
"description" : "(unique_key) The ID of the entity.",
"dataType" : "String",
"datatypeWithEnum" : "String",
"name" : "id",
"defaultValueWithParam" : " = data.id;",
"baseType" : "String",
"unescapedDescription" : "(unique_key) The ID of the entity.",
"example" : "1438752",
"jsonSchema" : "{\r\n \"type\" : \"string\",\r\n \"description\" : \"(unique_key) The ID of the entity.\",\r\n \"readOnly\" : true,\r\n \"example\" : \"1438752\"\r\n}",
"exclusiveMinimum" : false,
"exclusiveMaximum" : false,
"hasMore" : true,
"required" : false,
"secondaryParam" : false,
"hasMoreNonReadOnly" : false,
"isPrimitiveType" : true,
"isModel" : false,
"isContainer" : false,
"isString" : true,
"isNumeric" : false,
"isInteger" : false,
"isLong" : false,
"isNumber" : false,
"isFloat" : false,
"isDouble" : false,
"isByteArray" : false,
"isBinary" : false,
"isFile" : false,
"isBoolean" : false,
"isDate" : false,
"isDateTime" : false,
"isUuid" : false,
"isEmail" : false,
"isFreeFormObject" : false,
"isListContainer" : false,
"isMapContainer" : false,
"isEnum" : false,
"isReadOnly" : true,
"isWriteOnly" : false,
"isNullable" : false,
"isSelfReference" : false,
"vendorExtensions" : { },
"hasValidation" : false,
"isInherited" : false,
"nameInCamelCase" : "Id",
"nameInSnakeCase" : "ID",
"isXmlAttribute" : false,
"isXmlWrapped" : false,
"iexclusiveMaximum" : false,
"datatype" : "String"
}, {
"openApiType" : "string",
"baseName" : "name",
"getter" : "getName",
"setter" : "setName",
"description" : "The name of the action.",
"dataType" : "String",
"datatypeWithEnum" : "String",
"name" : "name",
"defaultValueWithParam" : " = data.name;",
"baseType" : "String",
"unescapedDescription" : "The name of the action.",
"jsonSchema" : "{\r\n \"type\" : \"string\",\r\n \"description\" : \"The name of the action.\",\r\n \"readOnly\" : true\r\n}",
"exclusiveMinimum" : false,
"exclusiveMaximum" : false,
"hasMore" : true,
"required" : false,
"secondaryParam" : false,
"hasMoreNonReadOnly" : false,
"isPrimitiveType" : true,
"isModel" : false,
"isContainer" : false,
"isString" : true,
"isNumeric" : false,
"isInteger" : false,
"isLong" : false,
"isNumber" : false,
"isFloat" : false,
"isDouble" : false,
"isByteArray" : false,
"isBinary" : false,
"isFile" : false,
"isBoolean" : false,
"isDate" : false,
"isDateTime" : false,
"isUuid" : false,
"isEmail" : false,
"isFreeFormObject" : false,
"isListContainer" : false,
"isMapContainer" : false,
"isEnum" : false,
"isReadOnly" : true,
"isWriteOnly" : false,
"isNullable" : false,
"isSelfReference" : false,
"vendorExtensions" : { },
"hasValidation" : false,
"isInherited" : false,
"nameInCamelCase" : "Name",
"nameInSnakeCase" : "NAME",
"isXmlAttribute" : false,
"isXmlWrapped" : false,
"iexclusiveMaximum" : false,
"datatype" : "String"
}, {
"openApiType" : "boolean",
"baseName" : "enabled",
"getter" : "getEnabled",
"setter" : "setEnabled",
"description" : "Specifies whether the action is enabled.",
"dataType" : "Boolean",
"datatypeWithEnum" : "Boolean",
"name" : "enabled",
"defaultValueWithParam" : " = data.enabled;",
"baseType" : "Boolean",
"unescapedDescription" : "Specifies whether the action is enabled.",
"jsonSchema" : "{\r\n \"type\" : \"boolean\",\r\n \"description\" : \"Specifies whether the action is enabled.\",\r\n \"readOnly\" : true\r\n}",
"exclusiveMinimum" : false,
"exclusiveMaximum" : false,
"hasMore" : true,
"required" : false,
"secondaryParam" : false,
"hasMoreNonReadOnly" : false,
"isPrimitiveType" : true,
"isModel" : false,
"isContainer" : false,
"isString" : false,
"isNumeric" : false,
"isInteger" : false,
"isLong" : false,
"isNumber" : false,
"isFloat" : false,
"isDouble" : false,
"isByteArray" : false,
"isBinary" : false,
"isFile" : false,
"isBoolean" : true,
"isDate" : false,
"isDateTime" : false,
"isUuid" : false,
"isEmail" : false,
"isFreeFormObject" : false,
"isListContainer" : false,
"isMapContainer" : false,
"isEnum" : false,
"isReadOnly" : true,
"isWriteOnly" : false,
"isNullable" : false,
"isSelfReference" : false,
"vendorExtensions" : { },
"hasValidation" : false,
"isInherited" : false,
"nameInCamelCase" : "Enabled",
"nameInSnakeCase" : "ENABLED",
"isXmlAttribute" : false,
"isXmlWrapped" : false,
"iexclusiveMaximum" : false,
"datatype" : "Boolean"
}, {
"openApiType" : "string",
"baseName" : "friendly_name",
"getter" : "getFriendlyName",
"setter" : "setFriendlyName",
"description" : "The optional additional name of the action.",
"dataType" : "String",
"datatypeWithEnum" : "String",
"name" : "friendlyName",
"defaultValueWithParam" : " = data.friendly_name;",
"baseType" : "String",
"unescapedDescription" : "The optional additional name of the action.",
"jsonSchema" : "{\r\n \"type\" : \"string\",\r\n \"description\" : \"The optional additional name of the action.\",\r\n \"readOnly\" : true\r\n}",
"exclusiveMinimum" : false,
"exclusiveMaximum" : false,
"hasMore" : true,
"required" : false,
"secondaryParam" : false,
"hasMoreNonReadOnly" : false,
"isPrimitiveType" : true,
"isModel" : false,
"isContainer" : false,
"isString" : true,
"isNumeric" : false,
"isInteger" : false,
"isLong" : false,
"isNumber" : false,
"isFloat" : false,
"isDouble" : false,
"isByteArray" : false,
"isBinary" : false,
"isFile" : false,
"isBoolean" : false,
"isDate" : false,
"isDateTime" : false,
"isUuid" : false,
"isEmail" : false,
"isFreeFormObject" : false,
"isListContainer" : false,
"isMapContainer" : false,
"isEnum" : false,
"isReadOnly" : true,
"isWriteOnly" : false,
"isNullable" : false,
"isSelfReference" : false,
"vendorExtensions" : { },
"hasValidation" : false,
"isInherited" : false,
"nameInCamelCase" : "FriendlyName",
"nameInSnakeCase" : "FRIENDLY_NAME",
"isXmlAttribute" : false,
"isXmlWrapped" : false,
"iexclusiveMaximum" : false,
"datatype" : "String"
}, {
"openApiType" : "boolean",
"baseName" : "supports_approval",
"getter" : "getSupportsApproval",
"setter" : "setSupportsApproval",
"description" : "Specifies whether the action supports approval.",
"dataType" : "Boolean",
"datatypeWithEnum" : "Boolean",
"name" : "supportsApproval",
"defaultValueWithParam" : " = data.supports_approval;",
"baseType" : "Boolean",
"unescapedDescription" : "Specifies whether the action supports approval.",
"jsonSchema" : "{\r\n \"type\" : \"boolean\",\r\n \"description\" : \"Specifies whether the action supports approval.\",\r\n \"readOnly\" : true\r\n}",
"exclusiveMinimum" : false,
"exclusiveMaximum" : false,
"hasMore" : false,
"required" : false,
"secondaryParam" : false,
"hasMoreNonReadOnly" : false,
"isPrimitiveType" : true,
"isModel" : false,
"isContainer" : false,
"isString" : false,
"isNumeric" : false,
"isInteger" : false,
"isLong" : false,
"isNumber" : false,
"isFloat" : false,
"isDouble" : false,
"isByteArray" : false,
"isBinary" : false,
"isFile" : false,
"isBoolean" : true,
"isDate" : false,
"isDateTime" : false,
"isUuid" : false,
"isEmail" : false,
"isFreeFormObject" : false,
"isListContainer" : false,
"isMapContainer" : false,
"isEnum" : false,
"isReadOnly" : true,
"isWriteOnly" : false,
"isNullable" : false,
"isSelfReference" : false,
"vendorExtensions" : { },
"hasValidation" : false,
"isInherited" : false,
"nameInCamelCase" : "SupportsApproval",
"nameInSnakeCase" : "SUPPORTS_APPROVAL",
"isXmlAttribute" : false,
"isXmlWrapped" : false,
"iexclusiveMaximum" : false,
"datatype" : "Boolean"
} ],
"readOnlyVars" : [ {
"openApiType" : "string",
"baseName" : "id",
"getter" : "getId",
"setter" : "setId",
"description" : "(unique_key) The ID of the entity.",
"dataType" : "String",
"datatypeWithEnum" : "String",
"name" : "id",
"defaultValueWithParam" : " = data.id;",
"baseType" : "String",
"unescapedDescription" : "(unique_key) The ID of the entity.",
"example" : "1438752",
"jsonSchema" : "{\r\n \"type\" : \"string\",\r\n \"description\" : \"(unique_key) The ID of the entity.\",\r\n \"readOnly\" : true,\r\n \"example\" : \"1438752\"\r\n}",
"exclusiveMinimum" : false,
"exclusiveMaximum" : false,
"hasMore" : true,
"required" : false,
"secondaryParam" : false,
"hasMoreNonReadOnly" : false,
"isPrimitiveType" : true,
"isModel" : false,
"isContainer" : false,
"isString" : true,
"isNumeric" : false,
"isInteger" : false,
"isLong" : false,
"isNumber" : false,
"isFloat" : false,
"isDouble" : false,
"isByteArray" : false,
"isBinary" : false,
"isFile" : false,
"isBoolean" : false,
"isDate" : false,
"isDateTime" : false,
"isUuid" : false,
"isEmail" : false,
"isFreeFormObject" : false,
"isListContainer" : false,
"isMapContainer" : false,
"isEnum" : false,
"isReadOnly" : true,
"isWriteOnly" : false,
"isNullable" : false,
"isSelfReference" : false,
"vendorExtensions" : { },
"hasValidation" : false,
"isInherited" : false,
"nameInCamelCase" : "Id",
"nameInSnakeCase" : "ID",
"isXmlAttribute" : false,
"isXmlWrapped" : false,
"iexclusiveMaximum" : false,
"datatype" : "String"
}, {
"openApiType" : "string",
"baseName" : "name",
"getter" : "getName",
"setter" : "setName",
"description" : "The name of the action.",
"dataType" : "String",
"datatypeWithEnum" : "String",
"name" : "name",
"defaultValueWithParam" : " = data.name;",
"baseType" : "String",
"unescapedDescription" : "The name of the action.",
"jsonSchema" : "{\r\n \"type\" : \"string\",\r\n \"description\" : \"The name of the action.\",\r\n \"readOnly\" : true\r\n}",
"exclusiveMinimum" : false,
"exclusiveMaximum" : false,
"hasMore" : true,
"required" : false,
"secondaryParam" : false,
"hasMoreNonReadOnly" : false,
"isPrimitiveType" : true,
"isModel" : false,
"isContainer" : false,
"isString" : true,
"isNumeric" : false,
"isInteger" : false,
"isLong" : false,
"isNumber" : false,
"isFloat" : false,
"isDouble" : false,
"isByteArray" : false,
"isBinary" : false,
"isFile" : false,
"isBoolean" : false,
"isDate" : false,
"isDateTime" : false,
"isUuid" : false,
"isEmail" : false,
"isFreeFormObject" : false,
"isListContainer" : false,
"isMapContainer" : false,
"isEnum" : false,
"isReadOnly" : true,
"isWriteOnly" : false,
"isNullable" : false,
"isSelfReference" : false,
"vendorExtensions" : { },
"hasValidation" : false,
"isInherited" : false,
"nameInCamelCase" : "Name",
"nameInSnakeCase" : "NAME",
"isXmlAttribute" : false,
"isXmlWrapped" : false,
"iexclusiveMaximum" : false,
"datatype" : "String"
}, {
"openApiType" : "boolean",
"baseName" : "enabled",
"getter" : "getEnabled",
"setter" : "setEnabled",
"description" : "Specifies whether the action is enabled.",
"dataType" : "Boolean",
"datatypeWithEnum" : "Boolean",
"name" : "enabled",
"defaultValueWithParam" : " = data.enabled;",
"baseType" : "Boolean",
"unescapedDescription" : "Specifies whether the action is enabled.",
"jsonSchema" : "{\r\n \"type\" : \"boolean\",\r\n \"description\" : \"Specifies whether the action is enabled.\",\r\n \"readOnly\" : true\r\n}",
"exclusiveMinimum" : false,
"exclusiveMaximum" : false,
"hasMore" : true,
"required" : false,
"secondaryParam" : false,
"hasMoreNonReadOnly" : false,
"isPrimitiveType" : true,
"isModel" : false,
"isContainer" : false,
"isString" : false,
"isNumeric" : false,
"isInteger" : false,
"isLong" : false,
"isNumber" : false,
"isFloat" : false,
"isDouble" : false,
"isByteArray" : false,
"isBinary" : false,
"isFile" : false,
"isBoolean" : true,
"isDate" : false,
"isDateTime" : false,
"isUuid" : false,
"isEmail" : false,
"isFreeFormObject" : false,
"isListContainer" : false,
"isMapContainer" : false,
"isEnum" : false,
"isReadOnly" : true,
"isWriteOnly" : false,
"isNullable" : false,
"isSelfReference" : false,
"vendorExtensions" : { },
"hasValidation" : false,
"isInherited" : false,
"nameInCamelCase" : "Enabled",
"nameInSnakeCase" : "ENABLED",
"isXmlAttribute" : false,
"isXmlWrapped" : false,
"iexclusiveMaximum" : false,
"datatype" : "Boolean"
}, {
"openApiType" : "string",
"baseName" : "friendly_name",
"getter" : "getFriendlyName",
"setter" : "setFriendlyName",
"description" : "The optional additional name of the action.",
"dataType" : "String",
"datatypeWithEnum" : "String",
"name" : "friendlyName",
"defaultValueWithParam" : " = data.friendly_name;",
"baseType" : "String",
"unescapedDescription" : "The optional additional name of the action.",
"jsonSchema" : "{\r\n \"type\" : \"string\",\r\n \"description\" : \"The optional additional name of the action.\",\r\n \"readOnly\" : true\r\n}",
"exclusiveMinimum" : false,
"exclusiveMaximum" : false,
"hasMore" : true,
"required" : false,
"secondaryParam" : false,
"hasMoreNonReadOnly" : false,
"isPrimitiveType" : true,
"isModel" : false,
"isContainer" : false,
"isString" : true,
"isNumeric" : false,
"isInteger" : false,
"isLong" : false,
"isNumber" : false,
"isFloat" : false,
"isDouble" : false,
"isByteArray" : false,
"isBinary" : false,
"isFile" : false,
"isBoolean" : false,
"isDate" : false,
"isDateTime" : false,
"isUuid" : false,
"isEmail" : false,
"isFreeFormObject" : false,
"isListContainer" : false,
"isMapContainer" : false,
"isEnum" : false,
"isReadOnly" : true,
"isWriteOnly" : false,
"isNullable" : false,
"isSelfReference" : false,
"vendorExtensions" : { },
"hasValidation" : false,
"isInherited" : false,
"nameInCamelCase" : "FriendlyName",
"nameInSnakeCase" : "FRIENDLY_NAME",
"isXmlAttribute" : false,
"isXmlWrapped" : false,
"iexclusiveMaximum" : false,
"datatype" : "String"
}, {
"openApiType" : "boolean",
"baseName" : "supports_approval",
"getter" : "getSupportsApproval",
"setter" : "setSupportsApproval",
"description" : "Specifies whether the action supports approval.",
"dataType" : "Boolean",
"datatypeWithEnum" : "Boolean",
"name" : "supportsApproval",
"defaultValueWithParam" : " = data.supports_approval;",
"baseType" : "Boolean",
"unescapedDescription" : "Specifies whether the action supports approval.",
"jsonSchema" : "{\r\n \"type\" : \"boolean\",\r\n \"description\" : \"Specifies whether the action supports approval.\",\r\n \"readOnly\" : true\r\n}",
"exclusiveMinimum" : false,
"exclusiveMaximum" : false,
"hasMore" : false,
"required" : false,
"secondaryParam" : false,
"hasMoreNonReadOnly" : false,
"isPrimitiveType" : true,
"isModel" : false,
"isContainer" : false,
"isString" : false,
"isNumeric" : false,
"isInteger" : false,
"isLong" : false,
"isNumber" : false,
"isFloat" : false,
"isDouble" : false,
"isByteArray" : false,
"isBinary" : false,
"isFile" : false,
"isBoolean" : true,
"isDate" : false,
"isDateTime" : false,
"isUuid" : false,
"isEmail" : false,
"isFreeFormObject" : false,
"isListContainer" : false,
"isMapContainer" : false,
"isEnum" : false,
"isReadOnly" : true,
"isWriteOnly" : false,
"isNullable" : false,
"isSelfReference" : false,
"vendorExtensions" : { },
"hasValidation" : false,
"isInherited" : false,
"nameInCamelCase" : "SupportsApproval",
"nameInSnakeCase" : "SUPPORTS_APPROVAL",
"isXmlAttribute" : false,
"isXmlWrapped" : false,
"iexclusiveMaximum" : false,
"datatype" : "Boolean"
} ],
"readWriteVars" : [ {
"openApiType" : "ActionType",
"baseName" : "action_type",
"complexType" : "ActionType",
"getter" : "getActionType",
"setter" : "setActionType",
"dataType" : "ActionType",
"datatypeWithEnum" : "ActionType",
"name" : "actionType",
"defaultValueWithParam" : " = data.action_type;",
"baseType" : "ActionType",
"jsonSchema" : "{\r\n \"$ref\" : \"#/components/schemas/ActionType\"\r\n}",
"exclusiveMinimum" : false,
"exclusiveMaximum" : false,
"hasMore" : false,
"required" : true,
"secondaryParam" : false,
"hasMoreNonReadOnly" : false,
"isPrimitiveType" : false,
"isModel" : true,
"isContainer" : false,
"isString" : false,
"isNumeric" : false,
"isInteger" : false,
"isLong" : false,
"isNumber" : false,
"isFloat" : false,
"isDouble" : false,
"isByteArray" : false,
"isBinary" : false,
"isFile" : false,
"isBoolean" : false,
"isDate" : false,
"isDateTime" : false,
"isUuid" : false,
"isEmail" : false,
"isFreeFormObject" : false,
"isListContainer" : false,
"isMapContainer" : false,
"isEnum" : false,
"isReadOnly" : false,
"isWriteOnly" : false,
"isNullable" : false,
"isSelfReference" : false,
"allowableValues" : {
"enumVars" : [ {
"name" : "AGREEMENT",
"isString" : true,
"value" : "\"agreement\""
}, {
"name" : "AGREEMENT_SERVICE",
"isString" : true,
"value" : "\"agreement-service\""
}, {
"name" : "BILL_CYCLE_RUN",
"isString" : true,
"value" : "\"bill-cycle-run\""
}, {
"name" : "BILL_BATCH_RUN",
"isString" : true,
"value" : "\"bill-batch-run\""
}, {
"name" : "BILLING_ACCOUNT",
"isString" : true,
"value" : "\"billing-account\""
}, {
"name" : "COUNTER",
"isString" : true,
"value" : "\"counter\""
}, {
"name" : "CREDIT_ADJUSTMENT",
"isString" : true,
"value" : "\"credit-adjustment\""
}, {
"name" : "DISBURSEMENT",
"isString" : true,
"value" : "\"disbursement\""
}, {
"name" : "INVOICE",
"isString" : true,
"value" : "\"invoice\""
}, {
"name" : "PAYMENT",
"isString" : true,
"value" : "\"payment\""
}, {
"name" : "PRODUCT_SALE",
"isString" : true,
"value" : "\"product-sale\""
}, {
"name" : "REMOTE_PREPAID_REGISTER",
"isString" : true,
"value" : "\"remote-prepaid-register\""
}, {
"name" : "SALES_ORDER",
"isString" : true,
"value" : "\"sales-order\""
}, {
"name" : "SERVICE",
"isString" : true,
"value" : "\"service\""
}, {
"name" : "SERVICE_CFV",
"isString" : true,
"value" : "\"service-cfv\""
}, {
"name" : "SYSTEM_NOTIFICATION",
"isString" : true,
"value" : "\"system-notification\""
}, {
"name" : "USAGE_RULE",
"isString" : true,
"value" : "\"usage-rule\""
} ],
"values" : [ "agreement", "agreement-service", "bill-cycle-run", "bill-batch-run", "billing-account", "counter", "credit-adjustment", "disbursement", "invoice", "payment", "product-sale", "remote-prepaid-register", "sales-order", "service", "service-cfv", "system-notification", "usage-rule" ]
},
"vendorExtensions" : { },
"hasValidation" : false,
"isInherited" : false,
"nameInCamelCase" : "ActionType",
"nameInSnakeCase" : "ACTION_TYPE",
"isXmlAttribute" : false,
"isXmlWrapped" : false,
"iexclusiveMaximum" : false,
"datatype" : "ActionType"
} ],
"parentVars" : [ ],
"mandatory" : [ "actionType" ],
"allMandatory" : [ "actionType" ],
"imports" : [ "ActionType", "ApiModel", "ApiModelProperty", "Entity", "JsonProperty", "JsonValue" ],
"hasVars" : true,
"emptyVars" : false,
"hasMoreModels" : false,
"hasEnums" : false,
"isEnum" : false,
"hasRequired" : true,
"hasOptional" : true,
"isArrayModel" : false,
"hasChildren" : false,
"isMapModel" : false,
"hasOnlyReadOnly" : false,
"vendorExtensions" : { }
}
}, {
"importPath" : "org.openapitools.client.model.ActionType",
"model" : {
"anyOf" : [ ],
"oneOf" : [ ],
"allOf" : [ ],
"name" : "ActionType",
"classname" : "ActionType",
"title" : "ActionType",
"description" : "Indicates the type of action that occurs.",
"classVarName" : "actionType",
"modelJson" : "{\r\n \"title\" : \"ActionType\",\r\n \"type\" : \"string\",\r\n \"description\" : \"Indicates the type of action that occurs.\",\r\n \"enum\" : [ \"agreement\", \"agreement-service\", \"bill-cycle-run\", \"bill-batch-run\", \"billing-account\", \"counter\", \"credit-adjustment\", \"disbursement\", \"invoice\", \"payment\", \"product-sale\", \"remote-prepaid-register\", \"sales-order\", \"service\", \"service-cfv\", \"system-notification\", \"usage-rule\" ],\r\n \"x-swagger-router-model\" : \"ActionTypeDto\"\r\n}",
"dataType" : "String",
"classFilename" : "ActionType",
"unescapedDescription" : "Indicates the type of action that occurs.",
"isAlias" : false,
"isString" : true,
"isInteger" : false,
"vars" : [ ],
"allVars" : [ ],
"requiredVars" : [ ],
"optionalVars" : [ ],
"readOnlyVars" : [ ],
"readWriteVars" : [ ],
"parentVars" : [ ],
"allowableValues" : {
"values" : [ "agreement", "agreement-service", "bill-cycle-run", "bill-batch-run", "billing-account", "counter", "credit-adjustment", "disbursement", "invoice", "payment", "product-sale", "remote-prepaid-register", "sales-order", "service", "service-cfv", "system-notification", "usage-rule" ],
"enumVars" : [ {
"name" : "AGREEMENT",
"isString" : true,
"value" : "\"agreement\""
}, {
"name" : "AGREEMENT_SERVICE",
"isString" : true,
"value" : "\"agreement-service\""
}, {
"name" : "BILL_CYCLE_RUN",
"isString" : true,
"value" : "\"bill-cycle-run\""
}, {
"name" : "BILL_BATCH_RUN",
"isString" : true,
"value" : "\"bill-batch-run\""
}, {
"name" : "BILLING_ACCOUNT",
"isString" : true,
"value" : "\"billing-account\""
}, {
"name" : "COUNTER",
"isString" : true,
"value" : "\"counter\""
}, {
"name" : "CREDIT_ADJUSTMENT",
"isString" : true,
"value" : "\"credit-adjustment\""
}, {
"name" : "DISBURSEMENT",
"isString" : true,
"value" : "\"disbursement\""
}, {
"name" : "INVOICE",
"isString" : true,
"value" : "\"invoice\""
}, {
"name" : "PAYMENT",
"isString" : true,
"value" : "\"payment\""
}, {
"name" : "PRODUCT_SALE",
"isString" : true,
"value" : "\"product-sale\""
}, {
"name" : "REMOTE_PREPAID_REGISTER",
"isString" : true,
"value" : "\"remote-prepaid-register\""
}, {
"name" : "SALES_ORDER",
"isString" : true,
"value" : "\"sales-order\""
}, {
"name" : "SERVICE",
"isString" : true,
"value" : "\"service\""
}, {
"name" : "SERVICE_CFV",
"isString" : true,
"value" : "\"service-cfv\""
}, {
"name" : "SYSTEM_NOTIFICATION",
"isString" : true,
"value" : "\"system-notification\""
}, {
"name" : "USAGE_RULE",
"isString" : true,
"value" : "\"usage-rule\""
} ]
},
"mandatory" : [ ],
"allMandatory" : [ ],
"imports" : [ "ApiModel" ],
"hasVars" : false,
"emptyVars" : true,
"hasMoreModels" : false,
"hasEnums" : false,
"isEnum" : true,
"hasRequired" : false,
"hasOptional" : false,
"isArrayModel" : false,
"hasChildren" : false,
"isMapModel" : false,
"hasOnlyReadOnly" : true,
"vendorExtensions" : {
"x-swagger-router-model" : "ActionTypeDto"
}
}
}, {
"importPath" : "org.openapitools.client.model.Entity",
"model" : {
"anyOf" : [ ],
"oneOf" : [ ],
"allOf" : [ ],
"name" : "Entity",
"classname" : "Entity",
"title" : "Entity",
"description" : "A base object for all API entities.",
"classVarName" : "entity",
"modelJson" : "{\r\n \"title\" : \"Entity\",\r\n \"type\" : \"object\",\r\n \"properties\" : {\r\n \"id\" : {\r\n \"type\" : \"string\",\r\n \"description\" : \"(unique_key) The ID of the entity.\",\r\n \"readOnly\" : true,\r\n \"example\" : \"1438752\"\r\n }\r\n },\r\n \"description\" : \"A base object for all API entities.\"\r\n}",
"dataType" : "Object",
"classFilename" : "Entity",
"unescapedDescription" : "A base object for all API entities.",
"isAlias" : false,
"isString" : false,
"isInteger" : false,
"vars" : [ {
"openApiType" : "string",
"baseName" : "id",
"getter" : "getId",
"setter" : "setId",
"description" : "(unique_key) The ID of the entity.",
"dataType" : "String",
"datatypeWithEnum" : "String",
"name" : "id",
"defaultValueWithParam" : " = data.id;",
"baseType" : "String",
"unescapedDescription" : "(unique_key) The ID of the entity.",
"example" : "1438752",
"jsonSchema" : "{\r\n \"type\" : \"string\",\r\n \"description\" : \"(unique_key) The ID of the entity.\",\r\n \"readOnly\" : true,\r\n \"example\" : \"1438752\"\r\n}",
"exclusiveMinimum" : false,
"exclusiveMaximum" : false,
"hasMore" : false,
"required" : false,
"secondaryParam" : false,
"hasMoreNonReadOnly" : false,
"isPrimitiveType" : true,
"isModel" : false,
"isContainer" : false,
"isString" : true,
"isNumeric" : false,
"isInteger" : false,
"isLong" : false,
"isNumber" : false,
"isFloat" : false,
"isDouble" : false,
"isByteArray" : false,
"isBinary" : false,
"isFile" : false,
"isBoolean" : false,
"isDate" : false,
"isDateTime" : false,
"isUuid" : false,
"isEmail" : false,
"isFreeFormObject" : false,
"isListContainer" : false,
"isMapContainer" : false,
"isEnum" : false,
"isReadOnly" : true,
"isWriteOnly" : false,
"isNullable" : false,
"isSelfReference" : false,
"vendorExtensions" : { },
"hasValidation" : false,
"isInherited" : false,
"nameInCamelCase" : "Id",
"nameInSnakeCase" : "ID",
"isXmlAttribute" : false,
"isXmlWrapped" : false,
"iexclusiveMaximum" : false,
"datatype" : "String"
} ],
"allVars" : [ {
"openApiType" : "string",
"baseName" : "id",
"getter" : "getId",
"setter" : "setId",
"description" : "(unique_key) The ID of the entity.",
"dataType" : "String",
"datatypeWithEnum" : "String",
"name" : "id",
"defaultValueWithParam" : " = data.id;",
"baseType" : "String",
"unescapedDescription" : "(unique_key) The ID of the entity.",
"example" : "1438752",
"jsonSchema" : "{\r\n \"type\" : \"string\",\r\n \"description\" : \"(unique_key) The ID of the entity.\",\r\n \"readOnly\" : true,\r\n \"example\" : \"1438752\"\r\n}",
"exclusiveMinimum" : false,
"exclusiveMaximum" : false,
"hasMore" : false,
"required" : false,
"secondaryParam" : false,
"hasMoreNonReadOnly" : false,
"isPrimitiveType" : true,
"isModel" : false,
"isContainer" : false,
"isString" : true,
"isNumeric" : false,
"isInteger" : false,
"isLong" : false,
"isNumber" : false,
"isFloat" : false,
"isDouble" : false,
"isByteArray" : false,
"isBinary" : false,
"isFile" : false,
"isBoolean" : false,
"isDate" : false,
"isDateTime" : false,
"isUuid" : false,
"isEmail" : false,
"isFreeFormObject" : false,
"isListContainer" : false,
"isMapContainer" : false,
"isEnum" : false,
"isReadOnly" : true,
"isWriteOnly" : false,
"isNullable" : false,
"isSelfReference" : false,
"vendorExtensions" : { },
"hasValidation" : false,
"isInherited" : false,
"nameInCamelCase" : "Id",
"nameInSnakeCase" : "ID",
"isXmlAttribute" : false,
"isXmlWrapped" : false,
"iexclusiveMaximum" : false,
"datatype" : "String"
} ],
"requiredVars" : [ ],
"optionalVars" : [ {
"openApiType" : "string",
"baseName" : "id",
"getter" : "getId",
"setter" : "setId",
"description" : "(unique_key) The ID of the entity.",
"dataType" : "String",
"datatypeWithEnum" : "String",
"name" : "id",
"defaultValueWithParam" : " = data.id;",
"baseType" : "String",
"unescapedDescription" : "(unique_key) The ID of the entity.",
"example" : "1438752",
"jsonSchema" : "{\r\n \"type\" : \"string\",\r\n \"description\" : \"(unique_key) The ID of the entity.\",\r\n \"readOnly\" : true,\r\n \"example\" : \"1438752\"\r\n}",
"exclusiveMinimum" : false,
"exclusiveMaximum" : false,
"hasMore" : false,
"required" : false,
"secondaryParam" : false,
"hasMoreNonReadOnly" : false,
"isPrimitiveType" : true,
"isModel" : false,
"isContainer" : false,
"isString" : true,
"isNumeric" : false,
"isInteger" : false,
"isLong" : false,
"isNumber" : false,
"isFloat" : false,
"isDouble" : false,
"isByteArray" : false,
"isBinary" : false,
"isFile" : false,
"isBoolean" : false,
"isDate" : false,
"isDateTime" : false,
"isUuid" : false,
"isEmail" : false,
"isFreeFormObject" : false,
"isListContainer" : false,
"isMapContainer" : false,
"isEnum" : false,
"isReadOnly" : true,
"isWriteOnly" : false,
"isNullable" : false,
"isSelfReference" : false,
"vendorExtensions" : { },
"hasValidation" : false,
"isInherited" : false,
"nameInCamelCase" : "Id",
"nameInSnakeCase" : "ID",
"isXmlAttribute" : false,
"isXmlWrapped" : false,
"iexclusiveMaximum" : false,
"datatype" : "String"
} ],
"readOnlyVars" : [ {
"openApiType" : "string",
"baseName" : "id",
"getter" : "getId",
"setter" : "setId",
"description" : "(unique_key) The ID of the entity.",
"dataType" : "String",
"datatypeWithEnum" : "String",
"name" : "id",
"defaultValueWithParam" : " = data.id;",
"baseType" : "String",
"unescapedDescription" : "(unique_key) The ID of the entity.",
"example" : "1438752",
"jsonSchema" : "{\r\n \"type\" : \"string\",\r\n \"description\" : \"(unique_key) The ID of the entity.\",\r\n \"readOnly\" : true,\r\n \"example\" : \"1438752\"\r\n}",
"exclusiveMinimum" : false,
"exclusiveMaximum" : false,
"hasMore" : false,
"required" : false,
"secondaryParam" : false,
"hasMoreNonReadOnly" : false,
"isPrimitiveType" : true,
"isModel" : false,
"isContainer" : false,
"isString" : true,
"isNumeric" : false,
"isInteger" : false,
"isLong" : false,
"isNumber" : false,
"isFloat" : false,
"isDouble" : false,
"isByteArray" : false,
"isBinary" : false,
"isFile" : false,
"isBoolean" : false,
"isDate" : false,
"isDateTime" : false,
"isUuid" : false,
"isEmail" : false,
"isFreeFormObject" : false,
"isListContainer" : false,
"isMapContainer" : false,
"isEnum" : false,
"isReadOnly" : true,
"isWriteOnly" : false,
"isNullable" : false,
"isSelfReference" : false,
"vendorExtensions" : { },
"hasValidation" : false,
"isInherited" : false,
"nameInCamelCase" : "Id",
"nameInSnakeCase" : "ID",
"isXmlAttribute" : false,
"isXmlWrapped" : false,
"iexclusiveMaximum" : false,
"datatype" : "String"
} ],
"readWriteVars" : [ ],
"parentVars" : [ ],
"mandatory" : [ ],
"allMandatory" : [ ],
"imports" : [ "ApiModel", "ApiModelProperty", "JsonProperty", "JsonValue" ],
"hasVars" : true,
"emptyVars" : false,
"hasMoreModels" : false,
"hasEnums" : false,
"isEnum" : false,
"hasRequired" : false,
"hasOptional" : true,
"isArrayModel" : false,
"hasChildren" : false,
"isMapModel" : false,
"hasOnlyReadOnly" : true,
"vendorExtensions" : { }
}
} ]
[main] INFO o.o.codegen.DefaultGenerator - processOperation: resourcePath= /actions ;get class Operation {
tags: [Action]
summary: Get actions
description: null
externalDocs: null
operationId: queryActions
parameters: [class Parameter {
name: id
in: query
description: The internal ID of the object.
required: null
deprecated: null
allowEmptyValue: null
style: null
explode: null
allowReserved: null
schema: class StringSchema {
class Schema {
type: string
format: null
$ref: null
description: null
title: null
multipleOf: null
maximum: null
exclusiveMaximum: null
minimum: null
exclusiveMinimum: null
maxLength: null
minLength: null
pattern: null
maxItems: null
minItems: null
uniqueItems: null
maxProperties: null
minProperties: null
required: null
not: null
properties: null
additionalProperties: null
nullable: null
readOnly: null
writeOnly: null
example: null
externalDocs: null
deprecated: null
discriminator: null
xml: null
}
}
examples: null
example: null
content: null
$ref: null
}]
requestBody: null
responses: class ApiResponses {
{200=class ApiResponse {
description: Success
headers: {X-total-pages=class Header {
description: The total number of pages that can be requested. Used to drive paging requests.
required: null
deprecated: null
style: null
explode: null
schema: class IntegerSchema {
class Schema {
type: integer
format: int64
$ref: null
description: null
title: null
multipleOf: null
maximum: null
exclusiveMaximum: null
minimum: null
exclusiveMinimum: null
maxLength: null
minLength: null
pattern: null
maxItems: null
minItems: null
uniqueItems: null
maxProperties: null
minProperties: null
required: null
not: null
properties: null
additionalProperties: null
nullable: null
readOnly: null
writeOnly: null
example: null
externalDocs: null
deprecated: null
discriminator: null
xml: null
}
}
examples: null
example: null
content: null
$ref: null
}, ETag=class Header {
description: The standard ETag HTTP header.
required: null
deprecated: null
style: null
explode: null
schema: class StringSchema {
class Schema {
type: string
format: null
$ref: null
description: null
title: null
multipleOf: null
maximum: null
exclusiveMaximum: null
minimum: null
exclusiveMinimum: null
maxLength: null
minLength: null
pattern: null
maxItems: null
minItems: null
uniqueItems: null
maxProperties: null
minProperties: null
required: null
not: null
properties: null
additionalProperties: null
nullable: null
readOnly: null
writeOnly: null
example: null
externalDocs: null
deprecated: null
discriminator: null
xml: null
}
}
examples: null
example: null
content: null
$ref: null
}, X-total-count=class Header {
description: The total results for the particular query. Used to drive paging requests.
required: null
deprecated: null
style: null
explode: null
schema: class IntegerSchema {
class Schema {
type: integer
format: int64
$ref: null
description: null
title: null
multipleOf: null
maximum: null
exclusiveMaximum: null
minimum: null
exclusiveMinimum: null
maxLength: null
minLength: null
pattern: null
maxItems: null
minItems: null
uniqueItems: null
maxProperties: null
minProperties: null
required: null
not: null
properties: null
additionalProperties: null
nullable: null
readOnly: null
writeOnly: null
example: null
externalDocs: null
deprecated: null
discriminator: null
xml: null
}
}
examples: null
example: null
content: null
$ref: null
}, X-element-count=class Header {
description: The number of elements returned in the current request. Used to drive paging requests.
required: null
deprecated: null
style: null
explode: null
schema: class IntegerSchema {
class Schema {
type: integer
format: int64
$ref: null
description: null
title: null
multipleOf: null
maximum: null
exclusiveMaximum: null
minimum: null
exclusiveMinimum: null
maxLength: null
minLength: null
pattern: null
maxItems: null
minItems: null
uniqueItems: null
maxProperties: null
minProperties: null
required: null
not: null
properties: null
additionalProperties: null
nullable: null
readOnly: null
writeOnly: null
example: null
externalDocs: null
deprecated: null
discriminator: null
xml: null
}
}
examples: null
example: null
content: null
$ref: null
}}
content: class Content {
{application/json=class MediaType {
schema: class ArraySchema {
class Schema {
type: array
format: null
$ref: null
description: null
title: null
multipleOf: null
maximum: null
exclusiveMaximum: null
minimum: null
exclusiveMinimum: null
maxLength: null
minLength: null
pattern: null
maxItems: null
minItems: null
uniqueItems: null
maxProperties: null
minProperties: null
required: null
not: null
properties: null
additionalProperties: null
nullable: null
readOnly: null
writeOnly: null
example: null
externalDocs: null
deprecated: null
discriminator: null
xml: null
}
items: class Schema {
type: null
format: null
$ref: #/components/schemas/Action
description: null
title: null
multipleOf: null
maximum: null
exclusiveMaximum: null
minimum: null
exclusiveMinimum: null
maxLength: null
minLength: null
pattern: null
maxItems: null
minItems: null
uniqueItems: null
maxProperties: null
minProperties: null
required: null
not: null
properties: null
additionalProperties: null
nullable: null
readOnly: null
writeOnly: null
example: null
externalDocs: null
deprecated: null
discriminator: null
xml: null
}
}
examples: null
example: null
encoding: null
}}
}
links: null
extensions: {}
$ref: null
}, 400=class ApiResponse {
description: Bad request.
headers: null
content: class Content {
{}
}
links: null
extensions: {}
$ref: null
}, default=class ApiResponse {
description: Unknown error.
headers: null
content: class Content {
{}
}
links: null
extensions: {}
$ref: null
}}
extensions: null
}
callbacks: null
deprecated: null
security: null
servers: null
}
[main] WARN o.o.codegen.utils.URLPathUtils - 'scheme' not defined in the spec (2.0). Default to [http] for server URL [http:///billing/2]
[main] INFO o.o.codegen.AbstractGenerator - writing file C:\Users\xxxxxx\github\openapi-generator\out\tmpissue320\src\main\java\org\openapitools\client\api\ActionApi.java
[main] INFO o.o.codegen.DefaultGenerator - File exists. Skipped overwriting C:\Users\xxxxxx\github\openapi-generator\out\tmpissue320\src\test\java\org\openapitools\client\api\ActionApiTest.java
[main] INFO o.o.codegen.AbstractGenerator - writing file C:\Users\xxxxxx\github\openapi-generator\out\tmpissue320\docs\\ActionApi.md
[main] INFO o.o.codegen.DefaultGenerator - ############ Operation info ############
[ {
"appVersion" : "2",
"generatorClass" : "org.openapitools.codegen.languages.JavaClientCodegen",
"supportJava6" : false,
"sortParamsByRequiredFlag" : true,
"groupId" : "org.openapitools",
"invokerPackage" : "org.openapitools.client",
"classVarName" : "action",
"developerEmail" : "team@openapitools.org",
"generateModelDocs" : true,
"hasImport" : true,
"generateModelTests" : true,
"generateApiTests" : true,
"classFilename" : "ActionApi",
"usePlayWS" : false,
"generateModels" : true,
"serializableModel" : false,
"playVersion" : "play25",
"inputSpec" : "C:\\Users\\xxxxxx\\github\\swagger-issue-320.json",
"artifactUrl" : "https://github.com/openapitools/openapi-generator",
"developerOrganization" : "OpenAPITools.org",
"baseName" : "Action",
"package" : "org.openapitools.client.api",
"imports" : [ {
"import" : "org.openapitools.client.model.Action",
"classname" : "Action"
} ],
"fullJavaUtil" : false,
"contextPath" : "/billing/2",
"appDescription" : "No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)",
"javaUtilPrefix" : "",
"licenseName" : "Unlicense",
"releaseNote" : "Minor update",
"version" : "2",
"modelDocPath" : "docs/",
"withXml" : false,
"scmDeveloperConnection" : "scm:git:git@github.com:openapitools/openapi-generator.git",
"useNullForUnknownEnumValue" : false,
"feignVersion" : "9.x",
"importPath" : "org.openapitools.client.api.Action",
"licenseUrl" : "http://unlicense.org",
"jsr310" : "true",
"generatedYear" : "2019",
"modelPackage" : "org.openapitools.client.model",
"sourceFolder" : "src/main/java",
"apiDocPath" : "docs/",
"hasModel" : true,
"generateApis" : true,
"basePathWithoutHost" : "/billing/2",
"parcelableModel" : false,
"developerOrganizationUrl" : "http://openapitools.org",
"operations" : {
"classname" : "ActionApi",
"operation" : [ {
"responseHeaders" : [ {
"openApiType" : "integer",
"baseName" : "X-total-pages",
"getter" : "getxTotalPages",
"setter" : "setxTotalPages",
"description" : "The total number of pages that can be requested. Used to drive paging requests.",
"dataType" : "Long",
"datatypeWithEnum" : "Long",
"dataFormat" : "int64",
"name" : "xTotalPages",
"defaultValueWithParam" : " = data.X-total-pages;",
"baseType" : "Long",
"unescapedDescription" : "The total number of pages that can be requested. Used to drive paging requests.",
"jsonSchema" : "{\r\n \"type\" : \"integer\",\r\n \"format\" : \"int64\"\r\n}",
"exclusiveMinimum" : false,
"exclusiveMaximum" : false,
"hasMore" : false,
"required" : false,
"secondaryParam" : false,
"hasMoreNonReadOnly" : false,
"isPrimitiveType" : true,
"isModel" : false,
"isContainer" : false,
"isString" : false,
"isNumeric" : true,
"isInteger" : false,
"isLong" : true,
"isNumber" : false,
"isFloat" : false,
"isDouble" : false,
"isByteArray" : false,
"isBinary" : false,
"isFile" : false,
"isBoolean" : false,
"isDate" : false,
"isDateTime" : false,
"isUuid" : false,
"isEmail" : false,
"isFreeFormObject" : false,
"isListContainer" : false,
"isMapContainer" : false,
"isEnum" : false,
"isReadOnly" : false,
"isWriteOnly" : false,
"isNullable" : false,
"isSelfReference" : false,
"vendorExtensions" : { },
"hasValidation" : false,
"isInherited" : false,
"nameInCamelCase" : "XTotalPages",
"nameInSnakeCase" : "X_TOTAL_PAGES",
"isXmlAttribute" : false,
"isXmlWrapped" : false,
"iexclusiveMaximum" : false,
"datatype" : "Long"
}, {
"openApiType" : "string",
"baseName" : "ETag",
"getter" : "getEtag",
"setter" : "setEtag",
"description" : "The standard ETag HTTP header.",
"dataType" : "String",
"datatypeWithEnum" : "String",
"name" : "etag",
"defaultValueWithParam" : " = data.ETag;",
"baseType" : "String",
"unescapedDescription" : "The standard ETag HTTP header.",
"jsonSchema" : "{\r\n \"type\" : \"string\"\r\n}",
"exclusiveMinimum" : false,
"exclusiveMaximum" : false,
"hasMore" : false,
"required" : false,
"secondaryParam" : false,
"hasMoreNonReadOnly" : false,
"isPrimitiveType" : true,
"isModel" : false,
"isContainer" : false,
"isString" : true,
"isNumeric" : false,
"isInteger" : false,
"isLong" : false,
"isNumber" : false,
"isFloat" : false,
"isDouble" : false,
"isByteArray" : false,
"isBinary" : false,
"isFile" : false,
"isBoolean" : false,
"isDate" : false,
"isDateTime" : false,
"isUuid" : false,
"isEmail" : false,
"isFreeFormObject" : false,
"isListContainer" : false,
"isMapContainer" : false,
"isEnum" : false,
"isReadOnly" : false,
"isWriteOnly" : false,
"isNullable" : false,
"isSelfReference" : false,
"vendorExtensions" : { },
"hasValidation" : false,
"isInherited" : false,
"nameInCamelCase" : "Etag",
"nameInSnakeCase" : "ETAG",
"isXmlAttribute" : false,
"isXmlWrapped" : false,
"iexclusiveMaximum" : false,
"datatype" : "String"
}, {
"openApiType" : "integer",
"baseName" : "X-total-count",
"getter" : "getxTotalCount",
"setter" : "setxTotalCount",
"description" : "The total results for the particular query. Used to drive paging requests.",
"dataType" : "Long",
"datatypeWithEnum" : "Long",
"dataFormat" : "int64",
"name" : "xTotalCount",
"defaultValueWithParam" : " = data.X-total-count;",
"baseType" : "Long",
"unescapedDescription" : "The total results for the particular query. Used to drive paging requests.",
"jsonSchema" : "{\r\n \"type\" : \"integer\",\r\n \"format\" : \"int64\"\r\n}",
"exclusiveMinimum" : false,
"exclusiveMaximum" : false,
"hasMore" : false,
"required" : false,
"secondaryParam" : false,
"hasMoreNonReadOnly" : false,
"isPrimitiveType" : true,
"isModel" : false,
"isContainer" : false,
"isString" : false,
"isNumeric" : true,
"isInteger" : false,
"isLong" : true,
"isNumber" : false,
"isFloat" : false,
"isDouble" : false,
"isByteArray" : false,
"isBinary" : false,
"isFile" : false,
"isBoolean" : false,
"isDate" : false,
"isDateTime" : false,
"isUuid" : false,
"isEmail" : false,
"isFreeFormObject" : false,
"isListContainer" : false,
"isMapContainer" : false,
"isEnum" : false,
"isReadOnly" : false,
"isWriteOnly" : false,
"isNullable" : false,
"isSelfReference" : false,
"vendorExtensions" : { },
"hasValidation" : false,
"isInherited" : false,
"nameInCamelCase" : "XTotalCount",
"nameInSnakeCase" : "X_TOTAL_COUNT",
"isXmlAttribute" : false,
"isXmlWrapped" : false,
"iexclusiveMaximum" : false,
"datatype" : "Long"
}, {
"openApiType" : "integer",
"baseName" : "X-element-count",
"getter" : "getxElementCount",
"setter" : "setxElementCount",
"description" : "The number of elements returned in the current request. Used to drive paging requests.",
"dataType" : "Long",
"datatypeWithEnum" : "Long",
"dataFormat" : "int64",
"name" : "xElementCount",
"defaultValueWithParam" : " = data.X-element-count;",
"baseType" : "Long",
"unescapedDescription" : "The number of elements returned in the current request. Used to drive paging requests.",
"jsonSchema" : "{\r\n \"type\" : \"integer\",\r\n \"format\" : \"int64\"\r\n}",
"exclusiveMinimum" : false,
"exclusiveMaximum" : false,
"hasMore" : false,
"required" : false,
"secondaryParam" : false,
"hasMoreNonReadOnly" : false,
"isPrimitiveType" : true,
"isModel" : false,
"isContainer" : false,
"isString" : false,
"isNumeric" : true,
"isInteger" : false,
"isLong" : true,
"isNumber" : false,
"isFloat" : false,
"isDouble" : false,
"isByteArray" : false,
"isBinary" : false,
"isFile" : false,
"isBoolean" : false,
"isDate" : false,
"isDateTime" : false,
"isUuid" : false,
"isEmail" : false,
"isFreeFormObject" : false,
"isListContainer" : false,
"isMapContainer" : false,
"isEnum" : false,
"isReadOnly" : false,
"isWriteOnly" : false,
"isNullable" : false,
"isSelfReference" : false,
"vendorExtensions" : { },
"hasValidation" : false,
"isInherited" : false,
"nameInCamelCase" : "XElementCount",
"nameInSnakeCase" : "X_ELEMENT_COUNT",
"isXmlAttribute" : false,
"isXmlWrapped" : false,
"iexclusiveMaximum" : false,
"datatype" : "Long"
} ],
"hasAuthMethods" : false,
"hasConsumes" : false,
"hasProduces" : true,
"hasParams" : true,
"hasOptionalParams" : true,
"hasRequiredParams" : false,
"returnTypeIsPrimitive" : false,
"returnSimpleType" : false,
"subresourceOperation" : false,
"isMapContainer" : false,
"isListContainer" : true,
"isMultipart" : false,
"hasMore" : false,
"isResponseBinary" : false,
"isResponseFile" : false,
"hasReference" : true,
"isRestfulIndex" : false,
"isRestfulShow" : false,
"isRestfulCreate" : false,
"isRestfulUpdate" : false,
"isRestfulDestroy" : false,
"isRestful" : false,
"isDeprecated" : false,
"isCallbackRequest" : false,
"path" : "/actions",
"operationId" : "queryActions",
"returnType" : "List<Action>",
"httpMethod" : "GET",
"returnBaseType" : "Action",
"returnContainer" : "array",
"summary" : "Get actions",
"baseName" : "Action",
"defaultResponse" : "new ArrayList<Action>()",
"produces" : [ {
"mediaType" : "application/json"
} ],
"servers" : [ ],
"allParams" : [ {
"isFormParam" : false,
"isQueryParam" : true,
"isPathParam" : false,
"isHeaderParam" : false,
"isCookieParam" : false,
"isBodyParam" : false,
"hasMore" : false,
"isContainer" : false,
"secondaryParam" : false,
"isCollectionFormatMulti" : false,
"isPrimitiveType" : true,
"isModel" : false,
"baseName" : "id",
"paramName" : "id",
"dataType" : "String",
"description" : "The internal ID of the object.",
"unescapedDescription" : "The internal ID of the object.",
"example" : "\"id_example\"",
"jsonSchema" : "{\r\n \"name\" : \"id\",\r\n \"in\" : \"query\",\r\n \"description\" : \"The internal ID of the object.\",\r\n \"schema\" : {\r\n \"type\" : \"string\"\r\n }\r\n}",
"isString" : true,
"isNumeric" : false,
"isInteger" : false,
"isLong" : false,
"isNumber" : false,
"isFloat" : false,
"isDouble" : false,
"isByteArray" : false,
"isBinary" : false,
"isBoolean" : false,
"isDate" : false,
"isDateTime" : false,
"isUuid" : false,
"isEmail" : false,
"isFreeFormObject" : false,
"isListContainer" : false,
"isMapContainer" : false,
"isFile" : false,
"isEnum" : false,
"vendorExtensions" : { },
"hasValidation" : false,
"isNullable" : false,
"required" : false,
"exclusiveMaximum" : false,
"exclusiveMinimum" : false,
"uniqueItems" : false
} ],
"bodyParams" : [ ],
"pathParams" : [ ],
"queryParams" : [ {
"isFormParam" : false,
"isQueryParam" : true,
"isPathParam" : false,
"isHeaderParam" : false,
"isCookieParam" : false,
"isBodyParam" : false,
"hasMore" : false,
"isContainer" : false,
"secondaryParam" : false,
"isCollectionFormatMulti" : false,
"isPrimitiveType" : true,
"isModel" : false,
"baseName" : "id",
"paramName" : "id",
"dataType" : "String",
"description" : "The internal ID of the object.",
"unescapedDescription" : "The internal ID of the object.",
"example" : "\"id_example\"",
"jsonSchema" : "{\r\n \"name\" : \"id\",\r\n \"in\" : \"query\",\r\n \"description\" : \"The internal ID of the object.\",\r\n \"schema\" : {\r\n \"type\" : \"string\"\r\n }\r\n}",
"isString" : true,
"isNumeric" : false,
"isInteger" : false,
"isLong" : false,
"isNumber" : false,
"isFloat" : false,
"isDouble" : false,
"isByteArray" : false,
"isBinary" : false,
"isBoolean" : false,
"isDate" : false,
"isDateTime" : false,
"isUuid" : false,
"isEmail" : false,
"isFreeFormObject" : false,
"isListContainer" : false,
"isMapContainer" : false,
"isFile" : false,
"isEnum" : false,
"vendorExtensions" : { },
"hasValidation" : false,
"isNullable" : false,
"required" : false,
"exclusiveMaximum" : false,
"exclusiveMinimum" : false,
"uniqueItems" : false
} ],
"headerParams" : [ ],
"formParams" : [ ],
"cookieParams" : [ ],
"requiredParams" : [ ],
"optionalParams" : [ {
"isFormParam" : false,
"isQueryParam" : true,
"isPathParam" : false,
"isHeaderParam" : false,
"isCookieParam" : false,
"isBodyParam" : false,
"hasMore" : false,
"isContainer" : false,
"secondaryParam" : false,
"isCollectionFormatMulti" : false,
"isPrimitiveType" : true,
"isModel" : false,
"baseName" : "id",
"paramName" : "id",
"dataType" : "String",
"description" : "The internal ID of the object.",
"unescapedDescription" : "The internal ID of the object.",
"example" : "\"id_example\"",
"jsonSchema" : "{\r\n \"name\" : \"id\",\r\n \"in\" : \"query\",\r\n \"description\" : \"The internal ID of the object.\",\r\n \"schema\" : {\r\n \"type\" : \"string\"\r\n }\r\n}",
"isString" : true,
"isNumeric" : false,
"isInteger" : false,
"isLong" : false,
"isNumber" : false,
"isFloat" : false,
"isDouble" : false,
"isByteArray" : false,
"isBinary" : false,
"isBoolean" : false,
"isDate" : false,
"isDateTime" : false,
"isUuid" : false,
"isEmail" : false,
"isFreeFormObject" : false,
"isListContainer" : false,
"isMapContainer" : false,
"isFile" : false,
"isEnum" : false,
"vendorExtensions" : { },
"hasValidation" : false,
"isNullable" : false,
"required" : false,
"exclusiveMaximum" : false,
"exclusiveMinimum" : false,
"uniqueItems" : false
} ],
"tags" : [ {
"name" : "Action"
} ],
"responses" : [ {
"headers" : [ {
"openApiType" : "integer",
"baseName" : "X-total-pages",
"getter" : "getxTotalPages",
"setter" : "setxTotalPages",
"description" : "The total number of pages that can be requested. Used to drive paging requests.",
"dataType" : "Long",
"datatypeWithEnum" : "Long",
"dataFormat" : "int64",
"name" : "xTotalPages",
"defaultValueWithParam" : " = data.X-total-pages;",
"baseType" : "Long",
"unescapedDescription" : "The total number of pages that can be requested. Used to drive paging requests.",
"jsonSchema" : "{\r\n \"type\" : \"integer\",\r\n \"format\" : \"int64\"\r\n}",
"exclusiveMinimum" : false,
"exclusiveMaximum" : false,
"hasMore" : false,
"required" : false,
"secondaryParam" : false,
"hasMoreNonReadOnly" : false,
"isPrimitiveType" : true,
"isModel" : false,
"isContainer" : false,
"isString" : false,
"isNumeric" : true,
"isInteger" : false,
"isLong" : true,
"isNumber" : false,
"isFloat" : false,
"isDouble" : false,
"isByteArray" : false,
"isBinary" : false,
"isFile" : false,
"isBoolean" : false,
"isDate" : false,
"isDateTime" : false,
"isUuid" : false,
"isEmail" : false,
"isFreeFormObject" : false,
"isListContainer" : false,
"isMapContainer" : false,
"isEnum" : false,
"isReadOnly" : false,
"isWriteOnly" : false,
"isNullable" : false,
"isSelfReference" : false,
"vendorExtensions" : { },
"hasValidation" : false,
"isInherited" : false,
"nameInCamelCase" : "XTotalPages",
"nameInSnakeCase" : "X_TOTAL_PAGES",
"isXmlAttribute" : false,
"isXmlWrapped" : false,
"iexclusiveMaximum" : false,
"datatype" : "Long"
}, {
"openApiType" : "string",
"baseName" : "ETag",
"getter" : "getEtag",
"setter" : "setEtag",
"description" : "The standard ETag HTTP header.",
"dataType" : "String",
"datatypeWithEnum" : "String",
"name" : "etag",
"defaultValueWithParam" : " = data.ETag;",
"baseType" : "String",
"unescapedDescription" : "The standard ETag HTTP header.",
"jsonSchema" : "{\r\n \"type\" : \"string\"\r\n}",
"exclusiveMinimum" : false,
"exclusiveMaximum" : false,
"hasMore" : false,
"required" : false,
"secondaryParam" : false,
"hasMoreNonReadOnly" : false,
"isPrimitiveType" : true,
"isModel" : false,
"isContainer" : false,
"isString" : true,
"isNumeric" : false,
"isInteger" : false,
"isLong" : false,
"isNumber" : false,
"isFloat" : false,
"isDouble" : false,
"isByteArray" : false,
"isBinary" : false,
"isFile" : false,
"isBoolean" : false,
"isDate" : false,
"isDateTime" : false,
"isUuid" : false,
"isEmail" : false,
"isFreeFormObject" : false,
"isListContainer" : false,
"isMapContainer" : false,
"isEnum" : false,
"isReadOnly" : false,
"isWriteOnly" : false,
"isNullable" : false,
"isSelfReference" : false,
"vendorExtensions" : { },
"hasValidation" : false,
"isInherited" : false,
"nameInCamelCase" : "Etag",
"nameInSnakeCase" : "ETAG",
"isXmlAttribute" : false,
"isXmlWrapped" : false,
"iexclusiveMaximum" : false,
"datatype" : "String"
}, {
"openApiType" : "integer",
"baseName" : "X-total-count",
"getter" : "getxTotalCount",
"setter" : "setxTotalCount",
"description" : "The total results for the particular query. Used to drive paging requests.",
"dataType" : "Long",
"datatypeWithEnum" : "Long",
"dataFormat" : "int64",
"name" : "xTotalCount",
"defaultValueWithParam" : " = data.X-total-count;",
"baseType" : "Long",
"unescapedDescription" : "The total results for the particular query. Used to drive paging requests.",
"jsonSchema" : "{\r\n \"type\" : \"integer\",\r\n \"format\" : \"int64\"\r\n}",
"exclusiveMinimum" : false,
"exclusiveMaximum" : false,
"hasMore" : false,
"required" : false,
"secondaryParam" : false,
"hasMoreNonReadOnly" : false,
"isPrimitiveType" : true,
"isModel" : false,
"isContainer" : false,
"isString" : false,
"isNumeric" : true,
"isInteger" : false,
"isLong" : true,
"isNumber" : false,
"isFloat" : false,
"isDouble" : false,
"isByteArray" : false,
"isBinary" : false,
"isFile" : false,
"isBoolean" : false,
"isDate" : false,
"isDateTime" : false,
"isUuid" : false,
"isEmail" : false,
"isFreeFormObject" : false,
"isListContainer" : false,
"isMapContainer" : false,
"isEnum" : false,
"isReadOnly" : false,
"isWriteOnly" : false,
"isNullable" : false,
"isSelfReference" : false,
"vendorExtensions" : { },
"hasValidation" : false,
"isInherited" : false,
"nameInCamelCase" : "XTotalCount",
"nameInSnakeCase" : "X_TOTAL_COUNT",
"isXmlAttribute" : false,
"isXmlWrapped" : false,
"iexclusiveMaximum" : false,
"datatype" : "Long"
}, {
"openApiType" : "integer",
"baseName" : "X-element-count",
"getter" : "getxElementCount",
"setter" : "setxElementCount",
"description" : "The number of elements returned in the current request. Used to drive paging requests.",
"dataType" : "Long",
"datatypeWithEnum" : "Long",
"dataFormat" : "int64",
"name" : "xElementCount",
"defaultValueWithParam" : " = data.X-element-count;",
"baseType" : "Long",
"unescapedDescription" : "The number of elements returned in the current request. Used to drive paging requests.",
"jsonSchema" : "{\r\n \"type\" : \"integer\",\r\n \"format\" : \"int64\"\r\n}",
"exclusiveMinimum" : false,
"exclusiveMaximum" : false,
"hasMore" : false,
"required" : false,
"secondaryParam" : false,
"hasMoreNonReadOnly" : false,
"isPrimitiveType" : true,
"isModel" : false,
"isContainer" : false,
"isString" : false,
"isNumeric" : true,
"isInteger" : false,
"isLong" : true,
"isNumber" : false,
"isFloat" : false,
"isDouble" : false,
"isByteArray" : false,
"isBinary" : false,
"isFile" : false,
"isBoolean" : false,
"isDate" : false,
"isDateTime" : false,
"isUuid" : false,
"isEmail" : false,
"isFreeFormObject" : false,
"isListContainer" : false,
"isMapContainer" : false,
"isEnum" : false,
"isReadOnly" : false,
"isWriteOnly" : false,
"isNullable" : false,
"isSelfReference" : false,
"vendorExtensions" : { },
"hasValidation" : false,
"isInherited" : false,
"nameInCamelCase" : "XElementCount",
"nameInSnakeCase" : "X_ELEMENT_COUNT",
"isXmlAttribute" : false,
"isXmlWrapped" : false,
"iexclusiveMaximum" : false,
"datatype" : "Long"
} ],
"code" : "200",
"message" : "Success",
"hasMore" : true,
"dataType" : "List<Action>",
"baseType" : "Action",
"containerType" : "array",
"hasHeaders" : true,
"isString" : false,
"isNumeric" : false,
"isInteger" : false,
"isLong" : false,
"isNumber" : false,
"isFloat" : false,
"isDouble" : false,
"isByteArray" : false,
"isBoolean" : false,
"isDate" : false,
"isDateTime" : false,
"isUuid" : false,
"isEmail" : false,
"isModel" : false,
"isFreeFormObject" : false,
"isDefault" : true,
"simpleType" : false,
"primitiveType" : false,
"isMapContainer" : false,
"isListContainer" : true,
"isBinary" : false,
"isFile" : false,
"schema" : {
"type" : "array",
"items" : {
"$ref" : "#/components/schemas/Action"
}
},
"jsonSchema" : "{\r\n \"description\" : \"Success\",\r\n \"headers\" : {\r\n \"X-total-pages\" : {\r\n \"description\" : \"The total number of pages that can be requested. Used to drive paging requests.\",\r\n \"schema\" : {\r\n \"type\" : \"integer\",\r\n \"format\" : \"int64\"\r\n }\r\n },\r\n \"ETag\" : {\r\n \"description\" : \"The standard ETag HTTP header.\",\r\n \"schema\" : {\r\n \"type\" : \"string\"\r\n }\r\n },\r\n \"X-total-count\" : {\r\n \"description\" : \"The total results for the particular query. Used to drive paging requests.\",\r\n \"schema\" : {\r\n \"type\" : \"integer\",\r\n \"format\" : \"int64\"\r\n }\r\n },\r\n \"X-element-count\" : {\r\n \"description\" : \"The number of elements returned in the current request. Used to drive paging requests.\",\r\n \"schema\" : {\r\n \"type\" : \"integer\",\r\n \"format\" : \"int64\"\r\n }\r\n }\r\n },\r\n \"content\" : {\r\n \"application/json\" : {\r\n \"schema\" : {\r\n \"type\" : \"array\",\r\n \"items\" : {\r\n \"$ref\" : \"#/components/schemas/Action\"\r\n }\r\n }\r\n }\r\n }\r\n}",
"vendorExtensions" : { },
"wildcard" : false
}, {
"headers" : [ ],
"code" : "400",
"message" : "Bad request.",
"hasMore" : true,
"hasHeaders" : false,
"isString" : false,
"isNumeric" : false,
"isInteger" : false,
"isLong" : false,
"isNumber" : false,
"isFloat" : false,
"isDouble" : false,
"isByteArray" : false,
"isBoolean" : false,
"isDate" : false,
"isDateTime" : false,
"isUuid" : false,
"isEmail" : false,
"isModel" : false,
"isFreeFormObject" : false,
"isDefault" : false,
"simpleType" : true,
"primitiveType" : true,
"isMapContainer" : false,
"isListContainer" : false,
"isBinary" : false,
"isFile" : false,
"jsonSchema" : "{\r\n \"description\" : \"Bad request.\",\r\n \"content\" : { }\r\n}",
"vendorExtensions" : { },
"wildcard" : false
}, {
"headers" : [ ],
"code" : "0",
"message" : "Unknown error.",
"hasMore" : false,
"hasHeaders" : false,
"isString" : false,
"isNumeric" : false,
"isInteger" : false,
"isLong" : false,
"isNumber" : false,
"isFloat" : false,
"isDouble" : false,
"isByteArray" : false,
"isBoolean" : false,
"isDate" : false,
"isDateTime" : false,
"isUuid" : false,
"isEmail" : false,
"isModel" : false,
"isFreeFormObject" : false,
"isDefault" : false,
"simpleType" : true,
"primitiveType" : true,
"isMapContainer" : false,
"isListContainer" : false,
"isBinary" : false,
"isFile" : false,
"jsonSchema" : "{\r\n \"description\" : \"Unknown error.\",\r\n \"content\" : { }\r\n}",
"vendorExtensions" : { },
"wildcard" : true
} ],
"callbacks" : [ ],
"imports" : [ "Action" ],
"examples" : [ {
"contentType" : "application/json",
"example" : "null",
"statusCode" : "200"
} ],
"vendorExtensions" : {
"x-accepts" : "application/json",
"x-swagger-router-controller" : "ActionsController"
},
"nickname" : "queryActions",
"operationIdOriginal" : "queryActions",
"operationIdLowerCase" : "queryactions",
"operationIdCamelCase" : "QueryActions",
"operationIdSnakeCase" : "query_actions",
"restfulCreate" : false,
"restful" : false,
"restfulUpdate" : false,
"restfulIndex" : false,
"restfulShow" : false,
"restfulDestroy" : false,
"hasExamples" : true,
"hasBodyParam" : false,
"hasFormParams" : false,
"hasPathParams" : false,
"hasQueryParams" : true,
"hasCookieParams" : false,
"hasResponseHeaders" : true,
"hasHeaderParams" : false,
"bodyAllowed" : false
} ],
"pathPrefix" : "action"
},
"jackson" : "true",
"threetenbp" : "true",
"artifactId" : "openapi-java-client",
"artifactDescription" : "OpenAPI Java",
"hideGenerationTimestamp" : false,
"disableHtmlEscaping" : false,
"developerName" : "OpenAPI-Generator Contributors",
"scmConnection" : "scm:git:git@github.com:openapitools/openapi-generator.git",
"unescapedAppDescription" : "No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)",
"artifactVersion" : "1.0.0",
"doNotUseRx" : true,
"appName" : "TRACT Billing API",
"generateApiDocs" : true,
"generatorVersion" : "unset",
"apiPackage" : "org.openapitools.client.api",
"scmUrl" : "https://github.com/openapitools/openapi-generator",
"basePath" : "http://http:/billing/2",
"classname" : "ActionApi",
"gitRepoId" : "GIT_REPO_ID",
"booleanGetterPrefix" : "get",
"generatedDate" : "2019-04-09T15:13:38.375+02:00[Europe/Paris]",
"appDescriptionWithNewLines" : "No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)",
"gitUserId" : "GIT_USER_ID"
} ]
[main] WARN o.o.codegen.utils.URLPathUtils - 'scheme' not defined in the spec (2.0). Default to [http] for server URL [http:///billing/2]
[main] INFO o.o.codegen.DefaultGenerator - ############ Supporting file info ############
{
"appVersion" : "2",
"generatorClass" : "org.openapitools.codegen.languages.JavaClientCodegen",
"supportJava6" : false,
"groupId" : "org.openapitools",
"invokerPackage" : "org.openapitools.client",
"apiFolder" : "org\\openapitools\\client\\api",
"developerEmail" : "team@openapitools.org",
"generateModelDocs" : true,
"generateModelTests" : true,
"generateApiTests" : true,
"usePlayWS" : false,
"generateModels" : true,
"serializableModel" : false,
"playVersion" : "play25",
"inputSpec" : "C:\\Users\\xxxxxx\\github\\swagger-issue-320.json",
"host" : "",
"artifactUrl" : "https://github.com/openapitools/openapi-generator",
"developerOrganization" : "OpenAPITools.org",
"models" : [ {
"importPath" : "org.openapitools.client.model.Action",
"model" : {
"interfaces" : [ "Entity" ],
"anyOf" : [ ],
"oneOf" : [ ],
"allOf" : [ "Entity" ],
"name" : "Action",
"classname" : "Action",
"title" : "Action",
"classVarName" : "action",
"modelJson" : "{\r\n \"title\" : \"Action\",\r\n \"allOf\" : [ {\r\n \"$ref\" : \"#/components/schemas/Entity\"\r\n }, {\r\n \"required\" : [ \"action_type\" ],\r\n \"type\" : \"object\",\r\n \"properties\" : {\r\n \"name\" : {\r\n \"type\" : \"string\",\r\n \"description\" : \"The name of the action.\",\r\n \"readOnly\" : true\r\n },\r\n \"enabled\" : {\r\n \"type\" : \"boolean\",\r\n \"description\" : \"Specifies whether the action is enabled.\",\r\n \"readOnly\" : true\r\n },\r\n \"friendly_name\" : {\r\n \"type\" : \"string\",\r\n \"description\" : \"The optional additional name of the action.\",\r\n \"readOnly\" : true\r\n },\r\n \"supports_approval\" : {\r\n \"type\" : \"boolean\",\r\n \"description\" : \"Specifies whether the action supports approval.\",\r\n \"readOnly\" : true\r\n },\r\n \"action_type\" : {\r\n \"$ref\" : \"#/components/schemas/ActionType\"\r\n }\r\n },\r\n \"discriminator\" : {\r\n \"propertyName\" : \"action_type\"\r\n }\r\n } ]\r\n}",
"classFilename" : "Action",
"isAlias" : false,
"isString" : false,
"isInteger" : false,
"vars" : [ {
"openApiType" : "string",
"baseName" : "id",
"getter" : "getId",
"setter" : "setId",
"description" : "(unique_key) The ID of the entity.",
"dataType" : "String",
"datatypeWithEnum" : "String",
"name" : "id",
"defaultValueWithParam" : " = data.id;",
"baseType" : "String",
"unescapedDescription" : "(unique_key) The ID of the entity.",
"example" : "1438752",
"jsonSchema" : "{\r\n \"type\" : \"string\",\r\n \"description\" : \"(unique_key) The ID of the entity.\",\r\n \"readOnly\" : true,\r\n \"example\" : \"1438752\"\r\n}",
"exclusiveMinimum" : false,
"exclusiveMaximum" : false,
"hasMore" : true,
"required" : false,
"secondaryParam" : false,
"hasMoreNonReadOnly" : false,
"isPrimitiveType" : true,
"isModel" : false,
"isContainer" : false,
"isString" : true,
"isNumeric" : false,
"isInteger" : false,
"isLong" : false,
"isNumber" : false,
"isFloat" : false,
"isDouble" : false,
"isByteArray" : false,
"isBinary" : false,
"isFile" : false,
"isBoolean" : false,
"isDate" : false,
"isDateTime" : false,
"isUuid" : false,
"isEmail" : false,
"isFreeFormObject" : false,
"isListContainer" : false,
"isMapContainer" : false,
"isEnum" : false,
"isReadOnly" : true,
"isWriteOnly" : false,
"isNullable" : false,
"isSelfReference" : false,
"vendorExtensions" : { },
"hasValidation" : false,
"isInherited" : false,
"nameInCamelCase" : "Id",
"nameInSnakeCase" : "ID",
"isXmlAttribute" : false,
"isXmlWrapped" : false,
"iexclusiveMaximum" : false,
"datatype" : "String"
}, {
"openApiType" : "string",
"baseName" : "name",
"getter" : "getName",
"setter" : "setName",
"description" : "The name of the action.",
"dataType" : "String",
"datatypeWithEnum" : "String",
"name" : "name",
"defaultValueWithParam" : " = data.name;",
"baseType" : "String",
"unescapedDescription" : "The name of the action.",
"jsonSchema" : "{\r\n \"type\" : \"string\",\r\n \"description\" : \"The name of the action.\",\r\n \"readOnly\" : true\r\n}",
"exclusiveMinimum" : false,
"exclusiveMaximum" : false,
"hasMore" : true,
"required" : false,
"secondaryParam" : false,
"hasMoreNonReadOnly" : false,
"isPrimitiveType" : true,
"isModel" : false,
"isContainer" : false,
"isString" : true,
"isNumeric" : false,
"isInteger" : false,
"isLong" : false,
"isNumber" : false,
"isFloat" : false,
"isDouble" : false,
"isByteArray" : false,
"isBinary" : false,
"isFile" : false,
"isBoolean" : false,
"isDate" : false,
"isDateTime" : false,
"isUuid" : false,
"isEmail" : false,
"isFreeFormObject" : false,
"isListContainer" : false,
"isMapContainer" : false,
"isEnum" : false,
"isReadOnly" : true,
"isWriteOnly" : false,
"isNullable" : false,
"isSelfReference" : false,
"vendorExtensions" : { },
"hasValidation" : false,
"isInherited" : false,
"nameInCamelCase" : "Name",
"nameInSnakeCase" : "NAME",
"isXmlAttribute" : false,
"isXmlWrapped" : false,
"iexclusiveMaximum" : false,
"datatype" : "String"
}, {
"openApiType" : "boolean",
"baseName" : "enabled",
"getter" : "getEnabled",
"setter" : "setEnabled",
"description" : "Specifies whether the action is enabled.",
"dataType" : "Boolean",
"datatypeWithEnum" : "Boolean",
"name" : "enabled",
"defaultValueWithParam" : " = data.enabled;",
"baseType" : "Boolean",
"unescapedDescription" : "Specifies whether the action is enabled.",
"jsonSchema" : "{\r\n \"type\" : \"boolean\",\r\n \"description\" : \"Specifies whether the action is enabled.\",\r\n \"readOnly\" : true\r\n}",
"exclusiveMinimum" : false,
"exclusiveMaximum" : false,
"hasMore" : true,
"required" : false,
"secondaryParam" : false,
"hasMoreNonReadOnly" : false,
"isPrimitiveType" : true,
"isModel" : false,
"isContainer" : false,
"isString" : false,
"isNumeric" : false,
"isInteger" : false,
"isLong" : false,
"isNumber" : false,
"isFloat" : false,
"isDouble" : false,
"isByteArray" : false,
"isBinary" : false,
"isFile" : false,
"isBoolean" : true,
"isDate" : false,
"isDateTime" : false,
"isUuid" : false,
"isEmail" : false,
"isFreeFormObject" : false,
"isListContainer" : false,
"isMapContainer" : false,
"isEnum" : false,
"isReadOnly" : true,
"isWriteOnly" : false,
"isNullable" : false,
"isSelfReference" : false,
"vendorExtensions" : { },
"hasValidation" : false,
"isInherited" : false,
"nameInCamelCase" : "Enabled",
"nameInSnakeCase" : "ENABLED",
"isXmlAttribute" : false,
"isXmlWrapped" : false,
"iexclusiveMaximum" : false,
"datatype" : "Boolean"
}, {
"openApiType" : "string",
"baseName" : "friendly_name",
"getter" : "getFriendlyName",
"setter" : "setFriendlyName",
"description" : "The optional additional name of the action.",
"dataType" : "String",
"datatypeWithEnum" : "String",
"name" : "friendlyName",
"defaultValueWithParam" : " = data.friendly_name;",
"baseType" : "String",
"unescapedDescription" : "The optional additional name of the action.",
"jsonSchema" : "{\r\n \"type\" : \"string\",\r\n \"description\" : \"The optional additional name of the action.\",\r\n \"readOnly\" : true\r\n}",
"exclusiveMinimum" : false,
"exclusiveMaximum" : false,
"hasMore" : true,
"required" : false,
"secondaryParam" : false,
"hasMoreNonReadOnly" : false,
"isPrimitiveType" : true,
"isModel" : false,
"isContainer" : false,
"isString" : true,
"isNumeric" : false,
"isInteger" : false,
"isLong" : false,
"isNumber" : false,
"isFloat" : false,
"isDouble" : false,
"isByteArray" : false,
"isBinary" : false,
"isFile" : false,
"isBoolean" : false,
"isDate" : false,
"isDateTime" : false,
"isUuid" : false,
"isEmail" : false,
"isFreeFormObject" : false,
"isListContainer" : false,
"isMapContainer" : false,
"isEnum" : false,
"isReadOnly" : true,
"isWriteOnly" : false,
"isNullable" : false,
"isSelfReference" : false,
"vendorExtensions" : { },
"hasValidation" : false,
"isInherited" : false,
"nameInCamelCase" : "FriendlyName",
"nameInSnakeCase" : "FRIENDLY_NAME",
"isXmlAttribute" : false,
"isXmlWrapped" : false,
"iexclusiveMaximum" : false,
"datatype" : "String"
}, {
"openApiType" : "boolean",
"baseName" : "supports_approval",
"getter" : "getSupportsApproval",
"setter" : "setSupportsApproval",
"description" : "Specifies whether the action supports approval.",
"dataType" : "Boolean",
"datatypeWithEnum" : "Boolean",
"name" : "supportsApproval",
"defaultValueWithParam" : " = data.supports_approval;",
"baseType" : "Boolean",
"unescapedDescription" : "Specifies whether the action supports approval.",
"jsonSchema" : "{\r\n \"type\" : \"boolean\",\r\n \"description\" : \"Specifies whether the action supports approval.\",\r\n \"readOnly\" : true\r\n}",
"exclusiveMinimum" : false,
"exclusiveMaximum" : false,
"hasMore" : true,
"required" : false,
"secondaryParam" : false,
"hasMoreNonReadOnly" : false,
"isPrimitiveType" : true,
"isModel" : false,
"isContainer" : false,
"isString" : false,
"isNumeric" : false,
"isInteger" : false,
"isLong" : false,
"isNumber" : false,
"isFloat" : false,
"isDouble" : false,
"isByteArray" : false,
"isBinary" : false,
"isFile" : false,
"isBoolean" : true,
"isDate" : false,
"isDateTime" : false,
"isUuid" : false,
"isEmail" : false,
"isFreeFormObject" : false,
"isListContainer" : false,
"isMapContainer" : false,
"isEnum" : false,
"isReadOnly" : true,
"isWriteOnly" : false,
"isNullable" : false,
"isSelfReference" : false,
"vendorExtensions" : { },
"hasValidation" : false,
"isInherited" : false,
"nameInCamelCase" : "SupportsApproval",
"nameInSnakeCase" : "SUPPORTS_APPROVAL",
"isXmlAttribute" : false,
"isXmlWrapped" : false,
"iexclusiveMaximum" : false,
"datatype" : "Boolean"
}, {
"openApiType" : "ActionType",
"baseName" : "action_type",
"complexType" : "ActionType",
"getter" : "getActionType",
"setter" : "setActionType",
"dataType" : "ActionType",
"datatypeWithEnum" : "ActionType",
"name" : "actionType",
"defaultValueWithParam" : " = data.action_type;",
"baseType" : "ActionType",
"jsonSchema" : "{\r\n \"$ref\" : \"#/components/schemas/ActionType\"\r\n}",
"exclusiveMinimum" : false,
"exclusiveMaximum" : false,
"hasMore" : false,
"required" : true,
"secondaryParam" : false,
"hasMoreNonReadOnly" : false,
"isPrimitiveType" : false,
"isModel" : true,
"isContainer" : false,
"isString" : false,
"isNumeric" : false,
"isInteger" : false,
"isLong" : false,
"isNumber" : false,
"isFloat" : false,
"isDouble" : false,
"isByteArray" : false,
"isBinary" : false,
"isFile" : false,
"isBoolean" : false,
"isDate" : false,
"isDateTime" : false,
"isUuid" : false,
"isEmail" : false,
"isFreeFormObject" : false,
"isListContainer" : false,
"isMapContainer" : false,
"isEnum" : false,
"isReadOnly" : false,
"isWriteOnly" : false,
"isNullable" : false,
"isSelfReference" : false,
"allowableValues" : {
"enumVars" : [ {
"name" : "AGREEMENT",
"isString" : true,
"value" : "\"agreement\""
}, {
"name" : "AGREEMENT_SERVICE",
"isString" : true,
"value" : "\"agreement-service\""
}, {
"name" : "BILL_CYCLE_RUN",
"isString" : true,
"value" : "\"bill-cycle-run\""
}, {
"name" : "BILL_BATCH_RUN",
"isString" : true,
"value" : "\"bill-batch-run\""
}, {
"name" : "BILLING_ACCOUNT",
"isString" : true,
"value" : "\"billing-account\""
}, {
"name" : "COUNTER",
"isString" : true,
"value" : "\"counter\""
}, {
"name" : "CREDIT_ADJUSTMENT",
"isString" : true,
"value" : "\"credit-adjustment\""
}, {
"name" : "DISBURSEMENT",
"isString" : true,
"value" : "\"disbursement\""
}, {
"name" : "INVOICE",
"isString" : true,
"value" : "\"invoice\""
}, {
"name" : "PAYMENT",
"isString" : true,
"value" : "\"payment\""
}, {
"name" : "PRODUCT_SALE",
"isString" : true,
"value" : "\"product-sale\""
}, {
"name" : "REMOTE_PREPAID_REGISTER",
"isString" : true,
"value" : "\"remote-prepaid-register\""
}, {
"name" : "SALES_ORDER",
"isString" : true,
"value" : "\"sales-order\""
}, {
"name" : "SERVICE",
"isString" : true,
"value" : "\"service\""
}, {
"name" : "SERVICE_CFV",
"isString" : true,
"value" : "\"service-cfv\""
}, {
"name" : "SYSTEM_NOTIFICATION",
"isString" : true,
"value" : "\"system-notification\""
}, {
"name" : "USAGE_RULE",
"isString" : true,
"value" : "\"usage-rule\""
} ],
"values" : [ "agreement", "agreement-service", "bill-cycle-run", "bill-batch-run", "billing-account", "counter", "credit-adjustment", "disbursement", "invoice", "payment", "product-sale", "remote-prepaid-register", "sales-order", "service", "service-cfv", "system-notification", "usage-rule" ]
},
"vendorExtensions" : { },
"hasValidation" : false,
"isInherited" : false,
"nameInCamelCase" : "ActionType",
"nameInSnakeCase" : "ACTION_TYPE",
"isXmlAttribute" : false,
"isXmlWrapped" : false,
"iexclusiveMaximum" : false,
"datatype" : "ActionType"
} ],
"allVars" : [ {
"openApiType" : "string",
"baseName" : "name",
"getter" : "getName",
"setter" : "setName",
"description" : "The name of the action.",
"dataType" : "String",
"datatypeWithEnum" : "String",
"name" : "name",
"defaultValueWithParam" : " = data.name;",
"baseType" : "String",
"unescapedDescription" : "The name of the action.",
"jsonSchema" : "{\r\n \"type\" : \"string\",\r\n \"description\" : \"The name of the action.\",\r\n \"readOnly\" : true\r\n}",
"exclusiveMinimum" : false,
"exclusiveMaximum" : false,
"hasMore" : true,
"required" : false,
"secondaryParam" : false,
"hasMoreNonReadOnly" : false,
"isPrimitiveType" : true,
"isModel" : false,
"isContainer" : false,
"isString" : true,
"isNumeric" : false,
"isInteger" : false,
"isLong" : false,
"isNumber" : false,
"isFloat" : false,
"isDouble" : false,
"isByteArray" : false,
"isBinary" : false,
"isFile" : false,
"isBoolean" : false,
"isDate" : false,
"isDateTime" : false,
"isUuid" : false,
"isEmail" : false,
"isFreeFormObject" : false,
"isListContainer" : false,
"isMapContainer" : false,
"isEnum" : false,
"isReadOnly" : true,
"isWriteOnly" : false,
"isNullable" : false,
"isSelfReference" : false,
"vendorExtensions" : { },
"hasValidation" : false,
"isInherited" : false,
"nameInCamelCase" : "Name",
"nameInSnakeCase" : "NAME",
"isXmlAttribute" : false,
"isXmlWrapped" : false,
"iexclusiveMaximum" : false,
"datatype" : "String"
}, {
"openApiType" : "boolean",
"baseName" : "enabled",
"getter" : "getEnabled",
"setter" : "setEnabled",
"description" : "Specifies whether the action is enabled.",
"dataType" : "Boolean",
"datatypeWithEnum" : "Boolean",
"name" : "enabled",
"defaultValueWithParam" : " = data.enabled;",
"baseType" : "Boolean",
"unescapedDescription" : "Specifies whether the action is enabled.",
"jsonSchema" : "{\r\n \"type\" : \"boolean\",\r\n \"description\" : \"Specifies whether the action is enabled.\",\r\n \"readOnly\" : true\r\n}",
"exclusiveMinimum" : false,
"exclusiveMaximum" : false,
"hasMore" : true,
"required" : false,
"secondaryParam" : false,
"hasMoreNonReadOnly" : false,
"isPrimitiveType" : true,
"isModel" : false,
"isContainer" : false,
"isString" : false,
"isNumeric" : false,
"isInteger" : false,
"isLong" : false,
"isNumber" : false,
"isFloat" : false,
"isDouble" : false,
"isByteArray" : false,
"isBinary" : false,
"isFile" : false,
"isBoolean" : true,
"isDate" : false,
"isDateTime" : false,
"isUuid" : false,
"isEmail" : false,
"isFreeFormObject" : false,
"isListContainer" : false,
"isMapContainer" : false,
"isEnum" : false,
"isReadOnly" : true,
"isWriteOnly" : false,
"isNullable" : false,
"isSelfReference" : false,
"vendorExtensions" : { },
"hasValidation" : false,
"isInherited" : false,
"nameInCamelCase" : "Enabled",
"nameInSnakeCase" : "ENABLED",
"isXmlAttribute" : false,
"isXmlWrapped" : false,
"iexclusiveMaximum" : false,
"datatype" : "Boolean"
}, {
"openApiType" : "string",
"baseName" : "friendly_name",
"getter" : "getFriendlyName",
"setter" : "setFriendlyName",
"description" : "The optional additional name of the action.",
"dataType" : "String",
"datatypeWithEnum" : "String",
"name" : "friendlyName",
"defaultValueWithParam" : " = data.friendly_name;",
"baseType" : "String",
"unescapedDescription" : "The optional additional name of the action.",
"jsonSchema" : "{\r\n \"type\" : \"string\",\r\n \"description\" : \"The optional additional name of the action.\",\r\n \"readOnly\" : true\r\n}",
"exclusiveMinimum" : false,
"exclusiveMaximum" : false,
"hasMore" : true,
"required" : false,
"secondaryParam" : false,
"hasMoreNonReadOnly" : false,
"isPrimitiveType" : true,
"isModel" : false,
"isContainer" : false,
"isString" : true,
"isNumeric" : false,
"isInteger" : false,
"isLong" : false,
"isNumber" : false,
"isFloat" : false,
"isDouble" : false,
"isByteArray" : false,
"isBinary" : false,
"isFile" : false,
"isBoolean" : false,
"isDate" : false,
"isDateTime" : false,
"isUuid" : false,
"isEmail" : false,
"isFreeFormObject" : false,
"isListContainer" : false,
"isMapContainer" : false,
"isEnum" : false,
"isReadOnly" : true,
"isWriteOnly" : false,
"isNullable" : false,
"isSelfReference" : false,
"vendorExtensions" : { },
"hasValidation" : false,
"isInherited" : false,
"nameInCamelCase" : "FriendlyName",
"nameInSnakeCase" : "FRIENDLY_NAME",
"isXmlAttribute" : false,
"isXmlWrapped" : false,
"iexclusiveMaximum" : false,
"datatype" : "String"
}, {
"openApiType" : "boolean",
"baseName" : "supports_approval",
"getter" : "getSupportsApproval",
"setter" : "setSupportsApproval",
"description" : "Specifies whether the action supports approval.",
"dataType" : "Boolean",
"datatypeWithEnum" : "Boolean",
"name" : "supportsApproval",
"defaultValueWithParam" : " = data.supports_approval;",
"baseType" : "Boolean",
"unescapedDescription" : "Specifies whether the action supports approval.",
"jsonSchema" : "{\r\n \"type\" : \"boolean\",\r\n \"description\" : \"Specifies whether the action supports approval.\",\r\n \"readOnly\" : true\r\n}",
"exclusiveMinimum" : false,
"exclusiveMaximum" : false,
"hasMore" : true,
"required" : false,
"secondaryParam" : false,
"hasMoreNonReadOnly" : false,
"isPrimitiveType" : true,
"isModel" : false,
"isContainer" : false,
"isString" : false,
"isNumeric" : false,
"isInteger" : false,
"isLong" : false,
"isNumber" : false,
"isFloat" : false,
"isDouble" : false,
"isByteArray" : false,
"isBinary" : false,
"isFile" : false,
"isBoolean" : true,
"isDate" : false,
"isDateTime" : false,
"isUuid" : false,
"isEmail" : false,
"isFreeFormObject" : false,
"isListContainer" : false,
"isMapContainer" : false,
"isEnum" : false,
"isReadOnly" : true,
"isWriteOnly" : false,
"isNullable" : false,
"isSelfReference" : false,
"vendorExtensions" : { },
"hasValidation" : false,
"isInherited" : false,
"nameInCamelCase" : "SupportsApproval",
"nameInSnakeCase" : "SUPPORTS_APPROVAL",
"isXmlAttribute" : false,
"isXmlWrapped" : false,
"iexclusiveMaximum" : false,
"datatype" : "Boolean"
}, {
"openApiType" : "ActionType",
"baseName" : "action_type",
"complexType" : "ActionType",
"getter" : "getActionType",
"setter" : "setActionType",
"dataType" : "ActionType",
"datatypeWithEnum" : "ActionType",
"name" : "actionType",
"defaultValueWithParam" : " = data.action_type;",
"baseType" : "ActionType",
"jsonSchema" : "{\r\n \"$ref\" : \"#/components/schemas/ActionType\"\r\n}",
"exclusiveMinimum" : false,
"exclusiveMaximum" : false,
"hasMore" : false,
"required" : true,
"secondaryParam" : false,
"hasMoreNonReadOnly" : false,
"isPrimitiveType" : false,
"isModel" : true,
"isContainer" : false,
"isString" : false,
"isNumeric" : false,
"isInteger" : false,
"isLong" : false,
"isNumber" : false,
"isFloat" : false,
"isDouble" : false,
"isByteArray" : false,
"isBinary" : false,
"isFile" : false,
"isBoolean" : false,
"isDate" : false,
"isDateTime" : false,
"isUuid" : false,
"isEmail" : false,
"isFreeFormObject" : false,
"isListContainer" : false,
"isMapContainer" : false,
"isEnum" : false,
"isReadOnly" : false,
"isWriteOnly" : false,
"isNullable" : false,
"isSelfReference" : false,
"allowableValues" : {
"enumVars" : [ {
"name" : "AGREEMENT",
"isString" : true,
"value" : "\"agreement\""
}, {
"name" : "AGREEMENT_SERVICE",
"isString" : true,
"value" : "\"agreement-service\""
}, {
"name" : "BILL_CYCLE_RUN",
"isString" : true,
"value" : "\"bill-cycle-run\""
}, {
"name" : "BILL_BATCH_RUN",
"isString" : true,
"value" : "\"bill-batch-run\""
}, {
"name" : "BILLING_ACCOUNT",
"isString" : true,
"value" : "\"billing-account\""
}, {
"name" : "COUNTER",
"isString" : true,
"value" : "\"counter\""
}, {
"name" : "CREDIT_ADJUSTMENT",
"isString" : true,
"value" : "\"credit-adjustment\""
}, {
"name" : "DISBURSEMENT",
"isString" : true,
"value" : "\"disbursement\""
}, {
"name" : "INVOICE",
"isString" : true,
"value" : "\"invoice\""
}, {
"name" : "PAYMENT",
"isString" : true,
"value" : "\"payment\""
}, {
"name" : "PRODUCT_SALE",
"isString" : true,
"value" : "\"product-sale\""
}, {
"name" : "REMOTE_PREPAID_REGISTER",
"isString" : true,
"value" : "\"remote-prepaid-register\""
}, {
"name" : "SALES_ORDER",
"isString" : true,
"value" : "\"sales-order\""
}, {
"name" : "SERVICE",
"isString" : true,
"value" : "\"service\""
}, {
"name" : "SERVICE_CFV",
"isString" : true,
"value" : "\"service-cfv\""
}, {
"name" : "SYSTEM_NOTIFICATION",
"isString" : true,
"value" : "\"system-notification\""
}, {
"name" : "USAGE_RULE",
"isString" : true,
"value" : "\"usage-rule\""
} ],
"values" : [ "agreement", "agreement-service", "bill-cycle-run", "bill-batch-run", "billing-account", "counter", "credit-adjustment", "disbursement", "invoice", "payment", "product-sale", "remote-prepaid-register", "sales-order", "service", "service-cfv", "system-notification", "usage-rule" ]
},
"vendorExtensions" : { },
"hasValidation" : false,
"isInherited" : false,
"nameInCamelCase" : "ActionType",
"nameInSnakeCase" : "ACTION_TYPE",
"isXmlAttribute" : false,
"isXmlWrapped" : false,
"iexclusiveMaximum" : false,
"datatype" : "ActionType"
} ],
"requiredVars" : [ {
"openApiType" : "ActionType",
"baseName" : "action_type",
"complexType" : "ActionType",
"getter" : "getActionType",
"setter" : "setActionType",
"dataType" : "ActionType",
"datatypeWithEnum" : "ActionType",
"name" : "actionType",
"defaultValueWithParam" : " = data.action_type;",
"baseType" : "ActionType",
"jsonSchema" : "{\r\n \"$ref\" : \"#/components/schemas/ActionType\"\r\n}",
"exclusiveMinimum" : false,
"exclusiveMaximum" : false,
"hasMore" : false,
"required" : true,
"secondaryParam" : false,
"hasMoreNonReadOnly" : false,
"isPrimitiveType" : false,
"isModel" : true,
"isContainer" : false,
"isString" : false,
"isNumeric" : false,
"isInteger" : false,
"isLong" : false,
"isNumber" : false,
"isFloat" : false,
"isDouble" : false,
"isByteArray" : false,
"isBinary" : false,
"isFile" : false,
"isBoolean" : false,
"isDate" : false,
"isDateTime" : false,
"isUuid" : false,
"isEmail" : false,
"isFreeFormObject" : false,
"isListContainer" : false,
"isMapContainer" : false,
"isEnum" : false,
"isReadOnly" : false,
"isWriteOnly" : false,
"isNullable" : false,
"isSelfReference" : false,
"allowableValues" : {
"enumVars" : [ {
"name" : "AGREEMENT",
"isString" : true,
"value" : "\"agreement\""
}, {
"name" : "AGREEMENT_SERVICE",
"isString" : true,
"value" : "\"agreement-service\""
}, {
"name" : "BILL_CYCLE_RUN",
"isString" : true,
"value" : "\"bill-cycle-run\""
}, {
"name" : "BILL_BATCH_RUN",
"isString" : true,
"value" : "\"bill-batch-run\""
}, {
"name" : "BILLING_ACCOUNT",
"isString" : true,
"value" : "\"billing-account\""
}, {
"name" : "COUNTER",
"isString" : true,
"value" : "\"counter\""
}, {
"name" : "CREDIT_ADJUSTMENT",
"isString" : true,
"value" : "\"credit-adjustment\""
}, {
"name" : "DISBURSEMENT",
"isString" : true,
"value" : "\"disbursement\""
}, {
"name" : "INVOICE",
"isString" : true,
"value" : "\"invoice\""
}, {
"name" : "PAYMENT",
"isString" : true,
"value" : "\"payment\""
}, {
"name" : "PRODUCT_SALE",
"isString" : true,
"value" : "\"product-sale\""
}, {
"name" : "REMOTE_PREPAID_REGISTER",
"isString" : true,
"value" : "\"remote-prepaid-register\""
}, {
"name" : "SALES_ORDER",
"isString" : true,
"value" : "\"sales-order\""
}, {
"name" : "SERVICE",
"isString" : true,
"value" : "\"service\""
}, {
"name" : "SERVICE_CFV",
"isString" : true,
"value" : "\"service-cfv\""
}, {
"name" : "SYSTEM_NOTIFICATION",
"isString" : true,
"value" : "\"system-notification\""
}, {
"name" : "USAGE_RULE",
"isString" : true,
"value" : "\"usage-rule\""
} ],
"values" : [ "agreement", "agreement-service", "bill-cycle-run", "bill-batch-run", "billing-account", "counter", "credit-adjustment", "disbursement", "invoice", "payment", "product-sale", "remote-prepaid-register", "sales-order", "service", "service-cfv", "system-notification", "usage-rule" ]
},
"vendorExtensions" : { },
"hasValidation" : false,
"isInherited" : false,
"nameInCamelCase" : "ActionType",
"nameInSnakeCase" : "ACTION_TYPE",
"isXmlAttribute" : false,
"isXmlWrapped" : false,
"iexclusiveMaximum" : false,
"datatype" : "ActionType"
} ],
"optionalVars" : [ {
"openApiType" : "string",
"baseName" : "id",
"getter" : "getId",
"setter" : "setId",
"description" : "(unique_key) The ID of the entity.",
"dataType" : "String",
"datatypeWithEnum" : "String",
"name" : "id",
"defaultValueWithParam" : " = data.id;",
"baseType" : "String",
"unescapedDescription" : "(unique_key) The ID of the entity.",
"example" : "1438752",
"jsonSchema" : "{\r\n \"type\" : \"string\",\r\n \"description\" : \"(unique_key) The ID of the entity.\",\r\n \"readOnly\" : true,\r\n \"example\" : \"1438752\"\r\n}",
"exclusiveMinimum" : false,
"exclusiveMaximum" : false,
"hasMore" : true,
"required" : false,
"secondaryParam" : false,
"hasMoreNonReadOnly" : false,
"isPrimitiveType" : true,
"isModel" : false,
"isContainer" : false,
"isString" : true,
"isNumeric" : false,
"isInteger" : false,
"isLong" : false,
"isNumber" : false,
"isFloat" : false,
"isDouble" : false,
"isByteArray" : false,
"isBinary" : false,
"isFile" : false,
"isBoolean" : false,
"isDate" : false,
"isDateTime" : false,
"isUuid" : false,
"isEmail" : false,
"isFreeFormObject" : false,
"isListContainer" : false,
"isMapContainer" : false,
"isEnum" : false,
"isReadOnly" : true,
"isWriteOnly" : false,
"isNullable" : false,
"isSelfReference" : false,
"vendorExtensions" : { },
"hasValidation" : false,
"isInherited" : false,
"nameInCamelCase" : "Id",
"nameInSnakeCase" : "ID",
"isXmlAttribute" : false,
"isXmlWrapped" : false,
"iexclusiveMaximum" : false,
"datatype" : "String"
}, {
"openApiType" : "string",
"baseName" : "name",
"getter" : "getName",
"setter" : "setName",
"description" : "The name of the action.",
"dataType" : "String",
"datatypeWithEnum" : "String",
"name" : "name",
"defaultValueWithParam" : " = data.name;",
"baseType" : "String",
"unescapedDescription" : "The name of the action.",
"jsonSchema" : "{\r\n \"type\" : \"string\",\r\n \"description\" : \"The name of the action.\",\r\n \"readOnly\" : true\r\n}",
"exclusiveMinimum" : false,
"exclusiveMaximum" : false,
"hasMore" : true,
"required" : false,
"secondaryParam" : false,
"hasMoreNonReadOnly" : false,
"isPrimitiveType" : true,
"isModel" : false,
"isContainer" : false,
"isString" : true,
"isNumeric" : false,
"isInteger" : false,
"isLong" : false,
"isNumber" : false,
"isFloat" : false,
"isDouble" : false,
"isByteArray" : false,
"isBinary" : false,
"isFile" : false,
"isBoolean" : false,
"isDate" : false,
"isDateTime" : false,
"isUuid" : false,
"isEmail" : false,
"isFreeFormObject" : false,
"isListContainer" : false,
"isMapContainer" : false,
"isEnum" : false,
"isReadOnly" : true,
"isWriteOnly" : false,
"isNullable" : false,
"isSelfReference" : false,
"vendorExtensions" : { },
"hasValidation" : false,
"isInherited" : false,
"nameInCamelCase" : "Name",
"nameInSnakeCase" : "NAME",
"isXmlAttribute" : false,
"isXmlWrapped" : false,
"iexclusiveMaximum" : false,
"datatype" : "String"
}, {
"openApiType" : "boolean",
"baseName" : "enabled",
"getter" : "getEnabled",
"setter" : "setEnabled",
"description" : "Specifies whether the action is enabled.",
"dataType" : "Boolean",
"datatypeWithEnum" : "Boolean",
"name" : "enabled",
"defaultValueWithParam" : " = data.enabled;",
"baseType" : "Boolean",
"unescapedDescription" : "Specifies whether the action is enabled.",
"jsonSchema" : "{\r\n \"type\" : \"boolean\",\r\n \"description\" : \"Specifies whether the action is enabled.\",\r\n \"readOnly\" : true\r\n}",
"exclusiveMinimum" : false,
"exclusiveMaximum" : false,
"hasMore" : true,
"required" : false,
"secondaryParam" : false,
"hasMoreNonReadOnly" : false,
"isPrimitiveType" : true,
"isModel" : false,
"isContainer" : false,
"isString" : false,
"isNumeric" : false,
"isInteger" : false,
"isLong" : false,
"isNumber" : false,
"isFloat" : false,
"isDouble" : false,
"isByteArray" : false,
"isBinary" : false,
"isFile" : false,
"isBoolean" : true,
"isDate" : false,
"isDateTime" : false,
"isUuid" : false,
"isEmail" : false,
"isFreeFormObject" : false,
"isListContainer" : false,
"isMapContainer" : false,
"isEnum" : false,
"isReadOnly" : true,
"isWriteOnly" : false,
"isNullable" : false,
"isSelfReference" : false,
"vendorExtensions" : { },
"hasValidation" : false,
"isInherited" : false,
"nameInCamelCase" : "Enabled",
"nameInSnakeCase" : "ENABLED",
"isXmlAttribute" : false,
"isXmlWrapped" : false,
"iexclusiveMaximum" : false,
"datatype" : "Boolean"
}, {
"openApiType" : "string",
"baseName" : "friendly_name",
"getter" : "getFriendlyName",
"setter" : "setFriendlyName",
"description" : "The optional additional name of the action.",
"dataType" : "String",
"datatypeWithEnum" : "String",
"name" : "friendlyName",
"defaultValueWithParam" : " = data.friendly_name;",
"baseType" : "String",
"unescapedDescription" : "The optional additional name of the action.",
"jsonSchema" : "{\r\n \"type\" : \"string\",\r\n \"description\" : \"The optional additional name of the action.\",\r\n \"readOnly\" : true\r\n}",
"exclusiveMinimum" : false,
"exclusiveMaximum" : false,
"hasMore" : true,
"required" : false,
"secondaryParam" : false,
"hasMoreNonReadOnly" : false,
"isPrimitiveType" : true,
"isModel" : false,
"isContainer" : false,
"isString" : true,
"isNumeric" : false,
"isInteger" : false,
"isLong" : false,
"isNumber" : false,
"isFloat" : false,
"isDouble" : false,
"isByteArray" : false,
"isBinary" : false,
"isFile" : false,
"isBoolean" : false,
"isDate" : false,
"isDateTime" : false,
"isUuid" : false,
"isEmail" : false,
"isFreeFormObject" : false,
"isListContainer" : false,
"isMapContainer" : false,
"isEnum" : false,
"isReadOnly" : true,
"isWriteOnly" : false,
"isNullable" : false,
"isSelfReference" : false,
"vendorExtensions" : { },
"hasValidation" : false,
"isInherited" : false,
"nameInCamelCase" : "FriendlyName",
"nameInSnakeCase" : "FRIENDLY_NAME",
"isXmlAttribute" : false,
"isXmlWrapped" : false,
"iexclusiveMaximum" : false,
"datatype" : "String"
}, {
"openApiType" : "boolean",
"baseName" : "supports_approval",
"getter" : "getSupportsApproval",
"setter" : "setSupportsApproval",
"description" : "Specifies whether the action supports approval.",
"dataType" : "Boolean",
"datatypeWithEnum" : "Boolean",
"name" : "supportsApproval",
"defaultValueWithParam" : " = data.supports_approval;",
"baseType" : "Boolean",
"unescapedDescription" : "Specifies whether the action supports approval.",
"jsonSchema" : "{\r\n \"type\" : \"boolean\",\r\n \"description\" : \"Specifies whether the action supports approval.\",\r\n \"readOnly\" : true\r\n}",
"exclusiveMinimum" : false,
"exclusiveMaximum" : false,
"hasMore" : false,
"required" : false,
"secondaryParam" : false,
"hasMoreNonReadOnly" : false,
"isPrimitiveType" : true,
"isModel" : false,
"isContainer" : false,
"isString" : false,
"isNumeric" : false,
"isInteger" : false,
"isLong" : false,
"isNumber" : false,
"isFloat" : false,
"isDouble" : false,
"isByteArray" : false,
"isBinary" : false,
"isFile" : false,
"isBoolean" : true,
"isDate" : false,
"isDateTime" : false,
"isUuid" : false,
"isEmail" : false,
"isFreeFormObject" : false,
"isListContainer" : false,
"isMapContainer" : false,
"isEnum" : false,
"isReadOnly" : true,
"isWriteOnly" : false,
"isNullable" : false,
"isSelfReference" : false,
"vendorExtensions" : { },
"hasValidation" : false,
"isInherited" : false,
"nameInCamelCase" : "SupportsApproval",
"nameInSnakeCase" : "SUPPORTS_APPROVAL",
"isXmlAttribute" : false,
"isXmlWrapped" : false,
"iexclusiveMaximum" : false,
"datatype" : "Boolean"
} ],
"readOnlyVars" : [ {
"openApiType" : "string",
"baseName" : "id",
"getter" : "getId",
"setter" : "setId",
"description" : "(unique_key) The ID of the entity.",
"dataType" : "String",
"datatypeWithEnum" : "String",
"name" : "id",
"defaultValueWithParam" : " = data.id;",
"baseType" : "String",
"unescapedDescription" : "(unique_key) The ID of the entity.",
"example" : "1438752",
"jsonSchema" : "{\r\n \"type\" : \"string\",\r\n \"description\" : \"(unique_key) The ID of the entity.\",\r\n \"readOnly\" : true,\r\n \"example\" : \"1438752\"\r\n}",
"exclusiveMinimum" : false,
"exclusiveMaximum" : false,
"hasMore" : true,
"required" : false,
"secondaryParam" : false,
"hasMoreNonReadOnly" : false,
"isPrimitiveType" : true,
"isModel" : false,
"isContainer" : false,
"isString" : true,
"isNumeric" : false,
"isInteger" : false,
"isLong" : false,
"isNumber" : false,
"isFloat" : false,
"isDouble" : false,
"isByteArray" : false,
"isBinary" : false,
"isFile" : false,
"isBoolean" : false,
"isDate" : false,
"isDateTime" : false,
"isUuid" : false,
"isEmail" : false,
"isFreeFormObject" : false,
"isListContainer" : false,
"isMapContainer" : false,
"isEnum" : false,
"isReadOnly" : true,
"isWriteOnly" : false,
"isNullable" : false,
"isSelfReference" : false,
"vendorExtensions" : { },
"hasValidation" : false,
"isInherited" : false,
"nameInCamelCase" : "Id",
"nameInSnakeCase" : "ID",
"isXmlAttribute" : false,
"isXmlWrapped" : false,
"iexclusiveMaximum" : false,
"datatype" : "String"
}, {
"openApiType" : "string",
"baseName" : "name",
"getter" : "getName",
"setter" : "setName",
"description" : "The name of the action.",
"dataType" : "String",
"datatypeWithEnum" : "String",
"name" : "name",
"defaultValueWithParam" : " = data.name;",
"baseType" : "String",
"unescapedDescription" : "The name of the action.",
"jsonSchema" : "{\r\n \"type\" : \"string\",\r\n \"description\" : \"The name of the action.\",\r\n \"readOnly\" : true\r\n}",
"exclusiveMinimum" : false,
"exclusiveMaximum" : false,
"hasMore" : true,
"required" : false,
"secondaryParam" : false,
"hasMoreNonReadOnly" : false,
"isPrimitiveType" : true,
"isModel" : false,
"isContainer" : false,
"isString" : true,
"isNumeric" : false,
"isInteger" : false,
"isLong" : false,
"isNumber" : false,
"isFloat" : false,
"isDouble" : false,
"isByteArray" : false,
"isBinary" : false,
"isFile" : false,
"isBoolean" : false,
"isDate" : false,
"isDateTime" : false,
"isUuid" : false,
"isEmail" : false,
"isFreeFormObject" : false,
"isListContainer" : false,
"isMapContainer" : false,
"isEnum" : false,
"isReadOnly" : true,
"isWriteOnly" : false,
"isNullable" : false,
"isSelfReference" : false,
"vendorExtensions" : { },
"hasValidation" : false,
"isInherited" : false,
"nameInCamelCase" : "Name",
"nameInSnakeCase" : "NAME",
"isXmlAttribute" : false,
"isXmlWrapped" : false,
"iexclusiveMaximum" : false,
"datatype" : "String"
}, {
"openApiType" : "boolean",
"baseName" : "enabled",
"getter" : "getEnabled",
"setter" : "setEnabled",
"description" : "Specifies whether the action is enabled.",
"dataType" : "Boolean",
"datatypeWithEnum" : "Boolean",
"name" : "enabled",
"defaultValueWithParam" : " = data.enabled;",
"baseType" : "Boolean",
"unescapedDescription" : "Specifies whether the action is enabled.",
"jsonSchema" : "{\r\n \"type\" : \"boolean\",\r\n \"description\" : \"Specifies whether the action is enabled.\",\r\n \"readOnly\" : true\r\n}",
"exclusiveMinimum" : false,
"exclusiveMaximum" : false,
"hasMore" : true,
"required" : false,
"secondaryParam" : false,
"hasMoreNonReadOnly" : false,
"isPrimitiveType" : true,
"isModel" : false,
"isContainer" : false,
"isString" : false,
"isNumeric" : false,
"isInteger" : false,
"isLong" : false,
"isNumber" : false,
"isFloat" : false,
"isDouble" : false,
"isByteArray" : false,
"isBinary" : false,
"isFile" : false,
"isBoolean" : true,
"isDate" : false,
"isDateTime" : false,
"isUuid" : false,
"isEmail" : false,
"isFreeFormObject" : false,
"isListContainer" : false,
"isMapContainer" : false,
"isEnum" : false,
"isReadOnly" : true,
"isWriteOnly" : false,
"isNullable" : false,
"isSelfReference" : false,
"vendorExtensions" : { },
"hasValidation" : false,
"isInherited" : false,
"nameInCamelCase" : "Enabled",
"nameInSnakeCase" : "ENABLED",
"isXmlAttribute" : false,
"isXmlWrapped" : false,
"iexclusiveMaximum" : false,
"datatype" : "Boolean"
}, {
"openApiType" : "string",
"baseName" : "friendly_name",
"getter" : "getFriendlyName",
"setter" : "setFriendlyName",
"description" : "The optional additional name of the action.",
"dataType" : "String",
"datatypeWithEnum" : "String",
"name" : "friendlyName",
"defaultValueWithParam" : " = data.friendly_name;",
"baseType" : "String",
"unescapedDescription" : "The optional additional name of the action.",
"jsonSchema" : "{\r\n \"type\" : \"string\",\r\n \"description\" : \"The optional additional name of the action.\",\r\n \"readOnly\" : true\r\n}",
"exclusiveMinimum" : false,
"exclusiveMaximum" : false,
"hasMore" : true,
"required" : false,
"secondaryParam" : false,
"hasMoreNonReadOnly" : false,
"isPrimitiveType" : true,
"isModel" : false,
"isContainer" : false,
"isString" : true,
"isNumeric" : false,
"isInteger" : false,
"isLong" : false,
"isNumber" : false,
"isFloat" : false,
"isDouble" : false,
"isByteArray" : false,
"isBinary" : false,
"isFile" : false,
"isBoolean" : false,
"isDate" : false,
"isDateTime" : false,
"isUuid" : false,
"isEmail" : false,
"isFreeFormObject" : false,
"isListContainer" : false,
"isMapContainer" : false,
"isEnum" : false,
"isReadOnly" : true,
"isWriteOnly" : false,
"isNullable" : false,
"isSelfReference" : false,
"vendorExtensions" : { },
"hasValidation" : false,
"isInherited" : false,
"nameInCamelCase" : "FriendlyName",
"nameInSnakeCase" : "FRIENDLY_NAME",
"isXmlAttribute" : false,
"isXmlWrapped" : false,
"iexclusiveMaximum" : false,
"datatype" : "String"
}, {
"openApiType" : "boolean",
"baseName" : "supports_approval",
"getter" : "getSupportsApproval",
"setter" : "setSupportsApproval",
"description" : "Specifies whether the action supports approval.",
"dataType" : "Boolean",
"datatypeWithEnum" : "Boolean",
"name" : "supportsApproval",
"defaultValueWithParam" : " = data.supports_approval;",
"baseType" : "Boolean",
"unescapedDescription" : "Specifies whether the action supports approval.",
"jsonSchema" : "{\r\n \"type\" : \"boolean\",\r\n \"description\" : \"Specifies whether the action supports approval.\",\r\n \"readOnly\" : true\r\n}",
"exclusiveMinimum" : false,
"exclusiveMaximum" : false,
"hasMore" : false,
"required" : false,
"secondaryParam" : false,
"hasMoreNonReadOnly" : false,
"isPrimitiveType" : true,
"isModel" : false,
"isContainer" : false,
"isString" : false,
"isNumeric" : false,
"isInteger" : false,
"isLong" : false,
"isNumber" : false,
"isFloat" : false,
"isDouble" : false,
"isByteArray" : false,
"isBinary" : false,
"isFile" : false,
"isBoolean" : true,
"isDate" : false,
"isDateTime" : false,
"isUuid" : false,
"isEmail" : false,
"isFreeFormObject" : false,
"isListContainer" : false,
"isMapContainer" : false,
"isEnum" : false,
"isReadOnly" : true,
"isWriteOnly" : false,
"isNullable" : false,
"isSelfReference" : false,
"vendorExtensions" : { },
"hasValidation" : false,
"isInherited" : false,
"nameInCamelCase" : "SupportsApproval",
"nameInSnakeCase" : "SUPPORTS_APPROVAL",
"isXmlAttribute" : false,
"isXmlWrapped" : false,
"iexclusiveMaximum" : false,
"datatype" : "Boolean"
} ],
"readWriteVars" : [ {
"openApiType" : "ActionType",
"baseName" : "action_type",
"complexType" : "ActionType",
"getter" : "getActionType",
"setter" : "setActionType",
"dataType" : "ActionType",
"datatypeWithEnum" : "ActionType",
"name" : "actionType",
"defaultValueWithParam" : " = data.action_type;",
"baseType" : "ActionType",
"jsonSchema" : "{\r\n \"$ref\" : \"#/components/schemas/ActionType\"\r\n}",
"exclusiveMinimum" : false,
"exclusiveMaximum" : false,
"hasMore" : false,
"required" : true,
"secondaryParam" : false,
"hasMoreNonReadOnly" : false,
"isPrimitiveType" : false,
"isModel" : true,
"isContainer" : false,
"isString" : false,
"isNumeric" : false,
"isInteger" : false,
"isLong" : false,
"isNumber" : false,
"isFloat" : false,
"isDouble" : false,
"isByteArray" : false,
"isBinary" : false,
"isFile" : false,
"isBoolean" : false,
"isDate" : false,
"isDateTime" : false,
"isUuid" : false,
"isEmail" : false,
"isFreeFormObject" : false,
"isListContainer" : false,
"isMapContainer" : false,
"isEnum" : false,
"isReadOnly" : false,
"isWriteOnly" : false,
"isNullable" : false,
"isSelfReference" : false,
"allowableValues" : {
"enumVars" : [ {
"name" : "AGREEMENT",
"isString" : true,
"value" : "\"agreement\""
}, {
"name" : "AGREEMENT_SERVICE",
"isString" : true,
"value" : "\"agreement-service\""
}, {
"name" : "BILL_CYCLE_RUN",
"isString" : true,
"value" : "\"bill-cycle-run\""
}, {
"name" : "BILL_BATCH_RUN",
"isString" : true,
"value" : "\"bill-batch-run\""
}, {
"name" : "BILLING_ACCOUNT",
"isString" : true,
"value" : "\"billing-account\""
}, {
"name" : "COUNTER",
"isString" : true,
"value" : "\"counter\""
}, {
"name" : "CREDIT_ADJUSTMENT",
"isString" : true,
"value" : "\"credit-adjustment\""
}, {
"name" : "DISBURSEMENT",
"isString" : true,
"value" : "\"disbursement\""
}, {
"name" : "INVOICE",
"isString" : true,
"value" : "\"invoice\""
}, {
"name" : "PAYMENT",
"isString" : true,
"value" : "\"payment\""
}, {
"name" : "PRODUCT_SALE",
"isString" : true,
"value" : "\"product-sale\""
}, {
"name" : "REMOTE_PREPAID_REGISTER",
"isString" : true,
"value" : "\"remote-prepaid-register\""
}, {
"name" : "SALES_ORDER",
"isString" : true,
"value" : "\"sales-order\""
}, {
"name" : "SERVICE",
"isString" : true,
"value" : "\"service\""
}, {
"name" : "SERVICE_CFV",
"isString" : true,
"value" : "\"service-cfv\""
}, {
"name" : "SYSTEM_NOTIFICATION",
"isString" : true,
"value" : "\"system-notification\""
}, {
"name" : "USAGE_RULE",
"isString" : true,
"value" : "\"usage-rule\""
} ],
"values" : [ "agreement", "agreement-service", "bill-cycle-run", "bill-batch-run", "billing-account", "counter", "credit-adjustment", "disbursement", "invoice", "payment", "product-sale", "remote-prepaid-register", "sales-order", "service", "service-cfv", "system-notification", "usage-rule" ]
},
"vendorExtensions" : { },
"hasValidation" : false,
"isInherited" : false,
"nameInCamelCase" : "ActionType",
"nameInSnakeCase" : "ACTION_TYPE",
"isXmlAttribute" : false,
"isXmlWrapped" : false,
"iexclusiveMaximum" : false,
"datatype" : "ActionType"
} ],
"parentVars" : [ ],
"mandatory" : [ "actionType" ],
"allMandatory" : [ "actionType" ],
"imports" : [ "ActionType", "ApiModel", "ApiModelProperty", "Entity", "JsonProperty", "JsonValue" ],
"hasVars" : true,
"emptyVars" : false,
"hasMoreModels" : true,
"hasEnums" : false,
"isEnum" : false,
"hasRequired" : true,
"hasOptional" : true,
"isArrayModel" : false,
"hasChildren" : false,
"isMapModel" : false,
"hasOnlyReadOnly" : false,
"vendorExtensions" : { }
}
}, {
"importPath" : "org.openapitools.client.model.ActionType",
"model" : {
"anyOf" : [ ],
"oneOf" : [ ],
"allOf" : [ ],
"name" : "ActionType",
"classname" : "ActionType",
"title" : "ActionType",
"description" : "Indicates the type of action that occurs.",
"classVarName" : "actionType",
"modelJson" : "{\r\n \"title\" : \"ActionType\",\r\n \"type\" : \"string\",\r\n \"description\" : \"Indicates the type of action that occurs.\",\r\n \"enum\" : [ \"agreement\", \"agreement-service\", \"bill-cycle-run\", \"bill-batch-run\", \"billing-account\", \"counter\", \"credit-adjustment\", \"disbursement\", \"invoice\", \"payment\", \"product-sale\", \"remote-prepaid-register\", \"sales-order\", \"service\", \"service-cfv\", \"system-notification\", \"usage-rule\" ],\r\n \"x-swagger-router-model\" : \"ActionTypeDto\"\r\n}",
"dataType" : "String",
"classFilename" : "ActionType",
"unescapedDescription" : "Indicates the type of action that occurs.",
"isAlias" : false,
"isString" : true,
"isInteger" : false,
"vars" : [ ],
"allVars" : [ ],
"requiredVars" : [ ],
"optionalVars" : [ ],
"readOnlyVars" : [ ],
"readWriteVars" : [ ],
"parentVars" : [ ],
"allowableValues" : {
"values" : [ "agreement", "agreement-service", "bill-cycle-run", "bill-batch-run", "billing-account", "counter", "credit-adjustment", "disbursement", "invoice", "payment", "product-sale", "remote-prepaid-register", "sales-order", "service", "service-cfv", "system-notification", "usage-rule" ],
"enumVars" : [ {
"name" : "AGREEMENT",
"isString" : true,
"value" : "\"agreement\""
}, {
"name" : "AGREEMENT_SERVICE",
"isString" : true,
"value" : "\"agreement-service\""
}, {
"name" : "BILL_CYCLE_RUN",
"isString" : true,
"value" : "\"bill-cycle-run\""
}, {
"name" : "BILL_BATCH_RUN",
"isString" : true,
"value" : "\"bill-batch-run\""
}, {
"name" : "BILLING_ACCOUNT",
"isString" : true,
"value" : "\"billing-account\""
}, {
"name" : "COUNTER",
"isString" : true,
"value" : "\"counter\""
}, {
"name" : "CREDIT_ADJUSTMENT",
"isString" : true,
"value" : "\"credit-adjustment\""
}, {
"name" : "DISBURSEMENT",
"isString" : true,
"value" : "\"disbursement\""
}, {
"name" : "INVOICE",
"isString" : true,
"value" : "\"invoice\""
}, {
"name" : "PAYMENT",
"isString" : true,
"value" : "\"payment\""
}, {
"name" : "PRODUCT_SALE",
"isString" : true,
"value" : "\"product-sale\""
}, {
"name" : "REMOTE_PREPAID_REGISTER",
"isString" : true,
"value" : "\"remote-prepaid-register\""
}, {
"name" : "SALES_ORDER",
"isString" : true,
"value" : "\"sales-order\""
}, {
"name" : "SERVICE",
"isString" : true,
"value" : "\"service\""
}, {
"name" : "SERVICE_CFV",
"isString" : true,
"value" : "\"service-cfv\""
}, {
"name" : "SYSTEM_NOTIFICATION",
"isString" : true,
"value" : "\"system-notification\""
}, {
"name" : "USAGE_RULE",
"isString" : true,
"value" : "\"usage-rule\""
} ]
},
"mandatory" : [ ],
"allMandatory" : [ ],
"imports" : [ "ApiModel" ],
"hasVars" : false,
"emptyVars" : true,
"hasMoreModels" : true,
"hasEnums" : false,
"isEnum" : true,
"hasRequired" : false,
"hasOptional" : false,
"isArrayModel" : false,
"hasChildren" : false,
"isMapModel" : false,
"hasOnlyReadOnly" : true,
"vendorExtensions" : {
"x-swagger-router-model" : "ActionTypeDto"
}
}
}, {
"importPath" : "org.openapitools.client.model.Entity",
"model" : {
"anyOf" : [ ],
"oneOf" : [ ],
"allOf" : [ ],
"name" : "Entity",
"classname" : "Entity",
"title" : "Entity",
"description" : "A base object for all API entities.",
"classVarName" : "entity",
"modelJson" : "{\r\n \"title\" : \"Entity\",\r\n \"type\" : \"object\",\r\n \"properties\" : {\r\n \"id\" : {\r\n \"type\" : \"string\",\r\n \"description\" : \"(unique_key) The ID of the entity.\",\r\n \"readOnly\" : true,\r\n \"example\" : \"1438752\"\r\n }\r\n },\r\n \"description\" : \"A base object for all API entities.\"\r\n}",
"dataType" : "Object",
"classFilename" : "Entity",
"unescapedDescription" : "A base object for all API entities.",
"isAlias" : false,
"isString" : false,
"isInteger" : false,
"vars" : [ {
"openApiType" : "string",
"baseName" : "id",
"getter" : "getId",
"setter" : "setId",
"description" : "(unique_key) The ID of the entity.",
"dataType" : "String",
"datatypeWithEnum" : "String",
"name" : "id",
"defaultValueWithParam" : " = data.id;",
"baseType" : "String",
"unescapedDescription" : "(unique_key) The ID of the entity.",
"example" : "1438752",
"jsonSchema" : "{\r\n \"type\" : \"string\",\r\n \"description\" : \"(unique_key) The ID of the entity.\",\r\n \"readOnly\" : true,\r\n \"example\" : \"1438752\"\r\n}",
"exclusiveMinimum" : false,
"exclusiveMaximum" : false,
"hasMore" : false,
"required" : false,
"secondaryParam" : false,
"hasMoreNonReadOnly" : false,
"isPrimitiveType" : true,
"isModel" : false,
"isContainer" : false,
"isString" : true,
"isNumeric" : false,
"isInteger" : false,
"isLong" : false,
"isNumber" : false,
"isFloat" : false,
"isDouble" : false,
"isByteArray" : false,
"isBinary" : false,
"isFile" : false,
"isBoolean" : false,
"isDate" : false,
"isDateTime" : false,
"isUuid" : false,
"isEmail" : false,
"isFreeFormObject" : false,
"isListContainer" : false,
"isMapContainer" : false,
"isEnum" : false,
"isReadOnly" : true,
"isWriteOnly" : false,
"isNullable" : false,
"isSelfReference" : false,
"vendorExtensions" : { },
"hasValidation" : false,
"isInherited" : false,
"nameInCamelCase" : "Id",
"nameInSnakeCase" : "ID",
"isXmlAttribute" : false,
"isXmlWrapped" : false,
"iexclusiveMaximum" : false,
"datatype" : "String"
} ],
"allVars" : [ {
"openApiType" : "string",
"baseName" : "id",
"getter" : "getId",
"setter" : "setId",
"description" : "(unique_key) The ID of the entity.",
"dataType" : "String",
"datatypeWithEnum" : "String",
"name" : "id",
"defaultValueWithParam" : " = data.id;",
"baseType" : "String",
"unescapedDescription" : "(unique_key) The ID of the entity.",
"example" : "1438752",
"jsonSchema" : "{\r\n \"type\" : \"string\",\r\n \"description\" : \"(unique_key) The ID of the entity.\",\r\n \"readOnly\" : true,\r\n \"example\" : \"1438752\"\r\n}",
"exclusiveMinimum" : false,
"exclusiveMaximum" : false,
"hasMore" : false,
"required" : false,
"secondaryParam" : false,
"hasMoreNonReadOnly" : false,
"isPrimitiveType" : true,
"isModel" : false,
"isContainer" : false,
"isString" : true,
"isNumeric" : false,
"isInteger" : false,
"isLong" : false,
"isNumber" : false,
"isFloat" : false,
"isDouble" : false,
"isByteArray" : false,
"isBinary" : false,
"isFile" : false,
"isBoolean" : false,
"isDate" : false,
"isDateTime" : false,
"isUuid" : false,
"isEmail" : false,
"isFreeFormObject" : false,
"isListContainer" : false,
"isMapContainer" : false,
"isEnum" : false,
"isReadOnly" : true,
"isWriteOnly" : false,
"isNullable" : false,
"isSelfReference" : false,
"vendorExtensions" : { },
"hasValidation" : false,
"isInherited" : false,
"nameInCamelCase" : "Id",
"nameInSnakeCase" : "ID",
"isXmlAttribute" : false,
"isXmlWrapped" : false,
"iexclusiveMaximum" : false,
"datatype" : "String"
} ],
"requiredVars" : [ ],
"optionalVars" : [ {
"openApiType" : "string",
"baseName" : "id",
"getter" : "getId",
"setter" : "setId",
"description" : "(unique_key) The ID of the entity.",
"dataType" : "String",
"datatypeWithEnum" : "String",
"name" : "id",
"defaultValueWithParam" : " = data.id;",
"baseType" : "String",
"unescapedDescription" : "(unique_key) The ID of the entity.",
"example" : "1438752",
"jsonSchema" : "{\r\n \"type\" : \"string\",\r\n \"description\" : \"(unique_key) The ID of the entity.\",\r\n \"readOnly\" : true,\r\n \"example\" : \"1438752\"\r\n}",
"exclusiveMinimum" : false,
"exclusiveMaximum" : false,
"hasMore" : false,
"required" : false,
"secondaryParam" : false,
"hasMoreNonReadOnly" : false,
"isPrimitiveType" : true,
"isModel" : false,
"isContainer" : false,
"isString" : true,
"isNumeric" : false,
"isInteger" : false,
"isLong" : false,
"isNumber" : false,
"isFloat" : false,
"isDouble" : false,
"isByteArray" : false,
"isBinary" : false,
"isFile" : false,
"isBoolean" : false,
"isDate" : false,
"isDateTime" : false,
"isUuid" : false,
"isEmail" : false,
"isFreeFormObject" : false,
"isListContainer" : false,
"isMapContainer" : false,
"isEnum" : false,
"isReadOnly" : true,
"isWriteOnly" : false,
"isNullable" : false,
"isSelfReference" : false,
"vendorExtensions" : { },
"hasValidation" : false,
"isInherited" : false,
"nameInCamelCase" : "Id",
"nameInSnakeCase" : "ID",
"isXmlAttribute" : false,
"isXmlWrapped" : false,
"iexclusiveMaximum" : false,
"datatype" : "String"
} ],
"readOnlyVars" : [ {
"openApiType" : "string",
"baseName" : "id",
"getter" : "getId",
"setter" : "setId",
"description" : "(unique_key) The ID of the entity.",
"dataType" : "String",
"datatypeWithEnum" : "String",
"name" : "id",
"defaultValueWithParam" : " = data.id;",
"baseType" : "String",
"unescapedDescription" : "(unique_key) The ID of the entity.",
"example" : "1438752",
"jsonSchema" : "{\r\n \"type\" : \"string\",\r\n \"description\" : \"(unique_key) The ID of the entity.\",\r\n \"readOnly\" : true,\r\n \"example\" : \"1438752\"\r\n}",
"exclusiveMinimum" : false,
"exclusiveMaximum" : false,
"hasMore" : false,
"required" : false,
"secondaryParam" : false,
"hasMoreNonReadOnly" : false,
"isPrimitiveType" : true,
"isModel" : false,
"isContainer" : false,
"isString" : true,
"isNumeric" : false,
"isInteger" : false,
"isLong" : false,
"isNumber" : false,
"isFloat" : false,
"isDouble" : false,
"isByteArray" : false,
"isBinary" : false,
"isFile" : false,
"isBoolean" : false,
"isDate" : false,
"isDateTime" : false,
"isUuid" : false,
"isEmail" : false,
"isFreeFormObject" : false,
"isListContainer" : false,
"isMapContainer" : false,
"isEnum" : false,
"isReadOnly" : true,
"isWriteOnly" : false,
"isNullable" : false,
"isSelfReference" : false,
"vendorExtensions" : { },
"hasValidation" : false,
"isInherited" : false,
"nameInCamelCase" : "Id",
"nameInSnakeCase" : "ID",
"isXmlAttribute" : false,
"isXmlWrapped" : false,
"iexclusiveMaximum" : false,
"datatype" : "String"
} ],
"readWriteVars" : [ ],
"parentVars" : [ ],
"mandatory" : [ ],
"allMandatory" : [ ],
"imports" : [ "ApiModel", "ApiModelProperty", "JsonProperty", "JsonValue" ],
"hasVars" : true,
"emptyVars" : false,
"hasMoreModels" : false,
"hasEnums" : false,
"isEnum" : false,
"hasRequired" : false,
"hasOptional" : true,
"isArrayModel" : false,
"hasChildren" : false,
"isMapModel" : false,
"hasOnlyReadOnly" : true,
"vendorExtensions" : { }
}
} ],
"fullJavaUtil" : false,
"appDescription" : "No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)",
"contextPath" : "/billing/2",
"javaUtilPrefix" : "",
"licenseName" : "Unlicense",
"releaseNote" : "Minor update",
"version" : "2",
"apiInfo" : {
"apis" : [ {
"appVersion" : "2",
"generatorClass" : "org.openapitools.codegen.languages.JavaClientCodegen",
"supportJava6" : false,
"sortParamsByRequiredFlag" : true,
"groupId" : "org.openapitools",
"invokerPackage" : "org.openapitools.client",
"classVarName" : "action",
"developerEmail" : "team@openapitools.org",
"generateModelDocs" : true,
"hasImport" : true,
"generateModelTests" : true,
"generateApiTests" : true,
"classFilename" : "ActionApi",
"usePlayWS" : false,
"generateModels" : true,
"serializableModel" : false,
"playVersion" : "play25",
"inputSpec" : "C:\\Users\\xxxxxx\\github\\swagger-issue-320.json",
"artifactUrl" : "https://github.com/openapitools/openapi-generator",
"developerOrganization" : "OpenAPITools.org",
"baseName" : "Action",
"package" : "org.openapitools.client.api",
"imports" : [ {
"import" : "org.openapitools.client.model.Action",
"classname" : "Action"
} ],
"fullJavaUtil" : false,
"contextPath" : "/billing/2",
"appDescription" : "No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)",
"javaUtilPrefix" : "",
"licenseName" : "Unlicense",
"releaseNote" : "Minor update",
"version" : "2",
"modelDocPath" : "docs/",
"withXml" : false,
"scmDeveloperConnection" : "scm:git:git@github.com:openapitools/openapi-generator.git",
"useNullForUnknownEnumValue" : false,
"feignVersion" : "9.x",
"importPath" : "org.openapitools.client.api.Action",
"licenseUrl" : "http://unlicense.org",
"jsr310" : "true",
"generatedYear" : "2019",
"modelPackage" : "org.openapitools.client.model",
"sourceFolder" : "src/main/java",
"apiDocPath" : "docs/",
"hasModel" : true,
"generateApis" : true,
"basePathWithoutHost" : "/billing/2",
"parcelableModel" : false,
"developerOrganizationUrl" : "http://openapitools.org",
"operations" : {
"classname" : "ActionApi",
"operation" : [ {
"responseHeaders" : [ {
"openApiType" : "integer",
"baseName" : "X-total-pages",
"getter" : "getxTotalPages",
"setter" : "setxTotalPages",
"description" : "The total number of pages that can be requested. Used to drive paging requests.",
"dataType" : "Long",
"datatypeWithEnum" : "Long",
"dataFormat" : "int64",
"name" : "xTotalPages",
"defaultValueWithParam" : " = data.X-total-pages;",
"baseType" : "Long",
"unescapedDescription" : "The total number of pages that can be requested. Used to drive paging requests.",
"jsonSchema" : "{\r\n \"type\" : \"integer\",\r\n \"format\" : \"int64\"\r\n}",
"exclusiveMinimum" : false,
"exclusiveMaximum" : false,
"hasMore" : false,
"required" : false,
"secondaryParam" : false,
"hasMoreNonReadOnly" : false,
"isPrimitiveType" : true,
"isModel" : false,
"isContainer" : false,
"isString" : false,
"isNumeric" : true,
"isInteger" : false,
"isLong" : true,
"isNumber" : false,
"isFloat" : false,
"isDouble" : false,
"isByteArray" : false,
"isBinary" : false,
"isFile" : false,
"isBoolean" : false,
"isDate" : false,
"isDateTime" : false,
"isUuid" : false,
"isEmail" : false,
"isFreeFormObject" : false,
"isListContainer" : false,
"isMapContainer" : false,
"isEnum" : false,
"isReadOnly" : false,
"isWriteOnly" : false,
"isNullable" : false,
"isSelfReference" : false,
"vendorExtensions" : { },
"hasValidation" : false,
"isInherited" : false,
"nameInCamelCase" : "XTotalPages",
"nameInSnakeCase" : "X_TOTAL_PAGES",
"isXmlAttribute" : false,
"isXmlWrapped" : false,
"iexclusiveMaximum" : false,
"datatype" : "Long"
}, {
"openApiType" : "string",
"baseName" : "ETag",
"getter" : "getEtag",
"setter" : "setEtag",
"description" : "The standard ETag HTTP header.",
"dataType" : "String",
"datatypeWithEnum" : "String",
"name" : "etag",
"defaultValueWithParam" : " = data.ETag;",
"baseType" : "String",
"unescapedDescription" : "The standard ETag HTTP header.",
"jsonSchema" : "{\r\n \"type\" : \"string\"\r\n}",
"exclusiveMinimum" : false,
"exclusiveMaximum" : false,
"hasMore" : false,
"required" : false,
"secondaryParam" : false,
"hasMoreNonReadOnly" : false,
"isPrimitiveType" : true,
"isModel" : false,
"isContainer" : false,
"isString" : true,
"isNumeric" : false,
"isInteger" : false,
"isLong" : false,
"isNumber" : false,
"isFloat" : false,
"isDouble" : false,
"isByteArray" : false,
"isBinary" : false,
"isFile" : false,
"isBoolean" : false,
"isDate" : false,
"isDateTime" : false,
"isUuid" : false,
"isEmail" : false,
"isFreeFormObject" : false,
"isListContainer" : false,
"isMapContainer" : false,
"isEnum" : false,
"isReadOnly" : false,
"isWriteOnly" : false,
"isNullable" : false,
"isSelfReference" : false,
"vendorExtensions" : { },
"hasValidation" : false,
"isInherited" : false,
"nameInCamelCase" : "Etag",
"nameInSnakeCase" : "ETAG",
"isXmlAttribute" : false,
"isXmlWrapped" : false,
"iexclusiveMaximum" : false,
"datatype" : "String"
}, {
"openApiType" : "integer",
"baseName" : "X-total-count",
"getter" : "getxTotalCount",
"setter" : "setxTotalCount",
"description" : "The total results for the particular query. Used to drive paging requests.",
"dataType" : "Long",
"datatypeWithEnum" : "Long",
"dataFormat" : "int64",
"name" : "xTotalCount",
"defaultValueWithParam" : " = data.X-total-count;",
"baseType" : "Long",
"unescapedDescription" : "The total results for the particular query. Used to drive paging requests.",
"jsonSchema" : "{\r\n \"type\" : \"integer\",\r\n \"format\" : \"int64\"\r\n}",
"exclusiveMinimum" : false,
"exclusiveMaximum" : false,
"hasMore" : false,
"required" : false,
"secondaryParam" : false,
"hasMoreNonReadOnly" : false,
"isPrimitiveType" : true,
"isModel" : false,
"isContainer" : false,
"isString" : false,
"isNumeric" : true,
"isInteger" : false,
"isLong" : true,
"isNumber" : false,
"isFloat" : false,
"isDouble" : false,
"isByteArray" : false,
"isBinary" : false,
"isFile" : false,
"isBoolean" : false,
"isDate" : false,
"isDateTime" : false,
"isUuid" : false,
"isEmail" : false,
"isFreeFormObject" : false,
"isListContainer" : false,
"isMapContainer" : false,
"isEnum" : false,
"isReadOnly" : false,
"isWriteOnly" : false,
"isNullable" : false,
"isSelfReference" : false,
"vendorExtensions" : { },
"hasValidation" : false,
"isInherited" : false,
"nameInCamelCase" : "XTotalCount",
"nameInSnakeCase" : "X_TOTAL_COUNT",
"isXmlAttribute" : false,
"isXmlWrapped" : false,
"iexclusiveMaximum" : false,
"datatype" : "Long"
}, {
"openApiType" : "integer",
"baseName" : "X-element-count",
"getter" : "getxElementCount",
"setter" : "setxElementCount",
"description" : "The number of elements returned in the current request. Used to drive paging requests.",
"dataType" : "Long",
"datatypeWithEnum" : "Long",
"dataFormat" : "int64",
"name" : "xElementCount",
"defaultValueWithParam" : " = data.X-element-count;",
"baseType" : "Long",
"unescapedDescription" : "The number of elements returned in the current request. Used to drive paging requests.",
"jsonSchema" : "{\r\n \"type\" : \"integer\",\r\n \"format\" : \"int64\"\r\n}",
"exclusiveMinimum" : false,
"exclusiveMaximum" : false,
"hasMore" : false,
"required" : false,
"secondaryParam" : false,
"hasMoreNonReadOnly" : false,
"isPrimitiveType" : true,
"isModel" : false,
"isContainer" : false,
"isString" : false,
"isNumeric" : true,
"isInteger" : false,
"isLong" : true,
"isNumber" : false,
"isFloat" : false,
"isDouble" : false,
"isByteArray" : false,
"isBinary" : false,
"isFile" : false,
"isBoolean" : false,
"isDate" : false,
"isDateTime" : false,
"isUuid" : false,
"isEmail" : false,
"isFreeFormObject" : false,
"isListContainer" : false,
"isMapContainer" : false,
"isEnum" : false,
"isReadOnly" : false,
"isWriteOnly" : false,
"isNullable" : false,
"isSelfReference" : false,
"vendorExtensions" : { },
"hasValidation" : false,
"isInherited" : false,
"nameInCamelCase" : "XElementCount",
"nameInSnakeCase" : "X_ELEMENT_COUNT",
"isXmlAttribute" : false,
"isXmlWrapped" : false,
"iexclusiveMaximum" : false,
"datatype" : "Long"
} ],
"hasAuthMethods" : false,
"hasConsumes" : false,
"hasProduces" : true,
"hasParams" : true,
"hasOptionalParams" : true,
"hasRequiredParams" : false,
"returnTypeIsPrimitive" : false,
"returnSimpleType" : false,
"subresourceOperation" : false,
"isMapContainer" : false,
"isListContainer" : true,
"isMultipart" : false,
"hasMore" : false,
"isResponseBinary" : false,
"isResponseFile" : false,
"hasReference" : true,
"isRestfulIndex" : false,
"isRestfulShow" : false,
"isRestfulCreate" : false,
"isRestfulUpdate" : false,
"isRestfulDestroy" : false,
"isRestful" : false,
"isDeprecated" : false,
"isCallbackRequest" : false,
"path" : "/actions",
"operationId" : "queryActions",
"returnType" : "List<Action>",
"httpMethod" : "GET",
"returnBaseType" : "Action",
"returnContainer" : "array",
"summary" : "Get actions",
"baseName" : "Action",
"defaultResponse" : "new ArrayList<Action>()",
"produces" : [ {
"mediaType" : "application/json"
} ],
"servers" : [ ],
"allParams" : [ {
"isFormParam" : false,
"isQueryParam" : true,
"isPathParam" : false,
"isHeaderParam" : false,
"isCookieParam" : false,
"isBodyParam" : false,
"hasMore" : false,
"isContainer" : false,
"secondaryParam" : false,
"isCollectionFormatMulti" : false,
"isPrimitiveType" : true,
"isModel" : false,
"baseName" : "id",
"paramName" : "id",
"dataType" : "String",
"description" : "The internal ID of the object.",
"unescapedDescription" : "The internal ID of the object.",
"example" : "\"id_example\"",
"jsonSchema" : "{\r\n \"name\" : \"id\",\r\n \"in\" : \"query\",\r\n \"description\" : \"The internal ID of the object.\",\r\n \"schema\" : {\r\n \"type\" : \"string\"\r\n }\r\n}",
"isString" : true,
"isNumeric" : false,
"isInteger" : false,
"isLong" : false,
"isNumber" : false,
"isFloat" : false,
"isDouble" : false,
"isByteArray" : false,
"isBinary" : false,
"isBoolean" : false,
"isDate" : false,
"isDateTime" : false,
"isUuid" : false,
"isEmail" : false,
"isFreeFormObject" : false,
"isListContainer" : false,
"isMapContainer" : false,
"isFile" : false,
"isEnum" : false,
"vendorExtensions" : { },
"hasValidation" : false,
"isNullable" : false,
"required" : false,
"exclusiveMaximum" : false,
"exclusiveMinimum" : false,
"uniqueItems" : false
} ],
"bodyParams" : [ ],
"pathParams" : [ ],
"queryParams" : [ {
"isFormParam" : false,
"isQueryParam" : true,
"isPathParam" : false,
"isHeaderParam" : false,
"isCookieParam" : false,
"isBodyParam" : false,
"hasMore" : false,
"isContainer" : false,
"secondaryParam" : false,
"isCollectionFormatMulti" : false,
"isPrimitiveType" : true,
"isModel" : false,
"baseName" : "id",
"paramName" : "id",
"dataType" : "String",
"description" : "The internal ID of the object.",
"unescapedDescription" : "The internal ID of the object.",
"example" : "\"id_example\"",
"jsonSchema" : "{\r\n \"name\" : \"id\",\r\n \"in\" : \"query\",\r\n \"description\" : \"The internal ID of the object.\",\r\n \"schema\" : {\r\n \"type\" : \"string\"\r\n }\r\n}",
"isString" : true,
"isNumeric" : false,
"isInteger" : false,
"isLong" : false,
"isNumber" : false,
"isFloat" : false,
"isDouble" : false,
"isByteArray" : false,
"isBinary" : false,
"isBoolean" : false,
"isDate" : false,
"isDateTime" : false,
"isUuid" : false,
"isEmail" : false,
"isFreeFormObject" : false,
"isListContainer" : false,
"isMapContainer" : false,
"isFile" : false,
"isEnum" : false,
"vendorExtensions" : { },
"hasValidation" : false,
"isNullable" : false,
"required" : false,
"exclusiveMaximum" : false,
"exclusiveMinimum" : false,
"uniqueItems" : false
} ],
"headerParams" : [ ],
"formParams" : [ ],
"cookieParams" : [ ],
"requiredParams" : [ ],
"optionalParams" : [ {
"isFormParam" : false,
"isQueryParam" : true,
"isPathParam" : false,
"isHeaderParam" : false,
"isCookieParam" : false,
"isBodyParam" : false,
"hasMore" : false,
"isContainer" : false,
"secondaryParam" : false,
"isCollectionFormatMulti" : false,
"isPrimitiveType" : true,
"isModel" : false,
"baseName" : "id",
"paramName" : "id",
"dataType" : "String",
"description" : "The internal ID of the object.",
"unescapedDescription" : "The internal ID of the object.",
"example" : "\"id_example\"",
"jsonSchema" : "{\r\n \"name\" : \"id\",\r\n \"in\" : \"query\",\r\n \"description\" : \"The internal ID of the object.\",\r\n \"schema\" : {\r\n \"type\" : \"string\"\r\n }\r\n}",
"isString" : true,
"isNumeric" : false,
"isInteger" : false,
"isLong" : false,
"isNumber" : false,
"isFloat" : false,
"isDouble" : false,
"isByteArray" : false,
"isBinary" : false,
"isBoolean" : false,
"isDate" : false,
"isDateTime" : false,
"isUuid" : false,
"isEmail" : false,
"isFreeFormObject" : false,
"isListContainer" : false,
"isMapContainer" : false,
"isFile" : false,
"isEnum" : false,
"vendorExtensions" : { },
"hasValidation" : false,
"isNullable" : false,
"required" : false,
"exclusiveMaximum" : false,
"exclusiveMinimum" : false,
"uniqueItems" : false
} ],
"tags" : [ {
"name" : "Action"
} ],
"responses" : [ {
"headers" : [ {
"openApiType" : "integer",
"baseName" : "X-total-pages",
"getter" : "getxTotalPages",
"setter" : "setxTotalPages",
"description" : "The total number of pages that can be requested. Used to drive paging requests.",
"dataType" : "Long",
"datatypeWithEnum" : "Long",
"dataFormat" : "int64",
"name" : "xTotalPages",
"defaultValueWithParam" : " = data.X-total-pages;",
"baseType" : "Long",
"unescapedDescription" : "The total number of pages that can be requested. Used to drive paging requests.",
"jsonSchema" : "{\r\n \"type\" : \"integer\",\r\n \"format\" : \"int64\"\r\n}",
"exclusiveMinimum" : false,
"exclusiveMaximum" : false,
"hasMore" : false,
"required" : false,
"secondaryParam" : false,
"hasMoreNonReadOnly" : false,
"isPrimitiveType" : true,
"isModel" : false,
"isContainer" : false,
"isString" : false,
"isNumeric" : true,
"isInteger" : false,
"isLong" : true,
"isNumber" : false,
"isFloat" : false,
"isDouble" : false,
"isByteArray" : false,
"isBinary" : false,
"isFile" : false,
"isBoolean" : false,
"isDate" : false,
"isDateTime" : false,
"isUuid" : false,
"isEmail" : false,
"isFreeFormObject" : false,
"isListContainer" : false,
"isMapContainer" : false,
"isEnum" : false,
"isReadOnly" : false,
"isWriteOnly" : false,
"isNullable" : false,
"isSelfReference" : false,
"vendorExtensions" : { },
"hasValidation" : false,
"isInherited" : false,
"nameInCamelCase" : "XTotalPages",
"nameInSnakeCase" : "X_TOTAL_PAGES",
"isXmlAttribute" : false,
"isXmlWrapped" : false,
"iexclusiveMaximum" : false,
"datatype" : "Long"
}, {
"openApiType" : "string",
"baseName" : "ETag",
"getter" : "getEtag",
"setter" : "setEtag",
"description" : "The standard ETag HTTP header.",
"dataType" : "String",
"datatypeWithEnum" : "String",
"name" : "etag",
"defaultValueWithParam" : " = data.ETag;",
"baseType" : "String",
"unescapedDescription" : "The standard ETag HTTP header.",
"jsonSchema" : "{\r\n \"type\" : \"string\"\r\n}",
"exclusiveMinimum" : false,
"exclusiveMaximum" : false,
"hasMore" : false,
"required" : false,
"secondaryParam" : false,
"hasMoreNonReadOnly" : false,
"isPrimitiveType" : true,
"isModel" : false,
"isContainer" : false,
"isString" : true,
"isNumeric" : false,
"isInteger" : false,
"isLong" : false,
"isNumber" : false,
"isFloat" : false,
"isDouble" : false,
"isByteArray" : false,
"isBinary" : false,
"isFile" : false,
"isBoolean" : false,
"isDate" : false,
"isDateTime" : false,
"isUuid" : false,
"isEmail" : false,
"isFreeFormObject" : false,
"isListContainer" : false,
"isMapContainer" : false,
"isEnum" : false,
"isReadOnly" : false,
"isWriteOnly" : false,
"isNullable" : false,
"isSelfReference" : false,
"vendorExtensions" : { },
"hasValidation" : false,
"isInherited" : false,
"nameInCamelCase" : "Etag",
"nameInSnakeCase" : "ETAG",
"isXmlAttribute" : false,
"isXmlWrapped" : false,
"iexclusiveMaximum" : false,
"datatype" : "String"
}, {
"openApiType" : "integer",
"baseName" : "X-total-count",
"getter" : "getxTotalCount",
"setter" : "setxTotalCount",
"description" : "The total results for the particular query. Used to drive paging requests.",
"dataType" : "Long",
"datatypeWithEnum" : "Long",
"dataFormat" : "int64",
"name" : "xTotalCount",
"defaultValueWithParam" : " = data.X-total-count;",
"baseType" : "Long",
"unescapedDescription" : "The total results for the particular query. Used to drive paging requests.",
"jsonSchema" : "{\r\n \"type\" : \"integer\",\r\n \"format\" : \"int64\"\r\n}",
"exclusiveMinimum" : false,
"exclusiveMaximum" : false,
"hasMore" : false,
"required" : false,
"secondaryParam" : false,
"hasMoreNonReadOnly" : false,
"isPrimitiveType" : true,
"isModel" : false,
"isContainer" : false,
"isString" : false,
"isNumeric" : true,
"isInteger" : false,
"isLong" : true,
"isNumber" : false,
"isFloat" : false,
"isDouble" : false,
"isByteArray" : false,
"isBinary" : false,
"isFile" : false,
"isBoolean" : false,
"isDate" : false,
"isDateTime" : false,
"isUuid" : false,
"isEmail" : false,
"isFreeFormObject" : false,
"isListContainer" : false,
"isMapContainer" : false,
"isEnum" : false,
"isReadOnly" : false,
"isWriteOnly" : false,
"isNullable" : false,
"isSelfReference" : false,
"vendorExtensions" : { },
"hasValidation" : false,
"isInherited" : false,
"nameInCamelCase" : "XTotalCount",
"nameInSnakeCase" : "X_TOTAL_COUNT",
"isXmlAttribute" : false,
"isXmlWrapped" : false,
"iexclusiveMaximum" : false,
"datatype" : "Long"
}, {
"openApiType" : "integer",
"baseName" : "X-element-count",
"getter" : "getxElementCount",
"setter" : "setxElementCount",
"description" : "The number of elements returned in the current request. Used to drive paging requests.",
"dataType" : "Long",
"datatypeWithEnum" : "Long",
"dataFormat" : "int64",
"name" : "xElementCount",
"defaultValueWithParam" : " = data.X-element-count;",
"baseType" : "Long",
"unescapedDescription" : "The number of elements returned in the current request. Used to drive paging requests.",
"jsonSchema" : "{\r\n \"type\" : \"integer\",\r\n \"format\" : \"int64\"\r\n}",
"exclusiveMinimum" : false,
"exclusiveMaximum" : false,
"hasMore" : false,
"required" : false,
"secondaryParam" : false,
"hasMoreNonReadOnly" : false,
"isPrimitiveType" : true,
"isModel" : false,
"isContainer" : false,
"isString" : false,
"isNumeric" : true,
"isInteger" : false,
"isLong" : true,
"isNumber" : false,
"isFloat" : false,
"isDouble" : false,
"isByteArray" : false,
"isBinary" : false,
"isFile" : false,
"isBoolean" : false,
"isDate" : false,
"isDateTime" : false,
"isUuid" : false,
"isEmail" : false,
"isFreeFormObject" : false,
"isListContainer" : false,
"isMapContainer" : false,
"isEnum" : false,
"isReadOnly" : false,
"isWriteOnly" : false,
"isNullable" : false,
"isSelfReference" : false,
"vendorExtensions" : { },
"hasValidation" : false,
"isInherited" : false,
"nameInCamelCase" : "XElementCount",
"nameInSnakeCase" : "X_ELEMENT_COUNT",
"isXmlAttribute" : false,
"isXmlWrapped" : false,
"iexclusiveMaximum" : false,
"datatype" : "Long"
} ],
"code" : "200",
"message" : "Success",
"hasMore" : true,
"dataType" : "List<Action>",
"baseType" : "Action",
"containerType" : "array",
"hasHeaders" : true,
"isString" : false,
"isNumeric" : false,
"isInteger" : false,
"isLong" : false,
"isNumber" : false,
"isFloat" : false,
"isDouble" : false,
"isByteArray" : false,
"isBoolean" : false,
"isDate" : false,
"isDateTime" : false,
"isUuid" : false,
"isEmail" : false,
"isModel" : false,
"isFreeFormObject" : false,
"isDefault" : true,
"simpleType" : false,
"primitiveType" : false,
"isMapContainer" : false,
"isListContainer" : true,
"isBinary" : false,
"isFile" : false,
"schema" : {
"type" : "array",
"items" : {
"$ref" : "#/components/schemas/Action"
}
},
"jsonSchema" : "{\r\n \"description\" : \"Success\",\r\n \"headers\" : {\r\n \"X-total-pages\" : {\r\n \"description\" : \"The total number of pages that can be requested. Used to drive paging requests.\",\r\n \"schema\" : {\r\n \"type\" : \"integer\",\r\n \"format\" : \"int64\"\r\n }\r\n },\r\n \"ETag\" : {\r\n \"description\" : \"The standard ETag HTTP header.\",\r\n \"schema\" : {\r\n \"type\" : \"string\"\r\n }\r\n },\r\n \"X-total-count\" : {\r\n \"description\" : \"The total results for the particular query. Used to drive paging requests.\",\r\n \"schema\" : {\r\n \"type\" : \"integer\",\r\n \"format\" : \"int64\"\r\n }\r\n },\r\n \"X-element-count\" : {\r\n \"description\" : \"The number of elements returned in the current request. Used to drive paging requests.\",\r\n \"schema\" : {\r\n \"type\" : \"integer\",\r\n \"format\" : \"int64\"\r\n }\r\n }\r\n },\r\n \"content\" : {\r\n \"application/json\" : {\r\n \"schema\" : {\r\n \"type\" : \"array\",\r\n \"items\" : {\r\n \"$ref\" : \"#/components/schemas/Action\"\r\n }\r\n }\r\n }\r\n }\r\n}",
"vendorExtensions" : { },
"wildcard" : false
}, {
"headers" : [ ],
"code" : "400",
"message" : "Bad request.",
"hasMore" : true,
"hasHeaders" : false,
"isString" : false,
"isNumeric" : false,
"isInteger" : false,
"isLong" : false,
"isNumber" : false,
"isFloat" : false,
"isDouble" : false,
"isByteArray" : false,
"isBoolean" : false,
"isDate" : false,
"isDateTime" : false,
"isUuid" : false,
"isEmail" : false,
"isModel" : false,
"isFreeFormObject" : false,
"isDefault" : false,
"simpleType" : true,
"primitiveType" : true,
"isMapContainer" : false,
"isListContainer" : false,
"isBinary" : false,
"isFile" : false,
"jsonSchema" : "{\r\n \"description\" : \"Bad request.\",\r\n \"content\" : { }\r\n}",
"vendorExtensions" : { },
"wildcard" : false
}, {
"headers" : [ ],
"code" : "0",
"message" : "Unknown error.",
"hasMore" : false,
"hasHeaders" : false,
"isString" : false,
"isNumeric" : false,
"isInteger" : false,
"isLong" : false,
"isNumber" : false,
"isFloat" : false,
"isDouble" : false,
"isByteArray" : false,
"isBoolean" : false,
"isDate" : false,
"isDateTime" : false,
"isUuid" : false,
"isEmail" : false,
"isModel" : false,
"isFreeFormObject" : false,
"isDefault" : false,
"simpleType" : true,
"primitiveType" : true,
"isMapContainer" : false,
"isListContainer" : false,
"isBinary" : false,
"isFile" : false,
"jsonSchema" : "{\r\n \"description\" : \"Unknown error.\",\r\n \"content\" : { }\r\n}",
"vendorExtensions" : { },
"wildcard" : true
} ],
"callbacks" : [ ],
"imports" : [ "Action" ],
"examples" : [ {
"contentType" : "application/json",
"example" : "null",
"statusCode" : "200"
} ],
"vendorExtensions" : {
"x-accepts" : "application/json",
"x-swagger-router-controller" : "ActionsController"
},
"nickname" : "queryActions",
"operationIdOriginal" : "queryActions",
"operationIdLowerCase" : "queryactions",
"operationIdCamelCase" : "QueryActions",
"operationIdSnakeCase" : "query_actions",
"restfulCreate" : false,
"restful" : false,
"restfulUpdate" : false,
"restfulIndex" : false,
"restfulShow" : false,
"restfulDestroy" : false,
"hasExamples" : true,
"hasBodyParam" : false,
"hasFormParams" : false,
"hasPathParams" : false,
"hasQueryParams" : true,
"hasCookieParams" : false,
"hasResponseHeaders" : true,
"hasHeaderParams" : false,
"bodyAllowed" : false
} ],
"pathPrefix" : "action"
},
"jackson" : "true",
"threetenbp" : "true",
"artifactId" : "openapi-java-client",
"artifactDescription" : "OpenAPI Java",
"hideGenerationTimestamp" : false,
"disableHtmlEscaping" : false,
"developerName" : "OpenAPI-Generator Contributors",
"scmConnection" : "scm:git:git@github.com:openapitools/openapi-generator.git",
"unescapedAppDescription" : "No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)",
"artifactVersion" : "1.0.0",
"doNotUseRx" : true,
"appName" : "TRACT Billing API",
"generateApiDocs" : true,
"generatorVersion" : "unset",
"apiPackage" : "org.openapitools.client.api",
"scmUrl" : "https://github.com/openapitools/openapi-generator",
"basePath" : "http://http:/billing/2",
"classname" : "ActionApi",
"gitRepoId" : "GIT_REPO_ID",
"booleanGetterPrefix" : "get",
"generatedDate" : "2019-04-09T15:13:38.375+02:00[Europe/Paris]",
"appDescriptionWithNewLines" : "No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)",
"gitUserId" : "GIT_USER_ID"
} ]
},
"modelDocPath" : "docs/",
"withXml" : false,
"scmDeveloperConnection" : "scm:git:git@github.com:openapitools/openapi-generator.git",
"useNullForUnknownEnumValue" : false,
"feignVersion" : "9.x",
"licenseUrl" : "http://unlicense.org",
"jsr310" : "true",
"generatedYear" : "2019",
"modelPackage" : "org.openapitools.client.model",
"openAPI" : {
"openapi" : "3.0.1",
"info" : {
"title" : "TRACT Billing API",
"version" : "2"
},
"servers" : [ {
"url" : "///billing/2"
} ],
"paths" : {
"/actions" : {
"get" : {
"tags" : [ "Action" ],
"summary" : "Get actions",
"operationId" : "queryActions",
"parameters" : [ {
"name" : "id",
"in" : "query",
"description" : "The internal ID of the object.",
"schema" : {
"type" : "string"
}
} ],
"responses" : {
"200" : {
"description" : "Success",
"headers" : {
"X-total-pages" : {
"description" : "The total number of pages that can be requested. Used to drive paging requests.",
"schema" : {
"type" : "integer",
"format" : "int64"
}
},
"ETag" : {
"description" : "The standard ETag HTTP header.",
"schema" : {
"type" : "string"
}
},
"X-total-count" : {
"description" : "The total results for the particular query. Used to drive paging requests.",
"schema" : {
"type" : "integer",
"format" : "int64"
}
},
"X-element-count" : {
"description" : "The number of elements returned in the current request. Used to drive paging requests.",
"schema" : {
"type" : "integer",
"format" : "int64"
}
}
},
"content" : {
"application/json" : {
"schema" : {
"type" : "array",
"items" : {
"$ref" : "#/components/schemas/Action"
}
}
}
}
},
"400" : {
"description" : "Bad request.",
"content" : { }
},
"default" : {
"description" : "Unknown error.",
"content" : { }
}
},
"x-swagger-router-controller" : "ActionsController",
"x-accepts" : "application/json"
}
}
},
"components" : {
"schemas" : {
"Entity" : {
"title" : "Entity",
"type" : "object",
"properties" : {
"id" : {
"type" : "string",
"description" : "(unique_key) The ID of the entity.",
"readOnly" : true,
"example" : "1438752"
}
},
"description" : "A base object for all API entities."
},
"Action" : {
"title" : "Action",
"allOf" : [ {
"$ref" : "#/components/schemas/Entity"
}, {
"required" : [ "action_type" ],
"type" : "object",
"properties" : {
"name" : {
"type" : "string",
"description" : "The name of the action.",
"readOnly" : true
},
"enabled" : {
"type" : "boolean",
"description" : "Specifies whether the action is enabled.",
"readOnly" : true
},
"friendly_name" : {
"type" : "string",
"description" : "The optional additional name of the action.",
"readOnly" : true
},
"supports_approval" : {
"type" : "boolean",
"description" : "Specifies whether the action supports approval.",
"readOnly" : true
},
"action_type" : {
"$ref" : "#/components/schemas/ActionType"
}
},
"discriminator" : {
"propertyName" : "action_type"
}
} ]
},
"ActionType" : {
"title" : "ActionType",
"type" : "string",
"description" : "Indicates the type of action that occurs.",
"enum" : [ "agreement", "agreement-service", "bill-cycle-run", "bill-batch-run", "billing-account", "counter", "credit-adjustment", "disbursement", "invoice", "payment", "product-sale", "remote-prepaid-register", "sales-order", "service", "service-cfv", "system-notification", "usage-rule" ],
"x-swagger-router-model" : "ActionTypeDto"
}
}
}
},
"scheme" : "http",
"sourceFolder" : "src/main/java",
"apiDocPath" : "docs/",
"generateApis" : true,
"basePathWithoutHost" : "/billing/2",
"parcelableModel" : false,
"developerOrganizationUrl" : "http://openapitools.org",
"jackson" : "true",
"servers" : [ {
"url" : "///billing/2",
"variables" : [ ]
} ],
"threetenbp" : "true",
"artifactId" : "openapi-java-client",
"artifactDescription" : "OpenAPI Java",
"hideGenerationTimestamp" : false,
"disableHtmlEscaping" : false,
"developerName" : "OpenAPI-Generator Contributors",
"scmConnection" : "scm:git:git@github.com:openapitools/openapi-generator.git",
"unescapedAppDescription" : "No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)",
"artifactVersion" : "1.0.0",
"doNotUseRx" : true,
"appName" : "TRACT Billing API",
"generateApiDocs" : true,
"generatorVersion" : "unset",
"apiPackage" : "org.openapitools.client.api",
"scmUrl" : "https://github.com/openapitools/openapi-generator",
"hasServers" : true,
"basePath" : "http://http:/billing/2",
"gitRepoId" : "GIT_REPO_ID",
"booleanGetterPrefix" : "get",
"generatedDate" : "2019-04-09T15:13:38.375+02:00[Europe/Paris]",
"appDescriptionWithNewLines" : "No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)",
"gitUserId" : "GIT_USER_ID"
}
[main] INFO o.o.codegen.AbstractGenerator - writing file C:\Users\xxxxxx\github\openapi-generator\out\tmpissue320\.travis.yml
[main] INFO o.o.codegen.AbstractGenerator - writing file C:\Users\xxxxxx\github\openapi-generator\out\tmpissue320\src/main/java/org/openapitools/client\ApiClient.java
[main] INFO o.o.codegen.AbstractGenerator - writing file C:\Users\xxxxxx\github\openapi-generator\out\tmpissue320\src/main/java/org/openapitools/client\StringUtil.java
[main] INFO o.o.codegen.AbstractGenerator - writing file C:\Users\xxxxxx\github\openapi-generator\out\tmpissue320\src/main/java/org/openapitools/client/auth\HttpBasicAuth.java
[main] INFO o.o.codegen.AbstractGenerator - writing file C:\Users\xxxxxx\github\openapi-generator\out\tmpissue320\src/main/java/org/openapitools/client/auth\HttpBearerAuth.java
[main] INFO o.o.codegen.AbstractGenerator - writing file C:\Users\xxxxxx\github\openapi-generator\out\tmpissue320\src/main/java/org/openapitools/client/auth\ApiKeyAuth.java
[main] INFO o.o.codegen.AbstractGenerator - writing file C:\Users\xxxxxx\github\openapi-generator\out\tmpissue320\gradlew
[main] INFO o.o.codegen.AbstractGenerator - writing file C:\Users\xxxxxx\github\openapi-generator\out\tmpissue320\gradlew.bat
[main] INFO o.o.codegen.AbstractGenerator - writing file C:\Users\xxxxxx\github\openapi-generator\out\tmpissue320\gradle\wrapper\gradle-wrapper.properties
[main] INFO o.o.codegen.AbstractGenerator - writing file C:\Users\xxxxxx\github\openapi-generator\out\tmpissue320\gradle\wrapper\gradle-wrapper.jar
[main] INFO o.o.codegen.AbstractGenerator - writing file C:\Users\xxxxxx\github\openapi-generator\out\tmpissue320\git_push.sh
[main] INFO o.o.codegen.AbstractGenerator - writing file C:\Users\xxxxxx\github\openapi-generator\out\tmpissue320\.gitignore
[main] INFO o.o.codegen.AbstractGenerator - writing file C:\Users\xxxxxx\github\openapi-generator\out\tmpissue320\src/main/java/org/openapitools/client\ApiException.java
[main] INFO o.o.codegen.AbstractGenerator - writing file C:\Users\xxxxxx\github\openapi-generator\out\tmpissue320\src/main/java/org/openapitools/client\Configuration.java
[main] INFO o.o.codegen.AbstractGenerator - writing file C:\Users\xxxxxx\github\openapi-generator\out\tmpissue320\src/main/java/org/openapitools/client\Pair.java
[main] INFO o.o.codegen.AbstractGenerator - writing file C:\Users\xxxxxx\github\openapi-generator\out\tmpissue320\src/main/java/org/openapitools/client/auth\Authentication.java
[main] INFO o.o.codegen.AbstractGenerator - writing file C:\Users\xxxxxx\github\openapi-generator\out\tmpissue320\src/main/java/org/openapitools/client\JSON.java
[main] INFO o.o.codegen.AbstractGenerator - writing file C:\Users\xxxxxx\github\openapi-generator\out\tmpissue320\src/main/java/org/openapitools/client\ApiResponse.java
[main] INFO o.o.codegen.AbstractGenerator - writing file C:\Users\xxxxxx\github\openapi-generator\out\tmpissue320\src/main/java/org/openapitools/client\RFC3339DateFormat.java
[main] INFO o.o.codegen.AbstractGenerator - writing file C:\Users\xxxxxx\github\openapi-generator\out\tmpissue320\src/main/java/org/openapitools/client\CustomInstantDeserializer.java
[main] INFO o.o.codegen.AbstractGenerator - writing file C:\Users\xxxxxx\github\openapi-generator\out\tmpissue320\.openapi-generator\VERSION
Picked up JAVA_TOOL_OPTIONS: -Djava.vendor="Sun Microsystems Inc."
Process finished with exit code 0
tested with latest v7.0.0 and no longer seeing exceptions generating code.
Description
I am trying to generate a java client from an Open API version 2 spec. But the generator does not validate the spec.
openapi-generator version
3.0.1, 3.0.2-SNAPSHOT
OpenAPI declaration file content or url
Command line used for generation
Steps to reproduce
Output:
Suggest a fix/enhancement