From cd269b2cef48fb991aa858f29bc2f345b1561368 Mon Sep 17 00:00:00 2001 From: ballerina-bot Date: Wed, 9 Apr 2025 02:58:31 +0000 Subject: [PATCH] [AUTOMATED] Regenerate the OpenAPI Connector --- ballerina/client.bal | 123 +++++++++++++++++------------------------ ballerina/types.bal | 89 ++++++++++++----------------- docs/spec/openapi.json | 30 +++++----- gradle.properties | 2 +- 4 files changed, 103 insertions(+), 141 deletions(-) diff --git a/ballerina/client.bal b/ballerina/client.bal index 363b1b8..f56d91d 100644 --- a/ballerina/client.bal +++ b/ballerina/client.bal @@ -28,63 +28,45 @@ public isolated client class Client { # + serviceUrl - URL of the target service # + return - An error if connector initialization failed public isolated function init(ConnectionConfig config, string serviceUrl = "https://api.hubapi.com/crm/v3/objects/tasks") returns error? { - http:ClientConfiguration httpClientConfig = {httpVersion: config.httpVersion, timeout: config.timeout, forwarded: config.forwarded, poolConfig: config.poolConfig, compression: config.compression, circuitBreaker: config.circuitBreaker, retryConfig: config.retryConfig, validation: config.validation}; - do { - if config.http1Settings is ClientHttp1Settings { - ClientHttp1Settings settings = check config.http1Settings.ensureType(ClientHttp1Settings); - httpClientConfig.http1Settings = {...settings}; - } - if config.http2Settings is http:ClientHttp2Settings { - httpClientConfig.http2Settings = check config.http2Settings.ensureType(http:ClientHttp2Settings); - } - if config.cache is http:CacheConfig { - httpClientConfig.cache = check config.cache.ensureType(http:CacheConfig); - } - if config.responseLimits is http:ResponseLimitConfigs { - httpClientConfig.responseLimits = check config.responseLimits.ensureType(http:ResponseLimitConfigs); - } - if config.secureSocket is http:ClientSecureSocket { - httpClientConfig.secureSocket = check config.secureSocket.ensureType(http:ClientSecureSocket); - } - if config.proxy is http:ProxyConfig { - httpClientConfig.proxy = check config.proxy.ensureType(http:ProxyConfig); - } - } + http:ClientConfiguration httpClientConfig = {httpVersion: config.httpVersion, http1Settings: config.http1Settings, http2Settings: config.http2Settings, timeout: config.timeout, forwarded: config.forwarded, followRedirects: config.followRedirects, poolConfig: config.poolConfig, cache: config.cache, compression: config.compression, circuitBreaker: config.circuitBreaker, retryConfig: config.retryConfig, cookieConfig: config.cookieConfig, responseLimits: config.responseLimits, secureSocket: config.secureSocket, proxy: config.proxy, socketConfig: config.socketConfig, validation: config.validation, laxDataBinding: config.laxDataBinding}; if config.auth is ApiKeysConfig { self.apiKeyConfig = (config.auth).cloneReadOnly(); } else { httpClientConfig.auth = config.auth; self.apiKeyConfig = (); } - http:Client httpEp = check new (serviceUrl, httpClientConfig); - self.clientEp = httpEp; - return; + self.clientEp = check new (serviceUrl, httpClientConfig); } - # Archive a task + # Read a batch of tasks by internal ID, or unique property values # # + headers - Headers to be sent with the request - # + return - No content - resource isolated function delete [string taskId](map headers = {}) returns http:Response|error { - string resourcePath = string `/${getEncodedUri(taskId)}`; + # + queries - Queries to be sent with the request + # + return - successful operation + resource isolated function post batch/read(BatchReadInputSimplePublicObjectId payload, map headers = {}, *PostCrmV3ObjectsTasksBatchReadReadQueries queries) returns BatchResponseSimplePublicObject|BatchResponseSimplePublicObjectWithErrors|error { + string resourcePath = string `/batch/read`; map headerValues = {...headers}; if self.apiKeyConfig is ApiKeysConfig { - headerValues["private-app"] = self.apiKeyConfig?.private\-app; + headerValues["private-app"] = self.apiKeyConfig?.privateApp; } + resourcePath = resourcePath + check getPathForQueryParam(queries); map httpHeaders = http:getHeaderMap(headerValues); - return self.clientEp->delete(resourcePath, headers = httpHeaders); + http:Request request = new; + json jsonBody = payload.toJson(); + request.setPayload(jsonBody, "application/json"); + return self.clientEp->post(resourcePath, request, httpHeaders); } - # List of the tasks + # Read a task # # + headers - Headers to be sent with the request # + queries - Queries to be sent with the request # + return - successful operation - resource isolated function get .(map headers = {}, *GetCrmV3ObjectsTasksGetPageQueries queries) returns CollectionResponseSimplePublicObjectWithAssociationsForwardPaging|error { - string resourcePath = string `/`; + resource isolated function get [string taskId](map headers = {}, *GetCrmV3ObjectsTasksTaskIdGetByIdQueries queries) returns SimplePublicObjectWithAssociations|error { + string resourcePath = string `/${getEncodedUri(taskId)}`; map headerValues = {...headers}; if self.apiKeyConfig is ApiKeysConfig { - headerValues["private-app"] = self.apiKeyConfig?.private\-app; + headerValues["private-app"] = self.apiKeyConfig?.privateApp; } map queryParamEncoding = {"properties": {style: FORM, explode: true}, "propertiesWithHistory": {style: FORM, explode: true}, "associations": {style: FORM, explode: true}}; resourcePath = resourcePath + check getPathForQueryParam(queries, queryParamEncoding); @@ -92,21 +74,18 @@ public isolated client class Client { return self.clientEp->get(resourcePath, httpHeaders); } - # Read a task + # Archive a task # # + headers - Headers to be sent with the request - # + queries - Queries to be sent with the request - # + return - successful operation - resource isolated function get [string taskId](map headers = {}, *GetCrmV3ObjectsTasksTaskIdGetByIdQueries queries) returns SimplePublicObjectWithAssociations|error { + # + return - No content + resource isolated function delete [string taskId](map headers = {}) returns error? { string resourcePath = string `/${getEncodedUri(taskId)}`; map headerValues = {...headers}; if self.apiKeyConfig is ApiKeysConfig { - headerValues["private-app"] = self.apiKeyConfig?.private\-app; + headerValues["private-app"] = self.apiKeyConfig?.privateApp; } - map queryParamEncoding = {"properties": {style: FORM, explode: true}, "propertiesWithHistory": {style: FORM, explode: true}, "associations": {style: FORM, explode: true}}; - resourcePath = resourcePath + check getPathForQueryParam(queries, queryParamEncoding); map httpHeaders = http:getHeaderMap(headerValues); - return self.clientEp->get(resourcePath, httpHeaders); + return self.clientEp->delete(resourcePath, headers = httpHeaders); } # Update a task @@ -118,7 +97,7 @@ public isolated client class Client { string resourcePath = string `/${getEncodedUri(taskId)}`; map headerValues = {...headers}; if self.apiKeyConfig is ApiKeysConfig { - headerValues["private-app"] = self.apiKeyConfig?.private\-app; + headerValues["private-app"] = self.apiKeyConfig?.privateApp; } resourcePath = resourcePath + check getPathForQueryParam(queries); map httpHeaders = http:getHeaderMap(headerValues); @@ -128,15 +107,15 @@ public isolated client class Client { return self.clientEp->patch(resourcePath, request, httpHeaders); } - # Create a task + # Archive a batch of tasks by ID # # + headers - Headers to be sent with the request - # + return - successful operation - resource isolated function post .(SimplePublicObjectInputForCreate payload, map headers = {}) returns SimplePublicObject|error { - string resourcePath = string `/`; + # + return - No content + resource isolated function post batch/archive(BatchInputSimplePublicObjectId payload, map headers = {}) returns error? { + string resourcePath = string `/batch/archive`; map headerValues = {...headers}; if self.apiKeyConfig is ApiKeysConfig { - headerValues["private-app"] = self.apiKeyConfig?.private\-app; + headerValues["private-app"] = self.apiKeyConfig?.privateApp; } map httpHeaders = http:getHeaderMap(headerValues); http:Request request = new; @@ -145,15 +124,15 @@ public isolated client class Client { return self.clientEp->post(resourcePath, request, httpHeaders); } - # Archive a batch of tasks by ID + # Create a batch of tasks # # + headers - Headers to be sent with the request - # + return - No content - resource isolated function post batch/archive(BatchInputSimplePublicObjectId payload, map headers = {}) returns http:Response|error { - string resourcePath = string `/batch/archive`; + # + return - successful operation + resource isolated function post batch/create(BatchInputSimplePublicObjectInputForCreate payload, map headers = {}) returns BatchResponseSimplePublicObject|BatchResponseSimplePublicObjectWithErrors|error { + string resourcePath = string `/batch/create`; map headerValues = {...headers}; if self.apiKeyConfig is ApiKeysConfig { - headerValues["private-app"] = self.apiKeyConfig?.private\-app; + headerValues["private-app"] = self.apiKeyConfig?.privateApp; } map httpHeaders = http:getHeaderMap(headerValues); http:Request request = new; @@ -162,15 +141,15 @@ public isolated client class Client { return self.clientEp->post(resourcePath, request, httpHeaders); } - # Create a batch of tasks + # Update a batch of tasks by internal ID, or unique property values # # + headers - Headers to be sent with the request # + return - successful operation - resource isolated function post batch/create(BatchInputSimplePublicObjectInputForCreate payload, map headers = {}) returns BatchResponseSimplePublicObject|BatchResponseSimplePublicObjectWithErrors|error { - string resourcePath = string `/batch/create`; + resource isolated function post batch/update(BatchInputSimplePublicObjectBatchInput payload, map headers = {}) returns BatchResponseSimplePublicObject|BatchResponseSimplePublicObjectWithErrors|error { + string resourcePath = string `/batch/update`; map headerValues = {...headers}; if self.apiKeyConfig is ApiKeysConfig { - headerValues["private-app"] = self.apiKeyConfig?.private\-app; + headerValues["private-app"] = self.apiKeyConfig?.privateApp; } map httpHeaders = http:getHeaderMap(headerValues); http:Request request = new; @@ -179,34 +158,32 @@ public isolated client class Client { return self.clientEp->post(resourcePath, request, httpHeaders); } - # Read a batch of tasks by internal ID, or unique property values + # List of the tasks # # + headers - Headers to be sent with the request # + queries - Queries to be sent with the request # + return - successful operation - resource isolated function post batch/read(BatchReadInputSimplePublicObjectId payload, map headers = {}, *PostCrmV3ObjectsTasksBatchReadReadQueries queries) returns BatchResponseSimplePublicObject|BatchResponseSimplePublicObjectWithErrors|error { - string resourcePath = string `/batch/read`; + resource isolated function get .(map headers = {}, *GetCrmV3ObjectsTasksGetPageQueries queries) returns CollectionResponseSimplePublicObjectWithAssociationsForwardPaging|error { + string resourcePath = string `/`; map headerValues = {...headers}; if self.apiKeyConfig is ApiKeysConfig { - headerValues["private-app"] = self.apiKeyConfig?.private\-app; + headerValues["private-app"] = self.apiKeyConfig?.privateApp; } - resourcePath = resourcePath + check getPathForQueryParam(queries); + map queryParamEncoding = {"properties": {style: FORM, explode: true}, "propertiesWithHistory": {style: FORM, explode: true}, "associations": {style: FORM, explode: true}}; + resourcePath = resourcePath + check getPathForQueryParam(queries, queryParamEncoding); map httpHeaders = http:getHeaderMap(headerValues); - http:Request request = new; - json jsonBody = payload.toJson(); - request.setPayload(jsonBody, "application/json"); - return self.clientEp->post(resourcePath, request, httpHeaders); + return self.clientEp->get(resourcePath, httpHeaders); } - # Update a batch of tasks by internal ID, or unique property values + # Create a task # # + headers - Headers to be sent with the request # + return - successful operation - resource isolated function post batch/update(BatchInputSimplePublicObjectBatchInput payload, map headers = {}) returns BatchResponseSimplePublicObject|BatchResponseSimplePublicObjectWithErrors|error { - string resourcePath = string `/batch/update`; + resource isolated function post .(SimplePublicObjectInputForCreate payload, map headers = {}) returns SimplePublicObject|error { + string resourcePath = string `/`; map headerValues = {...headers}; if self.apiKeyConfig is ApiKeysConfig { - headerValues["private-app"] = self.apiKeyConfig?.private\-app; + headerValues["private-app"] = self.apiKeyConfig?.privateApp; } map httpHeaders = http:getHeaderMap(headerValues); http:Request request = new; @@ -223,7 +200,7 @@ public isolated client class Client { string resourcePath = string `/batch/upsert`; map headerValues = {...headers}; if self.apiKeyConfig is ApiKeysConfig { - headerValues["private-app"] = self.apiKeyConfig?.private\-app; + headerValues["private-app"] = self.apiKeyConfig?.privateApp; } map httpHeaders = http:getHeaderMap(headerValues); http:Request request = new; @@ -240,7 +217,7 @@ public isolated client class Client { string resourcePath = string `/search`; map headerValues = {...headers}; if self.apiKeyConfig is ApiKeysConfig { - headerValues["private-app"] = self.apiKeyConfig?.private\-app; + headerValues["private-app"] = self.apiKeyConfig?.privateApp; } map httpHeaders = http:getHeaderMap(headerValues); http:Request request = new; diff --git a/ballerina/types.bal b/ballerina/types.bal index 1b16a40..ab04a84 100644 --- a/ballerina/types.bal +++ b/ballerina/types.bal @@ -43,17 +43,17 @@ public type CollectionResponseAssociatedId record { # Represents the Queries record for the operation: get-/crm/v3/objects/tasks_getPage public type GetCrmV3ObjectsTasksGetPageQueries record { - # A comma separated list of object types to retrieve associated IDs for. If any of the specified associations do not exist, they will be ignored. + # A comma separated list of object types to retrieve associated IDs for. If any of the specified associations do not exist, they will be ignored string[] associations?; - # Whether to return only results that have been archived. + # Whether to return only results that have been archived boolean archived = false; - # A comma separated list of the properties to be returned along with their history of previous values. If any of the specified properties are not present on the requested object(s), they will be ignored. Usage of this parameter will reduce the maximum number of objects that can be read by a single request. + # A comma separated list of the properties to be returned along with their history of previous values. If any of the specified properties are not present on the requested object(s), they will be ignored. Usage of this parameter will reduce the maximum number of objects that can be read by a single request string[] propertiesWithHistory?; - # The maximum number of results to display per page. + # The maximum number of results to display per page int:Signed32 'limit = 10; - # The paging cursor token of the last successfully read resource will be returned as the `paging.next.after` JSON property of a paged response containing more results. + # The paging cursor token of the last successfully read resource will be returned as the `paging.next.after` JSON property of a paged response containing more results string after?; - # A comma separated list of the properties to be returned in the response. If any of the specified properties are not present on the requested object(s), they will be ignored. + # A comma separated list of the properties to be returned in the response. If any of the specified properties are not present on the requested object(s), they will be ignored string[] properties?; }; @@ -80,7 +80,7 @@ public type ErrorDetail record { string subCategory?; # The status code associated with the error detail string code?; - # The name of the field or parameter in which the error was found. + # The name of the field or parameter in which the error was found string 'in?; # Context about the error condition record {|string[]...;|} context?; @@ -107,27 +107,27 @@ public type BatchResponseSimplePublicUpsertObjectWithErrors record { "PENDING"|"PROCESSING"|"CANCELED"|"COMPLETE" status; }; +public type BatchReadInputSimplePublicObjectId record { + string[] propertiesWithHistory; + string idProperty?; + SimplePublicObjectId[] inputs; + string[] properties; +}; + # Represents the Queries record for the operation: get-/crm/v3/objects/tasks/{taskId}_getById public type GetCrmV3ObjectsTasksTaskIdGetByIdQueries record { - # A comma separated list of object types to retrieve associated IDs for. If any of the specified associations do not exist, they will be ignored. + # A comma separated list of object types to retrieve associated IDs for. If any of the specified associations do not exist, they will be ignored string[] associations?; - # Whether to return only results that have been archived. + # Whether to return only results that have been archived boolean archived = false; - # A comma separated list of the properties to be returned along with their history of previous values. If any of the specified properties are not present on the requested object(s), they will be ignored. + # A comma separated list of the properties to be returned along with their history of previous values. If any of the specified properties are not present on the requested object(s), they will be ignored string[] propertiesWithHistory?; # The name of a property whose values are unique for this object type string idProperty?; - # A comma separated list of the properties to be returned in the response. If any of the specified properties are not present on the requested object(s), they will be ignored. + # A comma separated list of the properties to be returned in the response. If any of the specified properties are not present on the requested object(s), they will be ignored string[] properties?; }; -public type BatchReadInputSimplePublicObjectId record { - string[] propertiesWithHistory; - string idProperty?; - SimplePublicObjectId[] inputs; - string[] properties; -}; - public type BatchResponseSimplePublicUpsertObject record { string completedAt; string requestedAt?; @@ -185,29 +185,35 @@ public type ConnectionConfig record {| # The HTTP version understood by the client http:HttpVersion httpVersion = http:HTTP_2_0; # Configurations related to HTTP/1.x protocol - ClientHttp1Settings http1Settings?; + http:ClientHttp1Settings http1Settings = {}; # Configurations related to HTTP/2 protocol - http:ClientHttp2Settings http2Settings?; + http:ClientHttp2Settings http2Settings = {}; # The maximum time to wait (in seconds) for a response before closing the connection - decimal timeout = 60; + decimal timeout = 30; # The choice of setting `forwarded`/`x-forwarded` header string forwarded = "disable"; + # Configurations associated with Redirection + http:FollowRedirects followRedirects?; # Configurations associated with request pooling http:PoolConfiguration poolConfig?; # HTTP caching related configurations - http:CacheConfig cache?; + http:CacheConfig cache = {}; # Specifies the way of handling compression (`accept-encoding`) header http:Compression compression = http:COMPRESSION_AUTO; # Configurations associated with the behaviour of the Circuit Breaker http:CircuitBreakerConfig circuitBreaker?; # Configurations associated with retrying http:RetryConfig retryConfig?; + # Configurations associated with cookies + http:CookieConfig cookieConfig?; # Configurations associated with inbound response size limits - http:ResponseLimitConfigs responseLimits?; + http:ResponseLimitConfigs responseLimits = {}; # SSL/TLS-related options http:ClientSecureSocket secureSocket?; # Proxy server related options http:ProxyConfig proxy?; + # Provides settings related to client socket configuration + http:ClientSocketConfig socketConfig = {}; # Enables the inbound payload validation functionality which provided by the constraint package. Enabled by default boolean validation = true; # Enables relaxed data binding on the client side. When enabled, `nil` values are treated as optional, @@ -242,7 +248,7 @@ public type SimplePublicObjectBatchInputUpsert record { # Represents the Queries record for the operation: post-/crm/v3/objects/tasks/batch/read_read public type PostCrmV3ObjectsTasksBatchReadReadQueries record { - # Whether to return only results that have been archived. + # Whether to return only results that have been archived boolean archived = false; }; @@ -257,19 +263,6 @@ public type BatchResponseSimplePublicObjectWithErrors record { "PENDING"|"PROCESSING"|"CANCELED"|"COMPLETE" status; }; -# Proxy server configurations to be used with the HTTP client endpoint. -public type ProxyConfig record {| - # Host name of the proxy server - string host = ""; - # Proxy server port - int port = 0; - # Proxy server username - string userName = ""; - # Proxy server password - @display {label: "", kind: "password"} - string password = ""; -|}; - public type SimplePublicObjectInput record { string objectWriteTraceId?; record {|string...;|} properties; @@ -305,29 +298,19 @@ public type Filter record { "EQ"|"NEQ"|"LT"|"LTE"|"GT"|"GTE"|"BETWEEN"|"IN"|"NOT_IN"|"HAS_PROPERTY"|"NOT_HAS_PROPERTY"|"CONTAINS_TOKEN"|"NOT_CONTAINS_TOKEN" operator; }; -# Provides settings related to HTTP/1.x protocol. -public type ClientHttp1Settings record {| - # Specifies whether to reuse a connection for multiple requests - http:KeepAlive keepAlive = http:KEEPALIVE_AUTO; - # The chunking behaviour of the request - http:Chunking chunking = http:CHUNKING_AUTO; - # Proxy server related options - ProxyConfig proxy?; -|}; - public type PreviousPage record { string before; string link?; }; -public type BatchInputSimplePublicObjectBatchInput record { - SimplePublicObjectBatchInput[] inputs; -}; - public type BatchInputSimplePublicObjectInputForCreate record { SimplePublicObjectInputForCreate[] inputs; }; +public type BatchInputSimplePublicObjectBatchInput record { + SimplePublicObjectBatchInput[] inputs; +}; + public type SimplePublicUpsertObject record { string createdAt; boolean archived?; @@ -358,8 +341,8 @@ public type AssociatedId record { # Provides API key configurations needed when communicating with a remote HTTP endpoint. public type ApiKeysConfig record {| - string private\-app\-legacy; - string private\-app; + string privateAppLegacy; + string privateApp; |}; public type SimplePublicObjectInputForCreate record { diff --git a/docs/spec/openapi.json b/docs/spec/openapi.json index d6e2402..d241771 100644 --- a/docs/spec/openapi.json +++ b/docs/spec/openapi.json @@ -38,7 +38,7 @@ "parameters" : [ { "name" : "archived", "in" : "query", - "description" : "Whether to return only results that have been archived.", + "description" : "Whether to return only results that have been archived", "required" : false, "style" : "form", "explode" : true, @@ -114,7 +114,7 @@ }, { "name" : "properties", "in" : "query", - "description" : "A comma separated list of the properties to be returned in the response. If any of the specified properties are not present on the requested object(s), they will be ignored.", + "description" : "A comma separated list of the properties to be returned in the response. If any of the specified properties are not present on the requested object(s), they will be ignored", "required" : false, "style" : "form", "explode" : true, @@ -127,7 +127,7 @@ }, { "name" : "propertiesWithHistory", "in" : "query", - "description" : "A comma separated list of the properties to be returned along with their history of previous values. If any of the specified properties are not present on the requested object(s), they will be ignored.", + "description" : "A comma separated list of the properties to be returned along with their history of previous values. If any of the specified properties are not present on the requested object(s), they will be ignored", "required" : false, "style" : "form", "explode" : true, @@ -140,7 +140,7 @@ }, { "name" : "associations", "in" : "query", - "description" : "A comma separated list of object types to retrieve associated IDs for. If any of the specified associations do not exist, they will be ignored.", + "description" : "A comma separated list of object types to retrieve associated IDs for. If any of the specified associations do not exist, they will be ignored", "required" : false, "style" : "form", "explode" : true, @@ -153,7 +153,7 @@ }, { "name" : "archived", "in" : "query", - "description" : "Whether to return only results that have been archived.", + "description" : "Whether to return only results that have been archived", "required" : false, "style" : "form", "explode" : true, @@ -462,7 +462,7 @@ "parameters" : [ { "name" : "limit", "in" : "query", - "description" : "The maximum number of results to display per page.", + "description" : "The maximum number of results to display per page", "required" : false, "style" : "form", "explode" : true, @@ -474,7 +474,7 @@ }, { "name" : "after", "in" : "query", - "description" : "The paging cursor token of the last successfully read resource will be returned as the `paging.next.after` JSON property of a paged response containing more results.", + "description" : "The paging cursor token of the last successfully read resource will be returned as the `paging.next.after` JSON property of a paged response containing more results", "required" : false, "style" : "form", "explode" : true, @@ -484,7 +484,7 @@ }, { "name" : "properties", "in" : "query", - "description" : "A comma separated list of the properties to be returned in the response. If any of the specified properties are not present on the requested object(s), they will be ignored.", + "description" : "A comma separated list of the properties to be returned in the response. If any of the specified properties are not present on the requested object(s), they will be ignored", "required" : false, "style" : "form", "explode" : true, @@ -497,7 +497,7 @@ }, { "name" : "propertiesWithHistory", "in" : "query", - "description" : "A comma separated list of the properties to be returned along with their history of previous values. If any of the specified properties are not present on the requested object(s), they will be ignored. Usage of this parameter will reduce the maximum number of objects that can be read by a single request.", + "description" : "A comma separated list of the properties to be returned along with their history of previous values. If any of the specified properties are not present on the requested object(s), they will be ignored. Usage of this parameter will reduce the maximum number of objects that can be read by a single request", "required" : false, "style" : "form", "explode" : true, @@ -510,7 +510,7 @@ }, { "name" : "associations", "in" : "query", - "description" : "A comma separated list of object types to retrieve associated IDs for. If any of the specified associations do not exist, they will be ignored.", + "description" : "A comma separated list of object types to retrieve associated IDs for. If any of the specified associations do not exist, they will be ignored", "required" : false, "style" : "form", "explode" : true, @@ -523,7 +523,7 @@ }, { "name" : "archived", "in" : "query", - "description" : "Whether to return only results that have been archived.", + "description" : "Whether to return only results that have been archived", "required" : false, "style" : "form", "explode" : true, @@ -844,7 +844,7 @@ }, "in" : { "type" : "string", - "description" : "The name of the field or parameter in which the error was found." + "description" : "The name of the field or parameter in which the error was found" }, "context" : { "type" : "object", @@ -1719,12 +1719,14 @@ "private_apps_legacy" : { "type" : "apiKey", "name" : "private-app-legacy", - "in" : "header" + "in" : "header", + "x-ballerina-name" : "privateAppLegacy" }, "private_apps" : { "type" : "apiKey", "name" : "private-app", - "in" : "header" + "in" : "header", + "x-ballerina-name" : "privateApp" } } }, diff --git a/gradle.properties b/gradle.properties index c6e641c..389daaf 100644 --- a/gradle.properties +++ b/gradle.properties @@ -4,4 +4,4 @@ version=1.0.1-SNAPSHOT releasePluginVersion=2.8.0 ballerinaGradlePluginVersion=2.3.0 -ballerinaLangVersion=2201.11.0 +ballerinaLangVersion=2201.12.2