update swagger core, jackson to newer version (#11545)

This commit is contained in:
William Cheng
2022-02-08 13:31:20 +08:00
committed by GitHub
parent c9118d6982
commit b6c445cdc3
71 changed files with 985 additions and 984 deletions

View File

@@ -1,8 +1,8 @@
openapi: 3.0.0
info:
description: 'This spec is mainly for testing Petstore server and contains fake
endpoints, models. Please do not use this for any other purpose. Special characters:
" \'
description: "This spec is mainly for testing Petstore server and contains fake\
\ endpoints, models. Please do not use this for any other purpose. Special characters:\
\ \" \\"
license:
name: Apache-2.0
url: https://www.apache.org/licenses/LICENSE-2.0.html
@@ -10,7 +10,7 @@ info:
version: 1.0.0
servers:
- description: petstore server
url: http://{server}.swagger.io:{port}/v2
url: "http://{server}.swagger.io:{port}/v2"
variables:
server:
default: petstore
@@ -24,7 +24,7 @@ servers:
- "80"
- "8080"
- description: The local server
url: https://localhost:8080/{version}
url: "https://localhost:8080/{version}"
variables:
version:
default: v2
@@ -142,8 +142,8 @@ paths:
/pet/findByTags:
get:
deprecated: true
description: Multiple tags can be provided with comma separated strings. Use
tag1, tag2, tag3 for testing.
description: "Multiple tags can be provided with comma separated strings. Use\
\ tag1, tag2, tag3 for testing."
operationId: findPetsByTags
parameters:
- description: Tags to filter by
@@ -879,11 +879,11 @@ paths:
type: number
string:
description: None
pattern: /[a-z]/i
pattern: "/[a-z]/i"
type: string
pattern_without_delimiter:
description: None
pattern: ^[A-Z].*
pattern: "^[A-Z].*"
type: string
byte:
description: None
@@ -1109,8 +1109,8 @@ paths:
x-accepts: application/json
/fake/body-with-file-schema:
put:
description: For this test, the body for this request much reference a schema
named `File`.
description: "For this test, the body for this request much reference a schema\
\ named `File`."
operationId: testBodyWithFileSchema
requestBody:
content:
@@ -1387,9 +1387,9 @@ components:
lastName: lastName
password: password
userStatus: 6
objectWithNoDeclaredPropsNullable: '{}'
objectWithNoDeclaredPropsNullable: "{}"
phone: phone
objectWithNoDeclaredProps: '{}'
objectWithNoDeclaredProps: "{}"
id: 0
anyTypePropNullable: ""
email: email
@@ -1426,14 +1426,14 @@ components:
nullable: true
type: object
anyTypeProp:
description: test code generation for any type Here the 'type' attribute
is not specified, which means the value can be anything, including the
null value, string, number, boolean, array or object. See https://github.com/OAI/OpenAPI-Specification/issues/1389
description: "test code generation for any type Here the 'type' attribute\
\ is not specified, which means the value can be anything, including the\
\ null value, string, number, boolean, array or object. See https://github.com/OAI/OpenAPI-Specification/issues/1389"
anyTypePropNullable:
description: test code generation for any type Here the 'type' attribute
is not specified, which means the value can be anything, including the
null value, string, number, boolean, array or object. The 'nullable' attribute
does not change the allowed values.
description: "test code generation for any type Here the 'type' attribute\
\ is not specified, which means the value can be anything, including the\
\ null value, string, number, boolean, array or object. The 'nullable'\
\ attribute does not change the allowed values."
nullable: true
type: object
xml:
@@ -1623,7 +1623,7 @@ components:
format: number
type: string
string:
pattern: /[a-z]/i
pattern: "/[a-z]/i"
type: string
byte:
format: byte
@@ -1650,12 +1650,12 @@ components:
type: string
pattern_with_digits:
description: A string that is a 10 digit number. Can have leading zeros.
pattern: ^\d{10}$
pattern: "^\\d{10}$"
type: string
pattern_with_digits_and_delimiter:
description: A string starting with 'image_' (case insensitive) and one
to three digits following i.e. Image_01.
pattern: /^image_\d{1,3}$/i
pattern: "/^image_\\d{1,3}$/i"
type: string
required:
- byte
@@ -1735,8 +1735,8 @@ components:
type: object
empty_map:
additionalProperties: false
description: an object with no declared properties and no undeclared properties,
hence it's an empty map.
description: "an object with no declared properties and no undeclared properties,\
\ hence it's an empty map."
type: object
map_with_undeclared_properties_string:
additionalProperties:
@@ -1966,7 +1966,7 @@ components:
_special_model.name_:
type: string
xml:
name: $special[model.name]
name: "$special[model.name]"
HealthCheckResult:
description: Just a string to inform instance is up and running. Make it nullable
in hope to get it as pointer in generated model.
@@ -2047,10 +2047,10 @@ components:
nullable: true
properties:
cultivar:
pattern: ^[a-zA-Z\s]*$
pattern: "^[a-zA-Z\\s]*$"
type: string
origin:
pattern: /^[A-Z\s]*$/i
pattern: "/^[A-Z\\s]*$/i"
type: string
type: object
banana:
@@ -2400,11 +2400,11 @@ components:
type: number
string:
description: None
pattern: /[a-z]/i
pattern: "/[a-z]/i"
type: string
pattern_without_delimiter:
description: None
pattern: ^[A-Z].*
pattern: "^[A-Z].*"
type: string
byte:
description: None