=doc fix spray-json included snippet (#21045)

This commit is contained in:
Konrad Malawski 2016-07-27 20:05:30 +02:00 committed by GitHub
parent c0861cb7d5
commit c520df3210
2 changed files with 6 additions and 6 deletions

View file

@ -4,8 +4,6 @@
package docs.http.scaladsl
import akka.http.scaladsl.marshallers.sprayjson.SprayJsonSupport
import akka.http.scaladsl.server.Directives
import org.scalatest.{ Matchers, WordSpec }
class SprayJsonExampleSpec extends WordSpec with Matchers {
@ -13,7 +11,9 @@ class SprayJsonExampleSpec extends WordSpec with Matchers {
def compileOnlySpec(body: => Unit) = ()
"spray-json example" in compileOnlySpec {
//#example
//#minimal-spray-json-example
import akka.http.scaladsl.server.Directives
import akka.http.scaladsl.marshallers.sprayjson.SprayJsonSupport
import spray.json._
// domain model
@ -120,4 +120,4 @@ class SprayJsonExampleSpec extends WordSpec with Matchers {
}
//#second-spray-json-example
}
}
}