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)
1111 {
1212 }
1313
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. -->
1518
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. -->
1723 }
1824}
Original file line number Diff line number Diff line change @@ -12,9 +12,9 @@ public FakeUriCustomUIOptions(Assembly assembly)
1212 }
1313
1414 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" ;
1616
1717 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" ;
1919 }
2020}
You can’t perform that action at this time.
0 commit comments