Skip to content

Commit

Permalink
- moves constant declaration before its use
Browse files Browse the repository at this point in the history
  • Loading branch information
baywet committed Jul 13, 2021
1 parent 4b69a56 commit 1531da0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Kiota.Builder/KiotaBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,7 @@ public async Task CreateLanguageSourceFilesAsync(GenerationLanguage language, Co
}
private static readonly string requestBuilderSuffix = "RequestBuilder";
private static readonly string voidType = "void";
private static readonly string coreInterfaceType = "IHttpCore";
private CodeClass AddApiClientClass(CodeNamespace targetNS) {
var codeClass = targetNS.AddClass(new CodeClass(targetNS) {
Name = config.ClientClassName,
Expand Down Expand Up @@ -301,7 +302,6 @@ private void CreateRequestBuilderClass(CodeNamespace currentNamespace, OpenApiUr
CreateRequestBuilderClass(targetNamespace, childNode, rootNode);
});
}
private static readonly string coreInterfaceType = "IHttpCore";
private void CreatePathManagement(CodeClass currentClass, OpenApiUrlTreeNode currentNode, bool isRootClientClass) {
var pathProperty = new CodeProperty(currentClass) {
Access = AccessModifier.Private,
Expand Down

0 comments on commit 1531da0

Please sign in to comment.