Commit ca42e4d9 authored by Sylvain Renault's avatar Sylvain Renault
Browse files

Current version for HHI server.

parent 8ee3fc87
Loading
Loading
Loading
Loading
+5 −5
Original line number Original line Diff line number Diff line
/*
/*
 * SmartSite Core System API
 * ETSI ARF Core System API
 *
 *
 * API ensuring interoperability between the various services, tools and apps in SmartSite
 * API ensuring interoperability between the various services, tools and apps in ARF
 *
 *
 * The version of the OpenAPI document: 1.0.2
 * The version of the OpenAPI document: 2.0.1
 * 
 * 
 * Generated by: https://openapi-generator.tech
 * Generated by: https://openapi-generator.tech
 */
 */
@@ -39,13 +39,13 @@ namespace ETSI.ARF.OpenAPI.WorldStorage.Controllers


        public override IActionResult GetAdmin()
        public override IActionResult GetAdmin()
        {
        {
            string answer = "ETSI ARF Server Running.";
            string answer = "ETSI ARF World Storage Server is running.";
            return new ObjectResult(answer);
            return new ObjectResult(answer);
        }
        }


        public override IActionResult GetVersion()
        public override IActionResult GetVersion()
        {
        {
            string answer = "ETSI ARF RESTful API 1.1.0";
            string answer = "ETSI ARF RESTful API v" + Startup.apiVersion;//"2.0.1";
            return new ObjectResult(answer);
            return new ObjectResult(answer);
        }
        }


+2 −2
Original line number Original line Diff line number Diff line
//
//
// ARF - Augmented Reality Framework (ETSI ISG ARF)
// ARF - Augmented Reality Framework (ETSI ISG ARF)
//
//
// Copyright 2022 ETSI
// Copyright 2024 ETSI
//
//
// Licensed under the Apache License, Version 2.0 (the "License");
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// you may not use this file except in compliance with the License.
@@ -15,7 +15,7 @@
// See the License for the specific language governing permissions and
// See the License for the specific language governing permissions and
// limitations under the License.
// limitations under the License.
//
//
// Last change: June 2022
// Last change: June 2024
//
//


/*
/*
+1 −1
Original line number Original line Diff line number Diff line
@@ -15,7 +15,7 @@
// See the License for the specific language governing permissions and
// See the License for the specific language governing permissions and
// limitations under the License.
// limitations under the License.
//
//
// Last change: June 2022
// Last change: June 2024
//
//


/*
/*
+2 −2
Original line number Original line Diff line number Diff line
//
//
// ARF - Augmented Reality Framework (ETSI ISG ARF)
// ARF - Augmented Reality Framework (ETSI ISG ARF)
//
//
// Copyright 2022 ETSI
// Copyright 2024 ETSI
//
//
// Licensed under the Apache License, Version 2.0 (the "License");
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// you may not use this file except in compliance with the License.
@@ -15,7 +15,7 @@
// See the License for the specific language governing permissions and
// See the License for the specific language governing permissions and
// limitations under the License.
// limitations under the License.
//
//
// Last change: June 2022
// Last change: June 2024
//
//


/*
/*
+6 −0
Original line number Original line Diff line number Diff line
@@ -40,6 +40,9 @@ namespace ETSI.ARF.OpenAPI.WorldStorage.Models
        //[BsonIgnore] - don't ignore, so mongo replace can use it!
        //[BsonIgnore] - don't ignore, so mongo replace can use it!
        public ObjectId _mongoID { get => _id; set => _id = value; }
        public ObjectId _mongoID { get => _id; set => _id = value; }


        /// <summary>
        /// Check for capabilities
        /// </summary>
        public bool Match(List<Capability> capabilities)
        public bool Match(List<Capability> capabilities)
        {
        {
            if (capabilities.Count == 0)
            if (capabilities.Count == 0)
@@ -60,6 +63,9 @@ namespace ETSI.ARF.OpenAPI.WorldStorage.Models
            return false;
            return false;
        }
        }


        /// <summary>
        /// Give the matrix from the array of the object
        /// </summary>
        public Matrix4x4 Matrix()
        public Matrix4x4 Matrix()
        {
        {
            return new Matrix4x4(
            return new Matrix4x4(
Loading