| { |
| "swagger" : "2.0", |
| "info" : { |
| "description" : "This provides the REST API for Pulsar Packages operations", |
| "version" : "v3", |
| "title" : "Pulsar Packages REST API", |
| "license" : { |
| "name" : "Apache 2.0", |
| "url" : "http://www.apache.org/licenses/LICENSE-2.0.html" |
| } |
| }, |
| "basePath" : "/admin/v3", |
| "tags" : [ { |
| "name" : "packages" |
| } ], |
| "schemes" : [ "http", "https" ], |
| "paths" : { |
| "/packages/{type}/{tenant}/{namespace}" : { |
| "get" : { |
| "tags" : [ "packages" ], |
| "summary" : "Get all the specified type packages in a namespace.", |
| "description" : "", |
| "operationId" : "listPackages", |
| "consumes" : [ "application/json" ], |
| "produces" : [ "application/json" ], |
| "parameters" : [ { |
| "name" : "type", |
| "in" : "path", |
| "required" : true, |
| "type" : "string" |
| }, { |
| "name" : "tenant", |
| "in" : "path", |
| "required" : true, |
| "type" : "string" |
| }, { |
| "name" : "namespace", |
| "in" : "path", |
| "required" : true, |
| "type" : "string" |
| } ], |
| "responses" : { |
| "200" : { |
| "description" : "Return all the specified type package names in the specified namespace.", |
| "schema" : { |
| "$ref" : "#/definitions/PackageMetadata" |
| } |
| }, |
| "412" : { |
| "description" : "The package type is illegal." |
| }, |
| "500" : { |
| "description" : "Internal server error." |
| }, |
| "503" : { |
| "description" : "Package Management Service is not enabled in the broker." |
| } |
| } |
| } |
| }, |
| "/packages/{type}/{tenant}/{namespace}/{packageName}" : { |
| "get" : { |
| "tags" : [ "packages" ], |
| "summary" : "Get all the versions of a package.", |
| "description" : "", |
| "operationId" : "listPackageVersion", |
| "consumes" : [ "application/json" ], |
| "produces" : [ "application/json" ], |
| "parameters" : [ { |
| "name" : "type", |
| "in" : "path", |
| "required" : true, |
| "type" : "string" |
| }, { |
| "name" : "tenant", |
| "in" : "path", |
| "required" : true, |
| "type" : "string" |
| }, { |
| "name" : "namespace", |
| "in" : "path", |
| "required" : true, |
| "type" : "string" |
| }, { |
| "name" : "packageName", |
| "in" : "path", |
| "required" : true, |
| "type" : "string" |
| } ], |
| "responses" : { |
| "200" : { |
| "description" : "Return the package versions of the specified package.", |
| "schema" : { |
| "type" : "array", |
| "items" : { |
| "type" : "string" |
| } |
| } |
| }, |
| "404" : { |
| "description" : "The specified package is not existent." |
| }, |
| "412" : { |
| "description" : "The package name is illegal." |
| }, |
| "500" : { |
| "description" : "Internal server error." |
| }, |
| "503" : { |
| "description" : "Package Management Service is not enabled in the broker." |
| } |
| } |
| } |
| }, |
| "/packages/{type}/{tenant}/{namespace}/{packageName}/{version}" : { |
| "get" : { |
| "tags" : [ "packages" ], |
| "summary" : "Download a package with the package name.", |
| "description" : "", |
| "operationId" : "download", |
| "consumes" : [ "application/json" ], |
| "produces" : [ "application/json" ], |
| "parameters" : [ { |
| "name" : "type", |
| "in" : "path", |
| "required" : true, |
| "type" : "string" |
| }, { |
| "name" : "tenant", |
| "in" : "path", |
| "required" : true, |
| "type" : "string" |
| }, { |
| "name" : "namespace", |
| "in" : "path", |
| "required" : true, |
| "type" : "string" |
| }, { |
| "name" : "packageName", |
| "in" : "path", |
| "required" : true, |
| "type" : "string" |
| }, { |
| "name" : "version", |
| "in" : "path", |
| "required" : true, |
| "type" : "string" |
| } ], |
| "responses" : { |
| "200" : { |
| "description" : "Download the specified package successfully.", |
| "schema" : { |
| "$ref" : "#/definitions/StreamingOutput" |
| } |
| }, |
| "404" : { |
| "description" : "The specified package is not existent." |
| }, |
| "412" : { |
| "description" : "The package name is illegal." |
| }, |
| "500" : { |
| "description" : "Internal server error." |
| }, |
| "503" : { |
| "description" : "Package Management Service is not enabled in the broker." |
| } |
| } |
| }, |
| "post" : { |
| "tags" : [ "packages" ], |
| "summary" : "Upload a package.", |
| "description" : "", |
| "operationId" : "upload", |
| "consumes" : [ "multipart/form-data" ], |
| "produces" : [ "application/json" ], |
| "parameters" : [ { |
| "name" : "type", |
| "in" : "path", |
| "required" : true, |
| "type" : "string" |
| }, { |
| "name" : "tenant", |
| "in" : "path", |
| "required" : true, |
| "type" : "string" |
| }, { |
| "name" : "namespace", |
| "in" : "path", |
| "required" : true, |
| "type" : "string" |
| }, { |
| "name" : "packageName", |
| "in" : "path", |
| "required" : true, |
| "type" : "string" |
| }, { |
| "name" : "version", |
| "in" : "path", |
| "required" : true, |
| "type" : "string" |
| } ], |
| "responses" : { |
| "200" : { |
| "description" : "Upload the specified package successfully." |
| }, |
| "412" : { |
| "description" : "The package name is illegal." |
| }, |
| "500" : { |
| "description" : "Internal server error." |
| }, |
| "503" : { |
| "description" : "Package Management Service is not enabled in the broker." |
| } |
| } |
| }, |
| "delete" : { |
| "tags" : [ "packages" ], |
| "summary" : "Delete a package with the package name.", |
| "description" : "", |
| "operationId" : "delete", |
| "consumes" : [ "application/json" ], |
| "produces" : [ "application/json" ], |
| "parameters" : [ { |
| "name" : "type", |
| "in" : "path", |
| "required" : true, |
| "type" : "string" |
| }, { |
| "name" : "tenant", |
| "in" : "path", |
| "required" : true, |
| "type" : "string" |
| }, { |
| "name" : "namespace", |
| "in" : "path", |
| "required" : true, |
| "type" : "string" |
| }, { |
| "name" : "packageName", |
| "in" : "path", |
| "required" : true, |
| "type" : "string" |
| }, { |
| "name" : "version", |
| "in" : "path", |
| "required" : true, |
| "type" : "string" |
| } ], |
| "responses" : { |
| "200" : { |
| "description" : "Delete the specified package successfully." |
| }, |
| "404" : { |
| "description" : "The specified package is not existent." |
| }, |
| "412" : { |
| "description" : "The package name is illegal." |
| }, |
| "500" : { |
| "description" : "Internal server error." |
| }, |
| "503" : { |
| "description" : "Package Management Service is not enabled in the broker." |
| } |
| } |
| } |
| }, |
| "/packages/{type}/{tenant}/{namespace}/{packageName}/{version}/metadata" : { |
| "get" : { |
| "tags" : [ "packages" ], |
| "summary" : "Get the metadata of a package.", |
| "description" : "", |
| "operationId" : "getMeta", |
| "consumes" : [ "application/json" ], |
| "produces" : [ "application/json" ], |
| "parameters" : [ { |
| "name" : "type", |
| "in" : "path", |
| "required" : true, |
| "type" : "string" |
| }, { |
| "name" : "tenant", |
| "in" : "path", |
| "required" : true, |
| "type" : "string" |
| }, { |
| "name" : "namespace", |
| "in" : "path", |
| "required" : true, |
| "type" : "string" |
| }, { |
| "name" : "packageName", |
| "in" : "path", |
| "required" : true, |
| "type" : "string" |
| }, { |
| "name" : "version", |
| "in" : "path", |
| "required" : true, |
| "type" : "string" |
| } ], |
| "responses" : { |
| "200" : { |
| "description" : "Return the metadata of the specified package.", |
| "schema" : { |
| "$ref" : "#/definitions/PackageMetadata" |
| } |
| }, |
| "404" : { |
| "description" : "The specified package is not existent." |
| }, |
| "412" : { |
| "description" : "The package name is illegal." |
| }, |
| "500" : { |
| "description" : "Internal server error." |
| }, |
| "503" : { |
| "description" : "Package Management Service is not enabled in the broker." |
| } |
| } |
| }, |
| "put" : { |
| "tags" : [ "packages" ], |
| "summary" : "Update the metadata of a package.", |
| "description" : "", |
| "operationId" : "updateMeta", |
| "consumes" : [ "application/json" ], |
| "produces" : [ "application/json" ], |
| "parameters" : [ { |
| "name" : "type", |
| "in" : "path", |
| "required" : true, |
| "type" : "string" |
| }, { |
| "name" : "tenant", |
| "in" : "path", |
| "required" : true, |
| "type" : "string" |
| }, { |
| "name" : "namespace", |
| "in" : "path", |
| "required" : true, |
| "type" : "string" |
| }, { |
| "name" : "packageName", |
| "in" : "path", |
| "required" : true, |
| "type" : "string" |
| }, { |
| "name" : "version", |
| "in" : "path", |
| "required" : true, |
| "type" : "string" |
| } ], |
| "responses" : { |
| "200" : { |
| "description" : "Update the metadata of the specified package successfully." |
| }, |
| "404" : { |
| "description" : "The specified package is not existent." |
| }, |
| "412" : { |
| "description" : "The package name is illegal." |
| }, |
| "500" : { |
| "description" : "Internal server error." |
| }, |
| "503" : { |
| "description" : "Package Management Service is not enabled in the broker." |
| } |
| } |
| } |
| } |
| }, |
| "definitions" : { |
| "Annotation" : { |
| "type" : "object" |
| }, |
| "AnnotationIntrospector" : { |
| "type" : "object" |
| }, |
| "ArrayBuilders" : { |
| "type" : "object", |
| "properties" : { |
| "booleanBuilder" : { |
| "$ref" : "#/definitions/BooleanBuilder" |
| }, |
| "byteBuilder" : { |
| "$ref" : "#/definitions/ByteBuilder" |
| }, |
| "shortBuilder" : { |
| "$ref" : "#/definitions/ShortBuilder" |
| }, |
| "intBuilder" : { |
| "$ref" : "#/definitions/IntBuilder" |
| }, |
| "longBuilder" : { |
| "$ref" : "#/definitions/LongBuilder" |
| }, |
| "floatBuilder" : { |
| "$ref" : "#/definitions/FloatBuilder" |
| }, |
| "doubleBuilder" : { |
| "$ref" : "#/definitions/DoubleBuilder" |
| } |
| } |
| }, |
| "AuthenticationDataSource" : { |
| "type" : "object", |
| "properties" : { |
| "subscription" : { |
| "type" : "string" |
| }, |
| "tlsCertificates" : { |
| "type" : "array", |
| "items" : { |
| "$ref" : "#/definitions/Certificate" |
| } |
| }, |
| "httpAuthType" : { |
| "type" : "string" |
| }, |
| "commandData" : { |
| "type" : "string" |
| }, |
| "peerAddress" : { |
| "$ref" : "#/definitions/SocketAddress" |
| } |
| } |
| }, |
| "Base64Variant" : { |
| "type" : "object", |
| "properties" : { |
| "name" : { |
| "type" : "string" |
| }, |
| "paddingChar" : { |
| "type" : "string" |
| }, |
| "paddingByte" : { |
| "type" : "string", |
| "format" : "byte" |
| }, |
| "maxLineLength" : { |
| "type" : "integer", |
| "format" : "int32" |
| } |
| } |
| }, |
| "BooleanBuilder" : { |
| "type" : "object" |
| }, |
| "ByteBuilder" : { |
| "type" : "object" |
| }, |
| "Certificate" : { |
| "type" : "object", |
| "properties" : { |
| "type" : { |
| "type" : "string" |
| }, |
| "encoded" : { |
| "type" : "array", |
| "items" : { |
| "type" : "string", |
| "format" : "byte" |
| } |
| }, |
| "publicKey" : { |
| "$ref" : "#/definitions/PublicKey" |
| } |
| } |
| }, |
| "CharacterEscapes" : { |
| "type" : "object", |
| "properties" : { |
| "escapeCodesForAscii" : { |
| "type" : "array", |
| "items" : { |
| "type" : "integer", |
| "format" : "int32" |
| } |
| } |
| } |
| }, |
| "ClassIntrospector" : { |
| "type" : "object" |
| }, |
| "ClassLoader" : { |
| "type" : "object", |
| "properties" : { |
| "name" : { |
| "type" : "string" |
| }, |
| "registeredAsParallelCapable" : { |
| "type" : "boolean" |
| }, |
| "parent" : { |
| "$ref" : "#/definitions/ClassLoader" |
| }, |
| "unnamedModule" : { |
| "$ref" : "#/definitions/Module" |
| }, |
| "definedPackages" : { |
| "type" : "array", |
| "items" : { |
| "$ref" : "#/definitions/Package" |
| } |
| } |
| } |
| }, |
| "CompletableFuture" : { |
| "type" : "object", |
| "properties" : { |
| "cancelled" : { |
| "type" : "boolean" |
| }, |
| "done" : { |
| "type" : "boolean" |
| }, |
| "numberOfDependents" : { |
| "type" : "integer", |
| "format" : "int32" |
| }, |
| "completedExceptionally" : { |
| "type" : "boolean" |
| } |
| } |
| }, |
| "CompletableFutureClusterData" : { |
| "type" : "object", |
| "properties" : { |
| "cancelled" : { |
| "type" : "boolean" |
| }, |
| "done" : { |
| "type" : "boolean" |
| }, |
| "numberOfDependents" : { |
| "type" : "integer", |
| "format" : "int32" |
| }, |
| "completedExceptionally" : { |
| "type" : "boolean" |
| } |
| } |
| }, |
| "CompletableFutureVoid" : { |
| "type" : "object", |
| "properties" : { |
| "cancelled" : { |
| "type" : "boolean" |
| }, |
| "done" : { |
| "type" : "boolean" |
| }, |
| "numberOfDependents" : { |
| "type" : "integer", |
| "format" : "int32" |
| }, |
| "completedExceptionally" : { |
| "type" : "boolean" |
| } |
| } |
| }, |
| "ContextAttributes" : { |
| "type" : "object" |
| }, |
| "Currency" : { |
| "type" : "object", |
| "properties" : { |
| "currencyCode" : { |
| "type" : "string" |
| }, |
| "defaultFractionDigits" : { |
| "type" : "integer", |
| "format" : "int32" |
| }, |
| "numericCode" : { |
| "type" : "integer", |
| "format" : "int32" |
| }, |
| "displayName" : { |
| "type" : "string" |
| }, |
| "symbol" : { |
| "type" : "string" |
| }, |
| "numericCodeAsString" : { |
| "type" : "string" |
| } |
| } |
| }, |
| "DateFormat" : { |
| "type" : "object", |
| "properties" : { |
| "calendar" : { |
| "type" : "string", |
| "format" : "date-time" |
| }, |
| "numberFormat" : { |
| "$ref" : "#/definitions/NumberFormat" |
| }, |
| "timeZone" : { |
| "$ref" : "#/definitions/TimeZone" |
| }, |
| "lenient" : { |
| "type" : "boolean" |
| } |
| } |
| }, |
| "DeserializationConfig" : { |
| "type" : "object", |
| "properties" : { |
| "nodeFactory" : { |
| "$ref" : "#/definitions/JsonNodeFactory" |
| }, |
| "annotationIntrospector" : { |
| "$ref" : "#/definitions/AnnotationIntrospector" |
| }, |
| "defaultPropertyInclusion" : { |
| "$ref" : "#/definitions/Value" |
| }, |
| "deserializationFeatures" : { |
| "type" : "integer", |
| "format" : "int32" |
| }, |
| "problemHandlers" : { |
| "$ref" : "#/definitions/LinkedNodeDeserializationProblemHandler" |
| }, |
| "attributes" : { |
| "$ref" : "#/definitions/ContextAttributes" |
| }, |
| "rootName" : { |
| "type" : "string" |
| }, |
| "subtypeResolver" : { |
| "$ref" : "#/definitions/SubtypeResolver" |
| }, |
| "fullRootName" : { |
| "$ref" : "#/definitions/PropertyName" |
| }, |
| "defaultVisibilityChecker" : { |
| "$ref" : "#/definitions/VisibilityCheckerObject" |
| }, |
| "locale" : { |
| "$ref" : "#/definitions/Locale" |
| }, |
| "timeZone" : { |
| "$ref" : "#/definitions/TimeZone" |
| }, |
| "typeFactory" : { |
| "$ref" : "#/definitions/TypeFactory" |
| }, |
| "propertyNamingStrategy" : { |
| "$ref" : "#/definitions/PropertyNamingStrategy" |
| }, |
| "dateFormat" : { |
| "$ref" : "#/definitions/DateFormat" |
| }, |
| "handlerInstantiator" : { |
| "$ref" : "#/definitions/HandlerInstantiator" |
| }, |
| "base64Variant" : { |
| "$ref" : "#/definitions/Base64Variant" |
| }, |
| "annotationProcessingEnabled" : { |
| "type" : "boolean" |
| }, |
| "classIntrospector" : { |
| "$ref" : "#/definitions/ClassIntrospector" |
| } |
| } |
| }, |
| "DeserializationContext" : { |
| "type" : "object", |
| "properties" : { |
| "factory" : { |
| "$ref" : "#/definitions/DeserializerFactory" |
| }, |
| "locale" : { |
| "$ref" : "#/definitions/Locale" |
| }, |
| "timeZone" : { |
| "$ref" : "#/definitions/TimeZone" |
| }, |
| "typeFactory" : { |
| "$ref" : "#/definitions/TypeFactory" |
| }, |
| "config" : { |
| "$ref" : "#/definitions/DeserializationConfig" |
| }, |
| "parser" : { |
| "$ref" : "#/definitions/JsonParser" |
| }, |
| "nodeFactory" : { |
| "$ref" : "#/definitions/JsonNodeFactory" |
| }, |
| "annotationIntrospector" : { |
| "$ref" : "#/definitions/AnnotationIntrospector" |
| }, |
| "contextualType" : { |
| "$ref" : "#/definitions/JavaType" |
| }, |
| "deserializationFeatures" : { |
| "type" : "integer", |
| "format" : "int32" |
| }, |
| "base64Variant" : { |
| "$ref" : "#/definitions/Base64Variant" |
| }, |
| "arrayBuilders" : { |
| "$ref" : "#/definitions/ArrayBuilders" |
| } |
| } |
| }, |
| "DeserializerFactory" : { |
| "type" : "object" |
| }, |
| "DoubleBuilder" : { |
| "type" : "object" |
| }, |
| "FilterProvider" : { |
| "type" : "object" |
| }, |
| "FloatBuilder" : { |
| "type" : "object" |
| }, |
| "FormatSchema" : { |
| "type" : "object", |
| "properties" : { |
| "schemaType" : { |
| "type" : "string" |
| } |
| } |
| }, |
| "HandlerInstantiator" : { |
| "type" : "object" |
| }, |
| "InjectableValues" : { |
| "type" : "object" |
| }, |
| "InputDecorator" : { |
| "type" : "object" |
| }, |
| "IntBuilder" : { |
| "type" : "object" |
| }, |
| "JavaType" : { |
| "type" : "object", |
| "properties" : { |
| "interface" : { |
| "type" : "boolean" |
| }, |
| "primitive" : { |
| "type" : "boolean" |
| }, |
| "interfaces" : { |
| "type" : "array", |
| "items" : { |
| "$ref" : "#/definitions/JavaType" |
| } |
| }, |
| "genericSignature" : { |
| "type" : "string" |
| }, |
| "final" : { |
| "type" : "boolean" |
| }, |
| "abstract" : { |
| "type" : "boolean" |
| }, |
| "bindings" : { |
| "$ref" : "#/definitions/TypeBindings" |
| }, |
| "concrete" : { |
| "type" : "boolean" |
| }, |
| "keyType" : { |
| "$ref" : "#/definitions/JavaType" |
| }, |
| "arrayType" : { |
| "type" : "boolean" |
| }, |
| "throwable" : { |
| "type" : "boolean" |
| }, |
| "javaLangObject" : { |
| "type" : "boolean" |
| }, |
| "enumType" : { |
| "type" : "boolean" |
| }, |
| "containerType" : { |
| "type" : "boolean" |
| }, |
| "valueHandler" : { |
| "type" : "object" |
| }, |
| "typeHandler" : { |
| "type" : "object" |
| }, |
| "referencedType" : { |
| "$ref" : "#/definitions/JavaType" |
| }, |
| "superClass" : { |
| "$ref" : "#/definitions/JavaType" |
| }, |
| "contentValueHandler" : { |
| "type" : "object" |
| }, |
| "contentTypeHandler" : { |
| "type" : "object" |
| }, |
| "erasedSignature" : { |
| "type" : "string" |
| }, |
| "collectionLikeType" : { |
| "type" : "boolean" |
| }, |
| "mapLikeType" : { |
| "type" : "boolean" |
| }, |
| "contentType" : { |
| "$ref" : "#/definitions/JavaType" |
| }, |
| "typeName" : { |
| "type" : "string" |
| }, |
| "referenceType" : { |
| "type" : "boolean" |
| } |
| } |
| }, |
| "JsonFactory" : { |
| "type" : "object", |
| "properties" : { |
| "inputDecorator" : { |
| "$ref" : "#/definitions/InputDecorator" |
| }, |
| "characterEscapes" : { |
| "$ref" : "#/definitions/CharacterEscapes" |
| }, |
| "outputDecorator" : { |
| "$ref" : "#/definitions/OutputDecorator" |
| }, |
| "rootValueSeparator" : { |
| "type" : "string" |
| }, |
| "codec" : { |
| "$ref" : "#/definitions/ObjectCodec" |
| }, |
| "formatName" : { |
| "type" : "string" |
| } |
| } |
| }, |
| "JsonGenerator" : { |
| "type" : "object", |
| "properties" : { |
| "closed" : { |
| "type" : "boolean" |
| }, |
| "schema" : { |
| "$ref" : "#/definitions/FormatSchema" |
| }, |
| "characterEscapes" : { |
| "$ref" : "#/definitions/CharacterEscapes" |
| }, |
| "codec" : { |
| "$ref" : "#/definitions/ObjectCodec" |
| }, |
| "prettyPrinter" : { |
| "$ref" : "#/definitions/PrettyPrinter" |
| }, |
| "featureMask" : { |
| "type" : "integer", |
| "format" : "int32" |
| }, |
| "formatFeatures" : { |
| "type" : "integer", |
| "format" : "int32" |
| }, |
| "currentValue" : { |
| "type" : "object" |
| }, |
| "highestEscapedChar" : { |
| "type" : "integer", |
| "format" : "int32" |
| }, |
| "outputTarget" : { |
| "type" : "object" |
| }, |
| "outputBuffered" : { |
| "type" : "integer", |
| "format" : "int32" |
| }, |
| "outputContext" : { |
| "$ref" : "#/definitions/JsonStreamContext" |
| } |
| } |
| }, |
| "JsonLocation" : { |
| "type" : "object", |
| "properties" : { |
| "byteOffset" : { |
| "type" : "integer", |
| "format" : "int64" |
| }, |
| "lineNr" : { |
| "type" : "integer", |
| "format" : "int32" |
| }, |
| "charOffset" : { |
| "type" : "integer", |
| "format" : "int64" |
| }, |
| "columnNr" : { |
| "type" : "integer", |
| "format" : "int32" |
| }, |
| "sourceRef" : { |
| "type" : "object" |
| } |
| } |
| }, |
| "JsonNodeFactory" : { |
| "type" : "object" |
| }, |
| "JsonParser" : { |
| "type" : "object", |
| "properties" : { |
| "textLength" : { |
| "type" : "integer", |
| "format" : "int32" |
| }, |
| "text" : { |
| "type" : "string" |
| }, |
| "typeId" : { |
| "type" : "object" |
| }, |
| "textCharacters" : { |
| "type" : "array", |
| "items" : { |
| "type" : "string" |
| } |
| }, |
| "booleanValue" : { |
| "type" : "boolean" |
| }, |
| "byteValue" : { |
| "type" : "string", |
| "format" : "byte" |
| }, |
| "doubleValue" : { |
| "type" : "number", |
| "format" : "double" |
| }, |
| "floatValue" : { |
| "type" : "number", |
| "format" : "float" |
| }, |
| "longValue" : { |
| "type" : "integer", |
| "format" : "int64" |
| }, |
| "shortValue" : { |
| "type" : "integer", |
| "format" : "int32" |
| }, |
| "closed" : { |
| "type" : "boolean" |
| }, |
| "intValue" : { |
| "type" : "integer", |
| "format" : "int32" |
| }, |
| "schema" : { |
| "$ref" : "#/definitions/FormatSchema" |
| }, |
| "codec" : { |
| "$ref" : "#/definitions/ObjectCodec" |
| }, |
| "currentToken" : { |
| "type" : "string", |
| "enum" : [ "NOT_AVAILABLE", "START_OBJECT", "END_OBJECT", "START_ARRAY", "END_ARRAY", "FIELD_NAME", "VALUE_EMBEDDED_OBJECT", "VALUE_STRING", "VALUE_NUMBER_INT", "VALUE_NUMBER_FLOAT", "VALUE_TRUE", "VALUE_FALSE", "VALUE_NULL" ] |
| }, |
| "currentName" : { |
| "type" : "string" |
| }, |
| "tokenLocation" : { |
| "$ref" : "#/definitions/JsonLocation" |
| }, |
| "featureMask" : { |
| "type" : "integer", |
| "format" : "int32" |
| }, |
| "formatFeatures" : { |
| "type" : "integer", |
| "format" : "int32" |
| }, |
| "currentTokenId" : { |
| "type" : "integer", |
| "format" : "int32" |
| }, |
| "parsingContext" : { |
| "$ref" : "#/definitions/JsonStreamContext" |
| }, |
| "currentLocation" : { |
| "$ref" : "#/definitions/JsonLocation" |
| }, |
| "expectedStartArrayToken" : { |
| "type" : "boolean" |
| }, |
| "expectedStartObjectToken" : { |
| "type" : "boolean" |
| }, |
| "lastClearedToken" : { |
| "type" : "string", |
| "enum" : [ "NOT_AVAILABLE", "START_OBJECT", "END_OBJECT", "START_ARRAY", "END_ARRAY", "FIELD_NAME", "VALUE_EMBEDDED_OBJECT", "VALUE_STRING", "VALUE_NUMBER_INT", "VALUE_NUMBER_FLOAT", "VALUE_TRUE", "VALUE_FALSE", "VALUE_NULL" ] |
| }, |
| "textOffset" : { |
| "type" : "integer", |
| "format" : "int32" |
| }, |
| "numberValue" : { |
| "$ref" : "#/definitions/Number" |
| }, |
| "numberType" : { |
| "type" : "string", |
| "enum" : [ "INT", "LONG", "BIG_INTEGER", "FLOAT", "DOUBLE", "BIG_DECIMAL" ] |
| }, |
| "bigIntegerValue" : { |
| "type" : "integer" |
| }, |
| "decimalValue" : { |
| "type" : "number" |
| }, |
| "embeddedObject" : { |
| "type" : "object" |
| }, |
| "binaryValue" : { |
| "type" : "array", |
| "items" : { |
| "type" : "string", |
| "format" : "byte" |
| } |
| }, |
| "valueAsInt" : { |
| "type" : "integer", |
| "format" : "int32" |
| }, |
| "valueAsLong" : { |
| "type" : "integer", |
| "format" : "int64" |
| }, |
| "valueAsDouble" : { |
| "type" : "number", |
| "format" : "double" |
| }, |
| "valueAsBoolean" : { |
| "type" : "boolean" |
| }, |
| "valueAsString" : { |
| "type" : "string" |
| }, |
| "objectId" : { |
| "type" : "object" |
| }, |
| "inputSource" : { |
| "type" : "object" |
| }, |
| "currentValue" : { |
| "type" : "object" |
| } |
| } |
| }, |
| "JsonSerializer" : { |
| "type" : "object", |
| "properties" : { |
| "unwrappingSerializer" : { |
| "type" : "boolean" |
| } |
| } |
| }, |
| "JsonSerializerObject" : { |
| "type" : "object", |
| "properties" : { |
| "delegatee" : { |
| "$ref" : "#/definitions/JsonSerializerObject" |
| }, |
| "unwrappingSerializer" : { |
| "type" : "boolean" |
| } |
| } |
| }, |
| "JsonStreamContext" : { |
| "type" : "object", |
| "properties" : { |
| "parent" : { |
| "$ref" : "#/definitions/JsonStreamContext" |
| }, |
| "currentIndex" : { |
| "type" : "integer", |
| "format" : "int32" |
| }, |
| "typeDesc" : { |
| "type" : "string" |
| }, |
| "currentName" : { |
| "type" : "string" |
| }, |
| "currentValue" : { |
| "type" : "object" |
| }, |
| "entryCount" : { |
| "type" : "integer", |
| "format" : "int32" |
| } |
| } |
| }, |
| "LinkedNode" : { |
| "type" : "object" |
| }, |
| "LinkedNodeDeserializationProblemHandler" : { |
| "type" : "object" |
| }, |
| "Locale" : { |
| "type" : "object", |
| "properties" : { |
| "language" : { |
| "type" : "string" |
| }, |
| "script" : { |
| "type" : "string" |
| }, |
| "variant" : { |
| "type" : "string" |
| }, |
| "displayName" : { |
| "type" : "string" |
| }, |
| "country" : { |
| "type" : "string" |
| }, |
| "unicodeLocaleAttributes" : { |
| "type" : "array", |
| "uniqueItems" : true, |
| "items" : { |
| "type" : "string" |
| } |
| }, |
| "unicodeLocaleKeys" : { |
| "type" : "array", |
| "uniqueItems" : true, |
| "items" : { |
| "type" : "string" |
| } |
| }, |
| "displayLanguage" : { |
| "type" : "string" |
| }, |
| "displayScript" : { |
| "type" : "string" |
| }, |
| "displayCountry" : { |
| "type" : "string" |
| }, |
| "displayVariant" : { |
| "type" : "string" |
| }, |
| "extensionKeys" : { |
| "type" : "array", |
| "uniqueItems" : true, |
| "items" : { |
| "type" : "string" |
| } |
| }, |
| "iso3Language" : { |
| "type" : "string" |
| }, |
| "iso3Country" : { |
| "type" : "string" |
| } |
| } |
| }, |
| "LongBuilder" : { |
| "type" : "object" |
| }, |
| "Module" : { |
| "type" : "object", |
| "properties" : { |
| "name" : { |
| "type" : "string" |
| }, |
| "classLoader" : { |
| "$ref" : "#/definitions/ClassLoader" |
| }, |
| "descriptor" : { |
| "$ref" : "#/definitions/ModuleDescriptor" |
| }, |
| "named" : { |
| "type" : "boolean" |
| }, |
| "annotations" : { |
| "type" : "array", |
| "items" : { |
| "$ref" : "#/definitions/Annotation" |
| } |
| }, |
| "declaredAnnotations" : { |
| "type" : "array", |
| "items" : { |
| "$ref" : "#/definitions/Annotation" |
| } |
| }, |
| "packages" : { |
| "type" : "array", |
| "uniqueItems" : true, |
| "items" : { |
| "type" : "string" |
| } |
| }, |
| "layer" : { |
| "$ref" : "#/definitions/ModuleLayer" |
| } |
| } |
| }, |
| "ModuleDescriptor" : { |
| "type" : "object", |
| "properties" : { |
| "open" : { |
| "type" : "boolean" |
| }, |
| "automatic" : { |
| "type" : "boolean" |
| } |
| } |
| }, |
| "ModuleLayer" : { |
| "type" : "object" |
| }, |
| "Number" : { |
| "type" : "object" |
| }, |
| "NumberFormat" : { |
| "type" : "object", |
| "properties" : { |
| "groupingUsed" : { |
| "type" : "boolean" |
| }, |
| "parseIntegerOnly" : { |
| "type" : "boolean" |
| }, |
| "maximumIntegerDigits" : { |
| "type" : "integer", |
| "format" : "int32" |
| }, |
| "minimumIntegerDigits" : { |
| "type" : "integer", |
| "format" : "int32" |
| }, |
| "maximumFractionDigits" : { |
| "type" : "integer", |
| "format" : "int32" |
| }, |
| "minimumFractionDigits" : { |
| "type" : "integer", |
| "format" : "int32" |
| }, |
| "roundingMode" : { |
| "type" : "string", |
| "enum" : [ "UP", "DOWN", "CEILING", "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", "UNNECESSARY" ] |
| }, |
| "currency" : { |
| "$ref" : "#/definitions/Currency" |
| } |
| } |
| }, |
| "ObjectCodec" : { |
| "type" : "object", |
| "properties" : { |
| "factory" : { |
| "$ref" : "#/definitions/JsonFactory" |
| }, |
| "jsonFactory" : { |
| "$ref" : "#/definitions/JsonFactory" |
| } |
| } |
| }, |
| "ObjectMapper" : { |
| "type" : "object", |
| "properties" : { |
| "factory" : { |
| "$ref" : "#/definitions/JsonFactory" |
| }, |
| "typeFactory" : { |
| "$ref" : "#/definitions/TypeFactory" |
| }, |
| "serializationConfig" : { |
| "$ref" : "#/definitions/SerializationConfig" |
| }, |
| "deserializationConfig" : { |
| "$ref" : "#/definitions/DeserializationConfig" |
| }, |
| "deserializationContext" : { |
| "$ref" : "#/definitions/DeserializationContext" |
| }, |
| "serializerFactory" : { |
| "$ref" : "#/definitions/SerializerFactory" |
| }, |
| "serializerProvider" : { |
| "$ref" : "#/definitions/SerializerProvider" |
| }, |
| "serializerProviderInstance" : { |
| "$ref" : "#/definitions/SerializerProvider" |
| }, |
| "visibilityChecker" : { |
| "$ref" : "#/definitions/VisibilityCheckerObject" |
| }, |
| "subtypeResolver" : { |
| "$ref" : "#/definitions/SubtypeResolver" |
| }, |
| "propertyNamingStrategy" : { |
| "$ref" : "#/definitions/PropertyNamingStrategy" |
| }, |
| "nodeFactory" : { |
| "$ref" : "#/definitions/JsonNodeFactory" |
| }, |
| "jsonFactory" : { |
| "$ref" : "#/definitions/JsonFactory" |
| }, |
| "dateFormat" : { |
| "$ref" : "#/definitions/DateFormat" |
| }, |
| "injectableValues" : { |
| "$ref" : "#/definitions/InjectableValues" |
| } |
| } |
| }, |
| "OutputDecorator" : { |
| "type" : "object" |
| }, |
| "Package" : { |
| "type" : "object", |
| "properties" : { |
| "name" : { |
| "type" : "string" |
| }, |
| "annotations" : { |
| "type" : "array", |
| "items" : { |
| "$ref" : "#/definitions/Annotation" |
| } |
| }, |
| "declaredAnnotations" : { |
| "type" : "array", |
| "items" : { |
| "$ref" : "#/definitions/Annotation" |
| } |
| }, |
| "sealed" : { |
| "type" : "boolean" |
| }, |
| "specificationTitle" : { |
| "type" : "string" |
| }, |
| "specificationVersion" : { |
| "type" : "string" |
| }, |
| "specificationVendor" : { |
| "type" : "string" |
| }, |
| "implementationTitle" : { |
| "type" : "string" |
| }, |
| "implementationVersion" : { |
| "type" : "string" |
| }, |
| "implementationVendor" : { |
| "type" : "string" |
| } |
| } |
| }, |
| "PackageMetadata" : { |
| "type" : "object", |
| "properties" : { |
| "description" : { |
| "type" : "string" |
| }, |
| "contact" : { |
| "type" : "string" |
| }, |
| "createTime" : { |
| "type" : "integer", |
| "format" : "int64" |
| }, |
| "modificationTime" : { |
| "type" : "integer", |
| "format" : "int64" |
| }, |
| "properties" : { |
| "type" : "object", |
| "additionalProperties" : { |
| "type" : "string" |
| } |
| } |
| } |
| }, |
| "PrettyPrinter" : { |
| "type" : "object" |
| }, |
| "PropertyName" : { |
| "type" : "object", |
| "properties" : { |
| "empty" : { |
| "type" : "boolean" |
| }, |
| "simpleName" : { |
| "type" : "string" |
| }, |
| "namespace" : { |
| "type" : "string" |
| } |
| } |
| }, |
| "PropertyNamingStrategy" : { |
| "type" : "object" |
| }, |
| "PublicKey" : { |
| "type" : "object", |
| "properties" : { |
| "encoded" : { |
| "type" : "array", |
| "items" : { |
| "type" : "string", |
| "format" : "byte" |
| } |
| }, |
| "format" : { |
| "type" : "string" |
| }, |
| "algorithm" : { |
| "type" : "string" |
| } |
| } |
| }, |
| "SerializationConfig" : { |
| "type" : "object", |
| "properties" : { |
| "annotationIntrospector" : { |
| "$ref" : "#/definitions/AnnotationIntrospector" |
| }, |
| "defaultPropertyInclusion" : { |
| "$ref" : "#/definitions/Value" |
| }, |
| "filterProvider" : { |
| "$ref" : "#/definitions/FilterProvider" |
| }, |
| "defaultPrettyPrinter" : { |
| "$ref" : "#/definitions/PrettyPrinter" |
| }, |
| "serializationInclusion" : { |
| "type" : "string", |
| "enum" : [ "ALWAYS", "NON_NULL", "NON_ABSENT", "NON_EMPTY", "NON_DEFAULT", "USE_DEFAULTS" ] |
| }, |
| "serializationFeatures" : { |
| "type" : "integer", |
| "format" : "int32" |
| }, |
| "attributes" : { |
| "$ref" : "#/definitions/ContextAttributes" |
| }, |
| "rootName" : { |
| "type" : "string" |
| }, |
| "subtypeResolver" : { |
| "$ref" : "#/definitions/SubtypeResolver" |
| }, |
| "fullRootName" : { |
| "$ref" : "#/definitions/PropertyName" |
| }, |
| "defaultVisibilityChecker" : { |
| "$ref" : "#/definitions/VisibilityCheckerObject" |
| }, |
| "locale" : { |
| "$ref" : "#/definitions/Locale" |
| }, |
| "timeZone" : { |
| "$ref" : "#/definitions/TimeZone" |
| }, |
| "typeFactory" : { |
| "$ref" : "#/definitions/TypeFactory" |
| }, |
| "propertyNamingStrategy" : { |
| "$ref" : "#/definitions/PropertyNamingStrategy" |
| }, |
| "dateFormat" : { |
| "$ref" : "#/definitions/DateFormat" |
| }, |
| "handlerInstantiator" : { |
| "$ref" : "#/definitions/HandlerInstantiator" |
| }, |
| "base64Variant" : { |
| "$ref" : "#/definitions/Base64Variant" |
| }, |
| "annotationProcessingEnabled" : { |
| "type" : "boolean" |
| }, |
| "classIntrospector" : { |
| "$ref" : "#/definitions/ClassIntrospector" |
| } |
| } |
| }, |
| "SerializerFactory" : { |
| "type" : "object" |
| }, |
| "SerializerProvider" : { |
| "type" : "object", |
| "properties" : { |
| "locale" : { |
| "$ref" : "#/definitions/Locale" |
| }, |
| "timeZone" : { |
| "$ref" : "#/definitions/TimeZone" |
| }, |
| "typeFactory" : { |
| "$ref" : "#/definitions/TypeFactory" |
| }, |
| "config" : { |
| "$ref" : "#/definitions/SerializationConfig" |
| }, |
| "annotationIntrospector" : { |
| "$ref" : "#/definitions/AnnotationIntrospector" |
| }, |
| "defaultNullValueSerializer" : { |
| "$ref" : "#/definitions/JsonSerializerObject" |
| }, |
| "filterProvider" : { |
| "$ref" : "#/definitions/FilterProvider" |
| }, |
| "generator" : { |
| "$ref" : "#/definitions/JsonGenerator" |
| }, |
| "defaultNullKeySerializer" : { |
| "$ref" : "#/definitions/JsonSerializerObject" |
| } |
| } |
| }, |
| "ShortBuilder" : { |
| "type" : "object" |
| }, |
| "SocketAddress" : { |
| "type" : "object" |
| }, |
| "StreamingOutput" : { |
| "type" : "object" |
| }, |
| "SubtypeResolver" : { |
| "type" : "object" |
| }, |
| "TimeZone" : { |
| "type" : "object", |
| "properties" : { |
| "displayName" : { |
| "type" : "string" |
| }, |
| "id" : { |
| "type" : "string" |
| }, |
| "dstsavings" : { |
| "type" : "integer", |
| "format" : "int32" |
| }, |
| "rawOffset" : { |
| "type" : "integer", |
| "format" : "int32" |
| } |
| } |
| }, |
| "TypeBindings" : { |
| "type" : "object", |
| "properties" : { |
| "empty" : { |
| "type" : "boolean" |
| }, |
| "typeParameters" : { |
| "type" : "array", |
| "items" : { |
| "$ref" : "#/definitions/JavaType" |
| } |
| } |
| } |
| }, |
| "TypeFactory" : { |
| "type" : "object", |
| "properties" : { |
| "classLoader" : { |
| "$ref" : "#/definitions/ClassLoader" |
| } |
| } |
| }, |
| "Value" : { |
| "type" : "object", |
| "properties" : { |
| "contentInclusion" : { |
| "type" : "string", |
| "enum" : [ "ALWAYS", "NON_NULL", "NON_ABSENT", "NON_EMPTY", "NON_DEFAULT", "USE_DEFAULTS" ] |
| }, |
| "valueInclusion" : { |
| "type" : "string", |
| "enum" : [ "ALWAYS", "NON_NULL", "NON_ABSENT", "NON_EMPTY", "NON_DEFAULT", "USE_DEFAULTS" ] |
| } |
| } |
| }, |
| "VisibilityChecker" : { |
| "type" : "object" |
| }, |
| "VisibilityCheckerObject" : { |
| "type" : "object" |
| } |
| } |
| } |