Greetings,

I have been searching for days for a means to generate the client library 
for Graylog's Swagger API.
Using swagger-dodegen-cli as "java -jar swagger-codegen-cli.jar generate -i 
http://graylog.url:12900/api-docs -l scala -o dir" I get the following 
output:

[main] INFO io.swagger.parser.Swagger20Parser - reading from 
http://graylog.url:12900/api-docs
[main] INFO io.swagger.parser.Swagger20Parser - reading from 
http://graylog.url:12900/api-docs
java.io.IOException: Server returned HTTP response code: 500 for URL: 
http://graylog.url:12900/api-docs/streams/{streamid}/alerts/{alertId}/history
...
java.io.IOException: Server returned HTTP response code: 500 for URL: 
http://graylog.url:12900/api-docs/streams/{streamid}/alerts/{alertId}/history
...
...
...
[main] ERROR io.swagger.parser.SwaggerCompatConverter - Error! Missing 
array type for property!  Assuming `object` -- please fix your spec
[main] INFO io.swagger.codegen.ignore.CodegenIgnoreProcessor - No 
.swagger-codegen-ignore file found.
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/AddRuleRequest.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/AlertListSummary.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/AllIndices.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/BulkRuleRequest.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/ChangePasswordRequest.scala
...
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/AddRuleRequest.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/AlertListSummary.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/AllIndices.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/BulkRuleRequest.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/ChangePasswordRequest.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/ChangeUserRequest.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/CloneStreamRequest.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/ClosedIndices.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/ClusterConfigList.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/ClusterDataSet.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/ClusterHealth.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/ClusterName.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/ClusterStats.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/CollectorList.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/CollectorRegistrationRequest.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/CollectorSummary.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/ConfigurationBundle.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/CreateDashboardRequest.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/CreateOutputRequest.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/CreateSavedSearchRequest.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/CreateStreamRequest.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/CreateUserRequest.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/DashboardList.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/DebugEvent.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/DecoratorImpl.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/DeflectorSummary.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/DisplayGettingStarted.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/ElasticsearchStats.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/ExportBundle.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/ExposedConfiguration.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/FailureCount.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/FieldStatsResult.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/FilterDescription.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/FsStats.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/GrokPattern.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/GrokPatternList.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/GrokPatternSummary.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/HistogramResult.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/IndexInfo.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/IndexRangeSummary.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/IndexRangesResponse.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/IndexerOverview.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/IndicesReadRequest.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/InputCreateRequest.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/InputCreated.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/InputDeleted.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/InputStateSummary.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/InputStatesList.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/InputSummary.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/InputTypeInfo.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/InputTypesSummary.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/InputsList.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/JournalSummaryResponse.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/JvmStats.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/LdapSettingsRequest.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/LdapSettingsResponse.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/LdapTestConfigRequest.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/LdapTestConfigResponse.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/LogMessagesSummary.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/LoggersSummary.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/MapDataSearchRequest.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/MapDataSearchResult.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/MessageCountResponse.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/MessageParseRequest.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/MessageProcessorsConfigWithDescriptors.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/MessageTokens.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/MetricNamesResponse.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/MetricsReadRequest.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/MetricsSummaryResponse.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/MongoStats.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/NetworkStats.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/NodeDataSet.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/NodeSummary.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/NodeSummaryList.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/OpenIndicesInfo.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/OsStats.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/Output.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/OutputListResponse.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/OutputSummary.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/PermissionEditRequest.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/PipelineConnections.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/PipelineSource.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/PluginList.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/ProcessStats.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/ReaderPermissionResponse.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/RetentionStrategies.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/RetentionStrategyDescription.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/RetentionStrategySummary.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/RoleMembershipResponse.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/RoleResponse.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/RolesResponse.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/RotationStrategies.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/RotationStrategyDescription.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/RotationStrategySummary.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/RuleSource.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/RulesList.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/SearchResponse.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/SessionCreateRequest.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/SessionResponse.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/SessionValidationResponse.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/SimulationRequest.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/SimulationResponse.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/SourcesList.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/StreamListResponse.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/StreamResponse.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/SubsystemSummary.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/SystemJVMResponse.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/SystemJobSummary.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/SystemOverviewResponse.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/SystemStats.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/SystemThreadDumpResponse.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/TermsResult.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/TermsStatsResult.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/TestMatchResponse.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/Throughput.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/Token.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/TokenList.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/TriggerRequest.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/UpdateDashboardRequest.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/UpdateRuleRequest.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/UpdateStreamRequest.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/UpdateUserPreferences.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/UsageStatsConfigurationResponse.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/UsageStatsOptOutState.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/UserList.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/UserSummary.scala
[main] INFO io.swagger.codegen.AbstractGenerator - writing file 
dir/src/main/scala/io/swagger/client/model/WidgetPositionsRequest.scala
com.fasterxml.jackson.databind.JsonMappingException: (was 
java.lang.NullPointerException) (through reference chain: 
io.swagger.models.properties.RefProperty["$ref"])
        at 
