File tree Expand file tree Collapse file tree
OASIS Architecture/NextGenSoftware.OASIS.OASISBootLoader
ONODE/NextGenSoftware.OASIS.API.ONODE.WebAPI
STAR ODK/NextGenSoftware.OASIS.STAR.WebAPI Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -64,13 +64,13 @@ public static class OASISBootLoader
6464 public delegate void OASISBootLoaderError ( object sender , OASISErrorEventArgs e ) ;
6565 public static event OASISBootLoaderError OnOASISBootLoaderError ;
6666
67- public static string OASISRuntimeVersion { get ; set ; } = "4.5.0 " ;
68- public static string OASISAPIVersion { get ; set ; } = "4.5.0 " ;
67+ public static string OASISRuntimeVersion { get ; set ; } = "4.5.1 " ;
68+ public static string OASISAPIVersion { get ; set ; } = "4.5.1 " ;
6969 public static string COSMICVersion { get ; set ; } = "2.1.1" ;
70- public static string STARODKVersion { get ; set ; } = "3.4 .0" ;
71- public static string STARRuntimeVersion { get ; set ; } = "3.4 .0" ;
72- public static string STARNETVersion { get ; set ; } = "2.3 .0" ;
73- public static string STARAPIVersion { get ; set ; } = "1.2 .0" ;
70+ public static string STARODKVersion { get ; set ; } = "3.5 .0" ;
71+ public static string STARRuntimeVersion { get ; set ; } = "3.5 .0" ;
72+ public static string STARNETVersion { get ; set ; } = "2.4 .0" ;
73+ public static string STARAPIVersion { get ; set ; } = "1.3 .0" ;
7474
7575 public static string DotNetVersion
7676 {
Original file line number Diff line number Diff line change @@ -21,6 +21,14 @@ namespace NextGenSoftware.OASIS.API.ONODE.WebAPI
2121{
2222 public class Startup
2323 {
24+ private string VERSION
25+ {
26+ get
27+ {
28+ return $ "WEB 4 OASIS API v{ OASISBootLoader . OASISBootLoader . OASISAPIVersion } ";
29+ }
30+ }
31+
2432 // Helper method to get a unique display name for types, including generic types
2533 private static string GetTypeDisplayName ( Type type )
2634 {
@@ -31,9 +39,7 @@ private static string GetTypeDisplayName(Type type)
3139 var genericArgs = string . Join ( "" , type . GetGenericArguments ( ) . Select ( arg => GetTypeDisplayName ( arg ) ) ) ;
3240 return $ "{ genericTypeName } Of{ genericArgs } ";
3341 }
34- private const string VERSION = "WEB 4 OASIS API v4.4.4" ;
35- //readonly string MyAllowSpecificOrigins = "_myAllowSpecificOrigins";
36-
42+
3743 public Startup ( IConfiguration configuration )
3844 {
3945 Configuration = configuration ;
Original file line number Diff line number Diff line change 1212using Microsoft . AspNetCore . Mvc . Filters ;
1313using NextGenSoftware . OASIS . STAR . WebAPI . Middleware ;
1414
15+ //const string VERSION = "WEB 5 STAR API v1.3.0";
16+
17+ //private string VERSION
18+ //{
19+ // get
20+ // {
21+ // return $"WEB 5 STAR API v{OASISBootLoader.OASISBootLoader.STARAPIVersion}";
22+ // }
23+ //}
24+
1525var builder = WebApplication . CreateBuilder ( args ) ;
1626
1727// Ensure OASIS_DNA.json is resolved from the app output directory in local runs.
@@ -177,7 +187,7 @@ TOGETHER WE CAN CREATE A BETTER WORLD...</b></b>
177187app . UseSwagger ( ) ;
178188app . UseSwaggerUI ( c =>
179189{
180- c . SwaggerEndpoint ( "/swagger/v1/swagger.json" , "WEB 5 STAR API v1.0.0" ) ;
190+ c . SwaggerEndpoint ( "/swagger/v1/swagger.json" , string . Concat ( "WEB5 STAR API v" , OASISBootLoader . STARAPIVersion ) ) ;
181191 c . ConfigObject . AdditionalItems [ "syntaxHighlight" ] = new Dictionary < string , object >
182192 {
183193 [ "activated" ] = false
You can’t perform that action at this time.
0 commit comments