Intelity / helium

DSL for REST API specification, verification, and code generation.
Apache License 2.0
4 stars 0 forks source link

[ANDR-2234] Treat raw body as a file upload in Swagger #37

Closed Vandalko closed 4 years ago

Vandalko commented 4 years ago
body data()

causes

Caused by: java.lang.NullPointerException
        at com.stanfy.helium.swagger.SwaggerHandler.resolveDefinition(SwaggerHandler.java:163)
        at com.stanfy.helium.swagger.SwaggerHandler.body(SwaggerHandler.java:217)
        at com.stanfy.helium.swagger.SwaggerHandler.buildSwagger(SwaggerHandler.java:126)
        at com.stanfy.helium.swagger.SwaggerHandler.handle(SwaggerHandler.java:74)
        at com.stanfy.helium.Helium.processBy(Helium.java:74)
        at com.stanfy.helium.Helium$processBy$2.call(Unknown Source)
        at com.stanfy.helium.gradle.tasks.SwaggerTask.doIt(SwaggerTask.groovy:25)
        at com.stanfy.helium.gradle.tasks.BaseHeliumTask.runWithClassLoader(BaseHeliumTask.groovy:58)