com.fasterxml.jackson.databind.JsonMappingException.wrapWithPath(JsonMappingException.java:210)
        at 
com.fasterxml.jackson.databind.JsonMappingException.wrapWithPath(JsonMappingException.java:177)
        at 
com.fasterxml.jackson.databind.ser.std.StdSerializer.wrapAndThrow(StdSerializer.java:187)
        at 
com.fasterxml.jackson.databind.ser.std.BeanSerializerBase.serializeFields(BeanSerializerBase.java:647)
        at 
com.fasterxml.jackson.databind.ser.BeanSerializer.serialize(BeanSerializer.java:152)
        at 
com.fasterxml.jackson.databind.ser.DefaultSerializerProvider.serializeValue(DefaultSerializerProvider.java:128)
        at 
com.fasterxml.jackson.databind.ObjectWriter._configAndWriteValue(ObjectWriter.java:800)
        at 
com.fasterxml.jackson.databind.ObjectWriter.writeValueAsString(ObjectWriter.java:676)
        at io.swagger.util.Json.pretty(Json.java:23)
        at 
io.swagger.codegen.DefaultCodegen.fromProperty(DefaultCodegen.java:1361)
        at 
io.swagger.codegen.DefaultCodegen.fromParameter(DefaultCodegen.java:2195)
        at 
io.swagger.codegen.DefaultCodegen.fromOperation(DefaultCodegen.java:1961)
        at 
io.swagger.codegen.DefaultGenerator.processOperation(DefaultGenerator.java:744)
        at 
io.swagger.codegen.DefaultGenerator.processPaths(DefaultGenerator.java:688)
        at 
io.swagger.codegen.DefaultGenerator.generate(DefaultGenerator.java:376)
        at io.swagger.codegen.cmd.Generate.run(Generate.java:223)
        at io.swagger.codegen.SwaggerCodegen.main(SwaggerCodegen.java:36)
Caused by: java.lang.NullPointerException
        at 
io.swagger.models.properties.RefProperty.get$ref(RefProperty.java:52)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at 
com.fasterxml.jackson.databind.ser.BeanPropertyWriter.serializeAsField(BeanPropertyWriter.java:466)
        at 
com.fasterxml.jackson.databind.ser.std.BeanSerializerBase.serializeFields(BeanSerializerBase.java:639)
        ... 13 more
[main] WARN io.swagger.codegen.DefaultCodegen - Error obtaining the 
datatype from 
RefProperty:io.swagger.models.properties.RefProperty@dec188bd. Datatype 
default to Object
[main] ERROR io.swagger.codegen.DefaultCodegen - null
java.lang.NullPointerException
        at 
io.swagger.models.properties.RefProperty.get$ref(RefProperty.java:52)
        at 
io.swagger.codegen.DefaultCodegen.getSwaggerType(DefaultCodegen.java:1062)
        at 
io.swagger.codegen.languages.ScalaClientCodegen.getSwaggerType(ScalaClientCodegen.java:188)
        at 
io.swagger.codegen.DefaultCodegen.fromProperty(DefaultCodegen.java:1365)
        at 
io.swagger.codegen.DefaultCodegen.fromParameter(DefaultCodegen.java:2195)
        at 
io.swagger.codegen.DefaultCodegen.fromOperation(DefaultCodegen.java:1961)
        at 
io.swagger.codegen.DefaultGenerator.processOperation(DefaultGenerator.java:744)
        at 
