Trina
Trina
Having the same issue and using the same environment. `start-sleep` didn't work for me.
This is no longer happening for me, although I can't remember if I fixed it or it fixed itself.
Sadly it's not relevant in some of the other sample apps that uses this. He's probably removed the script tag in those tutorials and mistakenly checked it in, since he...
Duplicate of #82
It was a JSON issue, adding this to build.gradle fixed it: `compile 'org.json:json:20180813'`
Having the same problem for Java code generation, using: `org.openapitools:openapi-generator-gradle-plugin:3.3.2` ```yaml myField: type: string pattern: '[0-9]{10,11}' example: '12223334444' ``` Also tried pattern `'/[0-9]{10,11}/'`
This seems to fail when `in: path` but `in: query` params will work. The workaround for gradle works: `openApiGenerate { .... validateSpec = false }`
Stacktrace: ``` * What went wrong: Execution failed for task ':openApiGenerate'. > org.yaml.snakeyaml.events.MappingStartEvent.(Ljava/lang/String;Ljava/lang/String;ZLorg/yaml/snakeyaml/error/Mark;Lorg/yaml/snakeyaml/error/Mark;Ljava/lang/Boolean;)V * Try: Run with --info or --debug option to get more log output. Run with --scan to...
Also fails for `"org.openapitools:openapi-generator-gradle-plugin:4.0.0-beta"`
**Workaround** in build.gradle: ```yaml dependencies { classpath "org.openapitools:openapi-generator-gradle-plugin:3.3.2" // WORKAROUND HERE: configurations.all { resolutionStrategy { force 'org.yaml:snakeyaml:1.18' } } } ```