You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
c.SwaggerDoc("Alpaca",newOpenApiInfo{Title=$"{DeviceManager.Configuration.ServerName}",Description="The Alpaca JSON API Specification. You can find the Alpaca HTML Specification and the OmniSim only configuration specification in the drop down. Please note that the Alpaca API documentation on the ASCOM website is the canonical version. There are several issues with this auto generated version that will be resolved in future versions. This is currently provided only for testing.",Version="v1"});
36
-
c.SwaggerDoc("AlpacaSetup",newOpenApiInfo{Title=$"{DeviceManager.Configuration.ServerName}",Description="Alpaca HTML Setup API - These are used to give the end user a GUI to configure device specific settings.",Version="v1"});
37
-
c.SwaggerDoc("OmniSim",newOpenApiInfo{Title="OmniSim JSON API",Description="API configuration that is unique to the OmniSim. These are not part of the Alpaca Spec but are helpful to automate testing with the OmniSim.",Version="v1"});
35
+
c.SwaggerDoc("Alpaca",newOpenApiInfo{Title=$"Alpaca JSON API Specification",Description="The Alpaca JSON API Specification. You can find the Alpaca HTML Specification and the OmniSim only configuration specification in the drop down. Please note that the Alpaca API documentation on the ASCOM website is the canonical version. There are several issues with this auto generated version that will be resolved in future versions. This is currently provided only for testing.",Version="v1"});
36
+
c.SwaggerDoc("AlpacaSetup",newOpenApiInfo{Title=$"Alpaca HTTP Configuration Specification",Description="Alpaca HTML Setup API - These are used to give the end user a GUI to configure device specific settings.",Version="v1"});
37
+
c.SwaggerDoc("OmniSim",newOpenApiInfo{Title="OmniSim JSON API",Description="API configuration that is unique to the OmniSim. These are not part of the Alpaca Spec but are helpful to automate testing with the OmniSim. Note that these have not yet been fully stabilized, expect some changes.",Version="v1"});
38
38
39
39
40
40
if(File.Exists(host_xml_file))
@@ -80,7 +80,8 @@ public static void ConfigureSwagger(IApplicationBuilder app)
0 commit comments