Swagger API service problem when using HTTPS URL - XData SwaggerUI - XDataServerModule

Since you are using Apache, that's expected behavior. Sparkle can't tell from an Apache module if you are using http or https. In this cause you should use the OnGetAbsoluteUrl and manually provide the correct scheme there (http or https).