io.swagger.codegen.DefaultGenerator.processPaths(DefaultGenerator.java:688)
        at 
io.swagger.codegen.DefaultGenerator.generate(DefaultGenerator.java:376)
        at io.swagger.codegen.cmd.Generate.run(Generate.java:223)
        at io.swagger.codegen.SwaggerCodegen.main(SwaggerCodegen.java:36)
[main] WARN io.swagger.codegen.DefaultCodegen - Object (reserved word) 
cannot be used as model name. Renamed to ModelObject
[main] WARN io.swagger.codegen.DefaultCodegen - Error obtaining the 
datatype from 
RefProperty:io.swagger.models.properties.RefProperty@dec188bd. Datatype 
default to Object
[main] ERROR io.swagger.codegen.DefaultCodegen - null
...
[hundreds of NullPointerExceptions]
...
[main] WARN io.swagger.codegen.DefaultCodegen - Object (reserved word) 
cannot be used as model name. Renamed to ModelObject
Exception in thread "main" java.lang.RuntimeException: Could not process 
operation:
  Tag: systemlbstatus
  Operation: override
  Resource: put /system/lbstatus/override/{status}
  Definitions: 
{ReaderPermissionResponse=io.swagger.models.ModelImpl@e1779cb7, 
StreamListResponse=io.swagger.models.ModelImpl@bbf8d651, 
InputTypeInfo=io.swagger.models.ModelImpl@cfbde0da, 
Token=io.swagger.models.ModelImpl@ed0a845c, 
MessageCountResponse=io.swagger.models.ModelImpl@55b40732, 
RotationStrategySummary=io.swagger.models.ModelImpl@d9de704b, 
InputDeleted=io.swagger.models.ModelImpl@ba7a1246, 
LdapTestConfigRequest=io.swagger.models.ModelImpl@8ec56a9e, 
ClusterDataSet=io.swagger.models.ModelImpl@128ca962, 
TermsResult=io.swagger.models.ModelImpl@629aed26, 
ClosedIndices=io.swagger.models.ModelImpl@2f8d7735, 
CollectorSummary=io.swagger.models.ModelImpl@1ba838a2, 
DeflectorSummary=io.swagger.models.ModelImpl@ddcbc33c, 
PipelineConnections=io.swagger.models.ModelImpl@f093c8a0, 
FailureCount=io.swagger.models.ModelImpl@1f8eea33, 
SimulationResponse=io.swagger.models.ModelImpl@7f7fcea7, 
StreamResponse=io.swagger.models.ModelImpl@c1ab6149, 
GrokPatternSummary=io.swagger.models.ModelImpl@57d0a57e, 
PluginList=io.swagger.models.ModelImpl@78f04817, 
MapDataSearchRequest=io.swagger.models.ModelImpl@187a0549, 
UpdateRuleRequest=io.swagger.models.ModelImpl@e62ef038, 
SystemOverviewResponse=io.swagger.models.ModelImpl@fb8443aa, 
SourcesList=io.swagger.models.ModelImpl@39d7b27f, 
GrokPatternList=io.swagger.models.ModelImpl@f55e906, 
InputCreated=io.swagger.models.ModelImpl@4351acd7, 
UpdateUserPreferences=io.swagger.models.ModelImpl@a9d4b00e, 
SessionResponse=io.swagger.models.ModelImpl@fa9360d3, 
RolesResponse=io.swagger.models.ModelImpl@aa705dc9, 
UsageStatsConfigurationResponse=io.swagger.models.ModelImpl@f5e21867, 
AddRuleRequest=io.swagger.models.ModelImpl@74e9b32a, 
InputSummary=io.swagger.models.ModelImpl@128b56d0, 
InputStatesList=io.swagger.models.ModelImpl@98863167, 
IndexerOverview=io.swagger.models.ModelImpl@ee632690, 
DisplayGettingStarted=io.swagger.models.ModelImpl@2579c9cc, 
MapDataSearchResult=io.swagger.models.ModelImpl@7ba791c2, 
FsStats=io.swagger.models.ModelImpl@fee1ecf2, 
MessageParseRequest=io.swagger.models.ModelImpl@c4737842, 
OpenIndicesInfo=io.swagger.models.ModelImpl@5babea36, 
RotationStrategyDescription=io.swagger.models.ModelImpl@961de339, 
LdapTestConfigResponse=io.swagger.models.ModelImpl@e6581cf7, 
ExposedConfiguration=io.swagger.models.ModelImpl@81fc2321, 
OutputListResponse=io.swagger.models.ModelImpl@2dc5632a, 
Output=io.swagger.models.ModelImpl@c3ceedf, 
MessageTokens=io.swagger.models.ModelImpl@644bc442, 
LoggersSummary=io.swagger.models.ModelImpl@350cfde4, 
LogMessagesSummary=io.swagger.models.ModelImpl@5ebae1e1, 
JvmStats=io.swagger.models.ModelImpl@d199858d, 
ProcessStats=io.swagger.models.ModelImpl@a7e23f59, 
RetentionStrategyDescription=io.swagger.models.ModelImpl@cc261167, 
RoleResponse=io.swagger.models.ModelImpl@4fb1d1e5, 
JournalSummaryResponse=io.swagger.models.ModelImpl@f0cfd09d, 
SystemJVMResponse=io.swagger.models.ModelImpl@7c4d3ed4, 
IndicesReadRequest=io.swagger.models.ModelImpl@181391d0, 
InputCreateRequest=io.swagger.models.ModelImpl@f20cbc75, 
ClusterHealth=io.swagger.models.ModelImpl@a333ae84, 
CreateOutputRequest=io.swagger.models.ModelImpl@3dace6e8, 
AlertListSummary=io.swagger.models.ModelImpl@a17182e0, 
MongoStats=io.swagger.models.ModelImpl@ee016813, 
OutputSummary=io.swagger.models.ModelImpl@e7889fe4, 
AllIndices=io.swagger.models.ModelImpl@1f60c78d, 
NodeSummaryList=io.swagger.models.ModelImpl@f489702d, 
NodeDataSet=io.swagger.models.ModelImpl@614b5036, 
LdapSettingsResponse=io.swagger.models.ModelImpl@29ca6192, 
WidgetPositionsRequest=io.swagger.models.ModelImpl@4c58728d, 
FilterDescription=io.swagger.models.ModelImpl@26f4a674, 
CollectorRegistrationRequest=io.swagger.models.ModelImpl@7ffb7668, 
UserSummary=io.swagger.models.ModelImpl@3cde7a, 
TriggerRequest=io.swagger.models.ModelImpl@f43ac54b, 
UpdateDashboardRequest=io.swagger.models.ModelImpl@26b93ee8, 
RetentionStrategies=io.swagger.models.ModelImpl@d5527feb, 
RetentionStrategySummary=io.swagger.models.ModelImpl@4da0e579, 
ClusterStats=io.swagger.models.ModelImpl@c63f3e3b, 
DebugEvent=io.swagger.models.ModelImpl@7ab9757a, 
SimulationRequest=io.swagger.models.ModelImpl@5e2a3877, 
UpdateStreamRequest=io.swagger.models.ModelImpl@f1396df5, 
GrokPattern=io.swagger.models.ModelImpl@758e87aa, 
MessageProcessorsConfigWithDescriptors=io.swagger.models.ModelImpl@e4907ad2, 
InputStateSummary=io.swagger.models.ModelImpl@be2c9e0e, 
RotationStrategies=io.swagger.models.ModelImpl@29f9f9d9, 
CollectorList=io.swagger.models.ModelImpl@e7f4482f, 
SearchResponse=io.swagger.models.ModelImpl@7d226ac4, 
CloneStreamRequest=io.swagger.models.ModelImpl@fced3c0b, 
NodeSummary=io.swagger.models.ModelImpl@37a5bf1c, 
InputTypesSummary=io.swagger.models.ModelImpl@36a7034e, 
RoleMembershipResponse=io.swagger.models.ModelImpl@f84a7a70, 
CreateUserRequest=io.swagger.models.ModelImpl@dd31dccf, 
SessionCreateRequest=io.swagger.models.ModelImpl@5d5d9c4c, 
MetricsReadRequest=io.swagger.models.ModelImpl@81c238cc, 
RuleSource=io.swagger.models.ModelImpl@ed1cdb42, 
IndexRangeSummary=io.swagger.models.ModelImpl@6466a1d8, 
HistogramResult=io.swagger.models.ModelImpl@d6c264ad, 
DecoratorImpl=io.swagger.models.ModelImpl@14907981, 
InputsList=io.swagger.models.ModelImpl@5e3afd0f, 
SystemJobSummary=io.swagger.models.ModelImpl@1d32a6c5, 
ExportBundle=io.swagger.models.ModelImpl@e6587fc8, 
NetworkStats=io.swagger.models.ModelImpl@2818d545, 
Throughput=io.swagger.models.ModelImpl@6cc7f2ec, 
TokenList=io.swagger.models.ModelImpl@5480d42e, 
IndexInfo=io.swagger.models.ModelImpl@79dd4a76, 
PermissionEditRequest=io.swagger.models.ModelImpl@219c5801, 
CreateDashboardRequest=io.swagger.models.ModelImpl@a6e90495, 
ChangePasswordRequest=io.swagger.models.ModelImpl@bc4f358d, 
SystemStats=io.swagger.models.ModelImpl@8edcd9b4, 
IndexRangesResponse=io.swagger.models.ModelImpl@14784f22, 
CreateStreamRequest=io.swagger.models.ModelImpl@b5acf06b, 
ClusterName=io.swagger.models.ModelImpl@93f944dc, 
MetricNamesResponse=io.swagger.models.ModelImpl@a3d4fb10, 
DashboardList=io.swagger.models.ModelImpl@93302e87, 
RulesList=io.swagger.models.ModelImpl@ef5a6169, 
UserList=io.swagger.models.ModelImpl@9d246ab0, 
MetricsSummaryResponse=io.swagger.models.ModelImpl@d0aff7e6, 
PipelineSource=io.swagger.models.ModelImpl@d75eebab, 
BulkRuleRequest=io.swagger.models.ModelImpl@11638c61, 
ClusterConfigList=io.swagger.models.ModelImpl@785a675e, 
OsStats=io.swagger.models.ModelImpl@575fcce6, 
TestMatchResponse=io.swagger.models.ModelImpl@10d64834, 
UsageStatsOptOutState=io.swagger.models.ModelImpl@5d39d8a5, 
LdapSettingsRequest=io.swagger.models.ModelImpl@6c9087f6, 
FieldStatsResult=io.swagger.models.ModelImpl@65ebcdd6, 
ElasticsearchStats=io.swagger.models.ModelImpl@cd470b7, 
SubsystemSummary=io.swagger.models.ModelImpl@7e30605b, 
ConfigurationBundle=io.swagger.models.ModelImpl@75f39c9c, 
SystemThreadDumpResponse=io.swagger.models.ModelImpl@51794411, 
ChangeUserRequest=io.swagger.models.ModelImpl@523ecb72, 
SessionValidationResponse=io.swagger.models.ModelImpl@ce683406, 
TermsStatsResult=io.swagger.models.ModelImpl@29197af0, 
CreateSavedSearchRequest=io.swagger.models.ModelImpl@439b9164}
  Exception: override (reserved word) cannot be used as method name
        at 
io.swagger.codegen.DefaultGenerator.processOperation(DefaultGenerator.java:796)
        at 
io.swagger.codegen.DefaultGenerator.processPaths(DefaultGenerator.java:690)
        at 
io.swagger.codegen.DefaultGenerator.generate(DefaultGenerator.java:376)
        at io.swagger.codegen.cmd.Generate.run(Generate.java:223)
        at io.swagger.codegen.SwaggerCodegen.main(SwaggerCodegen.java:36)
Caused by: java.lang.RuntimeException: override (reserved word) cannot be 
used as method name
        at 
io.swagger.codegen.languages.ScalaClientCodegen.toOperationId(ScalaClientCodegen.java:257)
        at 
io.swagger.codegen.DefaultCodegen.fromOperation(DefaultCodegen.java:1802)
        at 
io.swagger.codegen.DefaultGenerator.processOperation(DefaultGenerator.java:744)
        ... 4 more

I get similar errors when attempting to generate as Java as well. What am I 
doing wrong?

Thank you for your time.

-- 
You received this message because you are subscribed to the Google Groups 
"Graylog Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to graylog2+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/graylog2/22907cef-4cf4-4d1e-9f6f-55daee5cb10b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to