You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Generation failed: class java.lang.Integer cannot be cast to class java.lang.String (java.lang.Integer and java.lang.String are in module java.base of loader 'bootstrap')
An exception is thrown because the choice variables refrenced on this line here are expected to be Strings. However, in Unqork open api spec, line 5709 has a definition like this:
SubmissionSortOrder:
name: sortOrder
in: query
description: Order of sort, if `sortBy` is specified. One of [`1` (ascending),`-1` (descending)]
required: false
schema:
type: integer
enum:
- 1
- -1
default: 1
The 1 and -1 are Integers and that's what causes the type cast exception
Expected Behavior
No error should be thrown and a valid json element template to be output.
Environment
OS: MacOS Monterey (12.6.3)
Library version: 8.5.0-SNAPSHOT
Camunda version: N/A
The text was updated successfully, but these errors were encountered:
Describe the Bug
When trying to parse Unqork's open api spec, the following error is thrown:
Steps to Reproduce
choice
variables refrenced on this line here are expected to be Strings. However, in Unqork open api spec, line 5709 has a definition like this:The
1
and-1
are Integers and that's what causes the type cast exceptionExpected Behavior
No error should be thrown and a valid json element template to be output.
Environment
The text was updated successfully, but these errors were encountered: