forked from loafle/openapi-generator-original
[scala-akka-http-server] Fix a generation problem on operations with empty responses (#5868)
* [scala-akka-http-server] When expecting an empty response, a response with an empty text/plain content is not produced anymore * Updated scala-akka-http-server samples Co-authored-by: Olivier Leonard <oleonard@ankama.com>
This commit is contained in:
@@ -2,6 +2,7 @@ package org.openapitools.server.api
|
||||
|
||||
import akka.http.scaladsl.server.Directives._
|
||||
import akka.http.scaladsl.server.Route
|
||||
import akka.http.scaladsl.model.StatusCodes
|
||||
import akka.http.scaladsl.marshalling.ToEntityMarshaller
|
||||
import akka.http.scaladsl.unmarshalling.FromEntityUnmarshaller
|
||||
import akka.http.scaladsl.unmarshalling.FromStringUnmarshaller
|
||||
|
||||
@@ -2,6 +2,7 @@ package org.openapitools.server.api
|
||||
|
||||
import akka.http.scaladsl.server.Directives._
|
||||
import akka.http.scaladsl.server.Route
|
||||
import akka.http.scaladsl.model.StatusCodes
|
||||
import akka.http.scaladsl.marshalling.ToEntityMarshaller
|
||||
import akka.http.scaladsl.unmarshalling.FromEntityUnmarshaller
|
||||
import akka.http.scaladsl.unmarshalling.FromStringUnmarshaller
|
||||
|
||||
@@ -2,6 +2,7 @@ package org.openapitools.server.api
|
||||
|
||||
import akka.http.scaladsl.server.Directives._
|
||||
import akka.http.scaladsl.server.Route
|
||||
import akka.http.scaladsl.model.StatusCodes
|
||||
import akka.http.scaladsl.marshalling.ToEntityMarshaller
|
||||
import akka.http.scaladsl.unmarshalling.FromEntityUnmarshaller
|
||||
import akka.http.scaladsl.unmarshalling.FromStringUnmarshaller
|
||||
|
||||
Reference in New Issue
Block a user