string
This commit is contained in:
@ -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",
|
||||
|
@ -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",
|
||||
|
Reference in New Issue
Block a user