File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed
samples/Microsoft.Azure.WebJobs.Extensions.OpenApi.FunctionApp.InProc/Configurations
test/Microsoft.Azure.WebJobs.Extensions.OpenApi.Core.Tests.Fakes Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -11,8 +11,14 @@ public OpenApiCustomUIOptions(Assembly assembly)
11
11
{
12
12
}
13
13
14
- public override string CustomStylesheetPath { get ; } = "dist.my-custom.css" ;
14
+ //<!-- Uncomment if you want to use the embedded file. -->
15
+ //public override string CustomStylesheetPath { get; } = "dist.my-custom.css";
16
+ //public override string CustomJavaScriptPath { get; } = "dist.my-custom.js";
17
+ //<!-- Uncomment if you want to use the embedded file. -->
15
18
16
- public override string CustomJavaScriptPath { get ; } = "dist.my-custom.js" ;
19
+ //<!-- Uncomment if you want to use the external URL. -->
20
+ //public override string CustomStylesheetPath { get; } = "https://raw.githubusercontent.com/Azure/azure-functions-openapi-extension/main/samples/Microsoft.Azure.WebJobs.Extensions.OpenApi.FunctionApp.InProc/dist/my-custom.css";
21
+ //public override string CustomJavaScriptPath { get; } = "https://raw.githubusercontent.com/Azure/azure-functions-openapi-extension/main/samples/Microsoft.Azure.WebJobs.Extensions.OpenApi.FunctionApp.InProc/dist/my-custom.js";
22
+ //<!-- Uncomment if you want to use the external URL. -->
17
23
}
18
24
}
Original file line number Diff line number Diff line change @@ -12,9 +12,9 @@ public FakeUriCustomUIOptions(Assembly assembly)
12
12
}
13
13
14
14
public override string CustomStylesheetPath { get ; } =
15
- "https://raw.githubusercontent.com/Azure/azure-functions-openapi-extension/main/samples/Microsoft.Azure.WebJobs.Extensions.OpenApi.FunctionApp.V3Static /dist/my-custom.css" ;
15
+ "https://raw.githubusercontent.com/Azure/azure-functions-openapi-extension/main/samples/Microsoft.Azure.WebJobs.Extensions.OpenApi.FunctionApp.InProc /dist/my-custom.css" ;
16
16
17
17
public override string CustomJavaScriptPath { get ; } =
18
- "https://raw.githubusercontent.com/Azure/azure-functions-openapi-extension/main/samples/Microsoft.Azure.WebJobs.Extensions.OpenApi.FunctionApp.V3Static /dist/my-custom.js" ;
18
+ "https://raw.githubusercontent.com/Azure/azure-functions-openapi-extension/main/samples/Microsoft.Azure.WebJobs.Extensions.OpenApi.FunctionApp.InProc /dist/my-custom.js" ;
19
19
}
20
20
}
You can’t perform that action at this time.
0 commit comments