string
This commit is contained in:
@ -33,7 +33,11 @@ object TestData {
|
|||||||
val testSpec = OpenApiSpec(
|
val testSpec = OpenApiSpec(
|
||||||
info = OpenApiSpecInfo(
|
info = OpenApiSpecInfo(
|
||||||
title = "Swagger Petstore",
|
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/"),
|
termsOfService = URI("http://swagger.io/terms/"),
|
||||||
contact = OpenApiSpecInfoContact(
|
contact = OpenApiSpecInfoContact(
|
||||||
name = "Team Swag",
|
name = "Team Swag",
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
"info" : {
|
"info" : {
|
||||||
"title" : "Swagger Petstore",
|
"title" : "Swagger Petstore",
|
||||||
"version" : "1.0.0",
|
"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/",
|
"termsOfService" : "http://swagger.io/terms/",
|
||||||
"contact" : {
|
"contact" : {
|
||||||
"name" : "Team Swag",
|
"name" : "Team Swag",
|
||||||
|
Reference in New Issue
Block a user