Skip to content

Commit

Permalink
Minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ashera96 committed Mar 23, 2024
1 parent 5292151 commit b9053a0
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1269,7 +1269,7 @@ public static class ApplicationStatus {
public static final String DELETE_PENDING = "DELETE_PENDING";
}

public static class APIRevisionStatus { //
public static class APIRevisionStatus {

public static final String API_REVISION_CREATED = "CREATED";
public static final String API_REVISION_APPROVED = "APPROVED";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5362,11 +5362,11 @@ components:
properties too will affect the maximum password length allowed and an
intersection of all conditions will be considered finally to validate
the password.
isApiChatEnabled:
apiChatEnabled:
type: boolean
description: Specifies whether API Chat feature is enabled.
default: true
isAIFeatureAuthTokenProvided:
aiAuthTokenProvided:
type: boolean
description: Checks if the auth token is provided for AI service usage.
default: false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@

package org.wso2.carbon.apimgt.rest.api.store.v1.impl;

import com.google.gson.Gson;
import com.google.gson.JsonParser;
import org.apache.commons.lang3.StringUtils;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
Expand All @@ -30,7 +28,21 @@
import org.wso2.carbon.apimgt.api.APIConsumer;
import org.wso2.carbon.apimgt.api.APIManagementException;
import org.wso2.carbon.apimgt.api.ExceptionCodes;
import org.wso2.carbon.apimgt.api.model.*;
import org.wso2.carbon.apimgt.api.model.API;
import org.wso2.carbon.apimgt.api.model.APIChatAPISpec;
import org.wso2.carbon.apimgt.api.model.APIChatExecutionResponse;
import org.wso2.carbon.apimgt.api.model.APIChatTestExecutionInfo;
import org.wso2.carbon.apimgt.api.model.APIChatTestInitializerInfo;
import org.wso2.carbon.apimgt.api.model.APIIdentifier;
import org.wso2.carbon.apimgt.api.model.APIRating;
import org.wso2.carbon.apimgt.api.model.ApiTypeWrapper;
import org.wso2.carbon.apimgt.api.model.Comment;
import org.wso2.carbon.apimgt.api.model.CommentList;
import org.wso2.carbon.apimgt.api.model.Documentation;
import org.wso2.carbon.apimgt.api.model.DocumentationContent;
import org.wso2.carbon.apimgt.api.model.Environment;
import org.wso2.carbon.apimgt.api.model.ResourceFile;
import org.wso2.carbon.apimgt.api.model.Tier;
import org.wso2.carbon.apimgt.api.model.graphql.queryanalysis.GraphqlComplexityInfo;
import org.wso2.carbon.apimgt.api.model.graphql.queryanalysis.GraphqlSchemaType;
import org.wso2.carbon.apimgt.api.model.webhooks.Topic;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -192,9 +192,9 @@
<!-- Enable API Chat for API Manager -->
<Enabled>true</Enabled>

<AuthToken>abc</AuthToken>
<AuthToken></AuthToken>

<Endpoint>https://test.com</Endpoint>
<Endpoint>http://localhost:9090</Endpoint>

</APIChat>

Expand All @@ -206,9 +206,9 @@
<!-- Enable Marketplace Assistant for API Manager -->
<Enabled>true</Enabled>

<AuthToken>abc</AuthToken>
<AuthToken></AuthToken>

<Endpoint>https://test.com</Endpoint>
<Endpoint>http://localhost:9090</Endpoint>

</MarketplaceAssistant>

Expand Down

0 comments on commit b9053a0

Please sign in to comment.