From b0c239f39012f80d9b823109e692301959aee89f Mon Sep 17 00:00:00 2001 From: Ryan Date: Sun, 11 Apr 2021 14:56:56 -0400 Subject: [PATCH] string --- .../test/kotlin/org/leafygreens/kompendium/util/TestData.kt | 6 +++++- kompendium/src/test/resources/petstore.json | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/kompendium/src/test/kotlin/org/leafygreens/kompendium/util/TestData.kt b/kompendium/src/test/kotlin/org/leafygreens/kompendium/util/TestData.kt index 8f6d743e4..7cf5f5aa6 100644 --- a/kompendium/src/test/kotlin/org/leafygreens/kompendium/util/TestData.kt +++ b/kompendium/src/test/kotlin/org/leafygreens/kompendium/util/TestData.kt @@ -33,7 +33,11 @@ object TestData { val testSpec = OpenApiSpec( info = OpenApiSpecInfo( title = "Swagger Petstore", - description = "This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net, #swagger](http://swagger.io/irc/). For this sample, you can use the api key `special-key` to test the authorization filters.", + description = """ + This is a sample server Petstore server. You can find out more about Swagger at + [http://swagger.io](http://swagger.io) or on [irc.freenode.net, #swagger](http://swagger.io/irc/). + For this sample, you can use the api key `special-key` to test the authorization filters. + """.trimIndent(), termsOfService = URI("http://swagger.io/terms/"), contact = OpenApiSpecInfoContact( name = "Team Swag", diff --git a/kompendium/src/test/resources/petstore.json b/kompendium/src/test/resources/petstore.json index 0022ac917..520560bcf 100644 --- a/kompendium/src/test/resources/petstore.json +++ b/kompendium/src/test/resources/petstore.json @@ -3,7 +3,7 @@ "info" : { "title" : "Swagger Petstore", "version" : "1.0.0", - "description" : "This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net, #swagger](http://swagger.io/irc/). For this sample, you can use the api key `special-key` to test the authorization filters.", + "description" : "This is a sample server Petstore server. You can find out more about Swagger at\n[http://swagger.io](http://swagger.io) or on [irc.freenode.net, #swagger](http://swagger.io/irc/).\nFor this sample, you can use the api key `special-key` to test the authorization filters.", "termsOfService" : "http://swagger.io/terms/", "contact" : { "name" : "Team Swag",