Added functionality to split det swagger doc into multiple definitions (#14126)
* Added functionality to split det swagger doc into multiple definitions. Most (maybe too much) is still shared between the apis. * Fixed issue with duplicate operation ids when we have multiple versions of an endpoint * use strong types instead of var * Updated OpenApi.json * Formatting * formatting * Delete old files that is not implemented in api.common * Updated openAPi after merge --------- Co-authored-by: Zeegaan <nge@umbraco.dk>
This commit is contained in:
@@ -80,7 +80,7 @@ namespace Umbraco.Cms.Tests.Integration.TestServerTest
|
||||
builder.ConfigureTestServices(services =>
|
||||
{
|
||||
services.AddSingleton<IWebProfilerRepository, TestWebProfilerRepository>();
|
||||
|
||||
|
||||
// Add a test auth scheme with a test auth handler to authn and assign the user
|
||||
services.AddAuthentication(TestAuthHandler.TestAuthenticationScheme)
|
||||
.AddScheme<AuthenticationSchemeOptions, TestAuthHandler>(
|
||||
@@ -245,6 +245,7 @@ namespace Umbraco.Cms.Tests.Integration.TestServerTest
|
||||
.AddWebsite()
|
||||
.AddUmbracoSqlServerSupport()
|
||||
.AddUmbracoSqliteSupport()
|
||||
.AddDeliveryApi()
|
||||
.AddTestServices(TestHelper); // This is the important one!
|
||||
|
||||
CustomTestSetup(builder);
|
||||
@@ -256,7 +257,7 @@ namespace Umbraco.Cms.Tests.Integration.TestServerTest
|
||||
/// </summary>
|
||||
protected virtual void ConfigureTestServices(IServiceCollection services)
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
|
||||
protected void Configure(IApplicationBuilder app)
|
||||
|
||||
Reference in New Issue
Block a user