Skip to content

Commit

Permalink
chore(all): re-generate OpenAPI client(s) (#355)
Browse files Browse the repository at this point in the history
Co-authored-by: app-services-ci <app-services-ci@users.noreply.github.com>
  • Loading branch information
app-services-ci and app-services-ci authored Apr 27, 2022
1 parent 15d574d commit d8f148e
Show file tree
Hide file tree
Showing 45 changed files with 62 additions and 53 deletions.
2 changes: 1 addition & 1 deletion packages/kafka-instance-sdk/src/generated/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Kafka Admin REST API
* An API to provide REST endpoints for query Kafka for admin operations
*
* The version of the OpenAPI document: 0.8.1-SNAPSHOT
* The version of the OpenAPI document: 0.10.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion packages/kafka-instance-sdk/src/generated/api/acls-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Kafka Admin REST API
* An API to provide REST endpoints for query Kafka for admin operations
*
* The version of the OpenAPI document: 0.8.1-SNAPSHOT
* The version of the OpenAPI document: 0.10.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Kafka Admin REST API
* An API to provide REST endpoints for query Kafka for admin operations
*
* The version of the OpenAPI document: 0.8.1-SNAPSHOT
* The version of the OpenAPI document: 0.10.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
27 changes: 18 additions & 9 deletions packages/kafka-instance-sdk/src/generated/api/records-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Kafka Admin REST API
* An API to provide REST endpoints for query Kafka for admin operations
*
* The version of the OpenAPI document: 0.8.1-SNAPSHOT
* The version of the OpenAPI document: 0.10.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down Expand Up @@ -38,13 +38,14 @@ export const RecordsApiAxiosParamCreator = function (configuration?: Configurati
* @param {string} topicName Topic name
* @param {Array<RecordIncludedProperty>} [include] List of properties to include for each record in the response
* @param {number} [limit] Limit the number of records fetched and returned
* @param {number} [maxValueLength] Maximum length of string values returned in the response. Values with a length that exceeds this parameter will be truncated. When this parameter is not included in the request, the full string values will be returned.
* @param {number} [offset] Retrieve messages with an offset equal to or greater than this offset. If both &#x60;timestamp&#x60; and &#x60;offset&#x60; are requested, &#x60;timestamp&#x60; is given preference.
* @param {number} [partition] Retrieve messages only from this partition
* @param {any} [timestamp] Retrieve messages with a timestamp equal to or later than this timestamp. If both &#x60;timestamp&#x60; and &#x60;offset&#x60; are requested, &#x60;timestamp&#x60; is given preference.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
consumeRecords: async (topicName: string, include?: Array<RecordIncludedProperty>, limit?: number, offset?: number, partition?: number, timestamp?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
consumeRecords: async (topicName: string, include?: Array<RecordIncludedProperty>, limit?: number, maxValueLength?: number, offset?: number, partition?: number, timestamp?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
// verify required parameter 'topicName' is not null or undefined
assertParamExists('consumeRecords', 'topicName', topicName)
const localVarPath = `/api/v1/topics/{topicName}/records`
Expand Down Expand Up @@ -72,6 +73,10 @@ export const RecordsApiAxiosParamCreator = function (configuration?: Configurati
localVarQueryParameter['limit'] = limit;
}

if (maxValueLength !== undefined) {
localVarQueryParameter['maxValueLength'] = maxValueLength;
}

if (offset !== undefined) {
localVarQueryParameter['offset'] = offset;
}
Expand Down Expand Up @@ -155,14 +160,15 @@ export const RecordsApiFp = function(configuration?: Configuration) {
* @param {string} topicName Topic name
* @param {Array<RecordIncludedProperty>} [include] List of properties to include for each record in the response
* @param {number} [limit] Limit the number of records fetched and returned
* @param {number} [maxValueLength] Maximum length of string values returned in the response. Values with a length that exceeds this parameter will be truncated. When this parameter is not included in the request, the full string values will be returned.
* @param {number} [offset] Retrieve messages with an offset equal to or greater than this offset. If both &#x60;timestamp&#x60; and &#x60;offset&#x60; are requested, &#x60;timestamp&#x60; is given preference.
* @param {number} [partition] Retrieve messages only from this partition
* @param {any} [timestamp] Retrieve messages with a timestamp equal to or later than this timestamp. If both &#x60;timestamp&#x60; and &#x60;offset&#x60; are requested, &#x60;timestamp&#x60; is given preference.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
async consumeRecords(topicName: string, include?: Array<RecordIncludedProperty>, limit?: number, offset?: number, partition?: number, timestamp?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RecordList>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.consumeRecords(topicName, include, limit, offset, partition, timestamp, options);
async consumeRecords(topicName: string, include?: Array<RecordIncludedProperty>, limit?: number, maxValueLength?: number, offset?: number, partition?: number, timestamp?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RecordList>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.consumeRecords(topicName, include, limit, maxValueLength, offset, partition, timestamp, options);
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
},
/**
Expand Down Expand Up @@ -193,14 +199,15 @@ export const RecordsApiFactory = function (configuration?: Configuration, basePa
* @param {string} topicName Topic name
* @param {Array<RecordIncludedProperty>} [include] List of properties to include for each record in the response
* @param {number} [limit] Limit the number of records fetched and returned
* @param {number} [maxValueLength] Maximum length of string values returned in the response. Values with a length that exceeds this parameter will be truncated. When this parameter is not included in the request, the full string values will be returned.
* @param {number} [offset] Retrieve messages with an offset equal to or greater than this offset. If both &#x60;timestamp&#x60; and &#x60;offset&#x60; are requested, &#x60;timestamp&#x60; is given preference.
* @param {number} [partition] Retrieve messages only from this partition
* @param {any} [timestamp] Retrieve messages with a timestamp equal to or later than this timestamp. If both &#x60;timestamp&#x60; and &#x60;offset&#x60; are requested, &#x60;timestamp&#x60; is given preference.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
consumeRecords(topicName: string, include?: Array<RecordIncludedProperty>, limit?: number, offset?: number, partition?: number, timestamp?: any, options?: any): AxiosPromise<RecordList> {
return localVarFp.consumeRecords(topicName, include, limit, offset, partition, timestamp, options).then((request) => request(axios, basePath));
consumeRecords(topicName: string, include?: Array<RecordIncludedProperty>, limit?: number, maxValueLength?: number, offset?: number, partition?: number, timestamp?: any, options?: any): AxiosPromise<RecordList> {
return localVarFp.consumeRecords(topicName, include, limit, maxValueLength, offset, partition, timestamp, options).then((request) => request(axios, basePath));
},
/**
* Produce (write) a single record to a topic.
Expand Down Expand Up @@ -228,14 +235,15 @@ export interface RecordsApiInterface {
* @param {string} topicName Topic name
* @param {Array<RecordIncludedProperty>} [include] List of properties to include for each record in the response
* @param {number} [limit] Limit the number of records fetched and returned
* @param {number} [maxValueLength] Maximum length of string values returned in the response. Values with a length that exceeds this parameter will be truncated. When this parameter is not included in the request, the full string values will be returned.
* @param {number} [offset] Retrieve messages with an offset equal to or greater than this offset. If both &#x60;timestamp&#x60; and &#x60;offset&#x60; are requested, &#x60;timestamp&#x60; is given preference.
* @param {number} [partition] Retrieve messages only from this partition
* @param {any} [timestamp] Retrieve messages with a timestamp equal to or later than this timestamp. If both &#x60;timestamp&#x60; and &#x60;offset&#x60; are requested, &#x60;timestamp&#x60; is given preference.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof RecordsApiInterface
*/
consumeRecords(topicName: string, include?: Array<RecordIncludedProperty>, limit?: number, offset?: number, partition?: number, timestamp?: any, options?: AxiosRequestConfig): AxiosPromise<RecordList>;
consumeRecords(topicName: string, include?: Array<RecordIncludedProperty>, limit?: number, maxValueLength?: number, offset?: number, partition?: number, timestamp?: any, options?: AxiosRequestConfig): AxiosPromise<RecordList>;

/**
* Produce (write) a single record to a topic.
Expand Down Expand Up @@ -263,15 +271,16 @@ export class RecordsApi extends BaseAPI implements RecordsApiInterface {
* @param {string} topicName Topic name
* @param {Array<RecordIncludedProperty>} [include] List of properties to include for each record in the response
* @param {number} [limit] Limit the number of records fetched and returned
* @param {number} [maxValueLength] Maximum length of string values returned in the response. Values with a length that exceeds this parameter will be truncated. When this parameter is not included in the request, the full string values will be returned.
* @param {number} [offset] Retrieve messages with an offset equal to or greater than this offset. If both &#x60;timestamp&#x60; and &#x60;offset&#x60; are requested, &#x60;timestamp&#x60; is given preference.
* @param {number} [partition] Retrieve messages only from this partition
* @param {any} [timestamp] Retrieve messages with a timestamp equal to or later than this timestamp. If both &#x60;timestamp&#x60; and &#x60;offset&#x60; are requested, &#x60;timestamp&#x60; is given preference.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof RecordsApi
*/
public consumeRecords(topicName: string, include?: Array<RecordIncludedProperty>, limit?: number, offset?: number, partition?: number, timestamp?: any, options?: AxiosRequestConfig) {
return RecordsApiFp(this.configuration).consumeRecords(topicName, include, limit, offset, partition, timestamp, options).then((request) => request(this.axios, this.basePath));
public consumeRecords(topicName: string, include?: Array<RecordIncludedProperty>, limit?: number, maxValueLength?: number, offset?: number, partition?: number, timestamp?: any, options?: AxiosRequestConfig) {
return RecordsApiFp(this.configuration).consumeRecords(topicName, include, limit, maxValueLength, offset, partition, timestamp, options).then((request) => request(this.axios, this.basePath));
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Kafka Admin REST API
* An API to provide REST endpoints for query Kafka for admin operations
*
* The version of the OpenAPI document: 0.8.1-SNAPSHOT
* The version of the OpenAPI document: 0.10.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion packages/kafka-instance-sdk/src/generated/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Kafka Admin REST API
* An API to provide REST endpoints for query Kafka for admin operations
*
* The version of the OpenAPI document: 0.8.1-SNAPSHOT
* The version of the OpenAPI document: 0.10.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion packages/kafka-instance-sdk/src/generated/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Kafka Admin REST API
* An API to provide REST endpoints for query Kafka for admin operations
*
* The version of the OpenAPI document: 0.8.1-SNAPSHOT
* The version of the OpenAPI document: 0.10.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion packages/kafka-instance-sdk/src/generated/configuration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Kafka Admin REST API
* An API to provide REST endpoints for query Kafka for admin operations
*
* The version of the OpenAPI document: 0.8.1-SNAPSHOT
* The version of the OpenAPI document: 0.10.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion packages/kafka-instance-sdk/src/generated/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Kafka Admin REST API
* An API to provide REST endpoints for query Kafka for admin operations
*
* The version of the OpenAPI document: 0.8.1-SNAPSHOT
* The version of the OpenAPI document: 0.10.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Kafka Admin REST API
* An API to provide REST endpoints for query Kafka for admin operations
*
* The version of the OpenAPI document: 0.8.1-SNAPSHOT
* The version of the OpenAPI document: 0.10.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Kafka Admin REST API
* An API to provide REST endpoints for query Kafka for admin operations
*
* The version of the OpenAPI document: 0.8.1-SNAPSHOT
* The version of the OpenAPI document: 0.10.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Kafka Admin REST API
* An API to provide REST endpoints for query Kafka for admin operations
*
* The version of the OpenAPI document: 0.8.1-SNAPSHOT
* The version of the OpenAPI document: 0.10.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Kafka Admin REST API
* An API to provide REST endpoints for query Kafka for admin operations
*
* The version of the OpenAPI document: 0.8.1-SNAPSHOT
* The version of the OpenAPI document: 0.10.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Kafka Admin REST API
* An API to provide REST endpoints for query Kafka for admin operations
*
* The version of the OpenAPI document: 0.8.1-SNAPSHOT
* The version of the OpenAPI document: 0.10.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Kafka Admin REST API
* An API to provide REST endpoints for query Kafka for admin operations
*
* The version of the OpenAPI document: 0.8.1-SNAPSHOT
* The version of the OpenAPI document: 0.10.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Kafka Admin REST API
* An API to provide REST endpoints for query Kafka for admin operations
*
* The version of the OpenAPI document: 0.8.1-SNAPSHOT
* The version of the OpenAPI document: 0.10.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Kafka Admin REST API
* An API to provide REST endpoints for query Kafka for admin operations
*
* The version of the OpenAPI document: 0.8.1-SNAPSHOT
* The version of the OpenAPI document: 0.10.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Kafka Admin REST API
* An API to provide REST endpoints for query Kafka for admin operations
*
* The version of the OpenAPI document: 0.8.1-SNAPSHOT
* The version of the OpenAPI document: 0.10.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Kafka Admin REST API
* An API to provide REST endpoints for query Kafka for admin operations
*
* The version of the OpenAPI document: 0.8.1-SNAPSHOT
* The version of the OpenAPI document: 0.10.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Kafka Admin REST API
* An API to provide REST endpoints for query Kafka for admin operations
*
* The version of the OpenAPI document: 0.8.1-SNAPSHOT
* The version of the OpenAPI document: 0.10.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Kafka Admin REST API
* An API to provide REST endpoints for query Kafka for admin operations
*
* The version of the OpenAPI document: 0.8.1-SNAPSHOT
* The version of the OpenAPI document: 0.10.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Kafka Admin REST API
* An API to provide REST endpoints for query Kafka for admin operations
*
* The version of the OpenAPI document: 0.8.1-SNAPSHOT
* The version of the OpenAPI document: 0.10.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Kafka Admin REST API
* An API to provide REST endpoints for query Kafka for admin operations
*
* The version of the OpenAPI document: 0.8.1-SNAPSHOT
* The version of the OpenAPI document: 0.10.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Kafka Admin REST API
* An API to provide REST endpoints for query Kafka for admin operations
*
* The version of the OpenAPI document: 0.8.1-SNAPSHOT
* The version of the OpenAPI document: 0.10.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Kafka Admin REST API
* An API to provide REST endpoints for query Kafka for admin operations
*
* The version of the OpenAPI document: 0.8.1-SNAPSHOT
* The version of the OpenAPI document: 0.10.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Kafka Admin REST API
* An API to provide REST endpoints for query Kafka for admin operations
*
* The version of the OpenAPI document: 0.8.1-SNAPSHOT
* The version of the OpenAPI document: 0.10.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Kafka Admin REST API
* An API to provide REST endpoints for query Kafka for admin operations
*
* The version of the OpenAPI document: 0.8.1-SNAPSHOT
* The version of the OpenAPI document: 0.10.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Kafka Admin REST API
* An API to provide REST endpoints for query Kafka for admin operations
*
* The version of the OpenAPI document: 0.8.1-SNAPSHOT
* The version of the OpenAPI document: 0.10.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Kafka Admin REST API
* An API to provide REST endpoints for query Kafka for admin operations
*
* The version of the OpenAPI document: 0.8.1-SNAPSHOT
* The version of the OpenAPI document: 0.10.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Kafka Admin REST API
* An API to provide REST endpoints for query Kafka for admin operations
*
* The version of the OpenAPI document: 0.8.1-SNAPSHOT
* The version of the OpenAPI document: 0.10.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
Loading

0 comments on commit d8f148e

Please sign in to comment.