Commit b51c6d7b authored by Yann Garcia's avatar Yann Garcia
Browse files

Update PoC

parent 24f12964
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -5,7 +5,7 @@ The MEC Sandbox API described using OpenAPI
## Overview
This API client was generated by the [swagger-codegen](https://github.com/swagger-api/swagger-codegen) project.  By using the [swagger-spec](https://github.com/swagger-api/swagger-spec) from a remote server, you can easily generate an API client.

- API version: 0.0.2
- API version: 0.0.6
- Package version: 1.0.0
- Build package: io.swagger.codegen.v3.generators.go.GoClientCodegen

+23 −6
Original line number Diff line number Diff line
@@ -7,7 +7,7 @@ info:
  license:
    name: BSD-3-Clause
    url: https://forge.etsi.org/legal-matters
  version: 0.0.2
  version: 0.0.6
servers:
- url: http://localhost/sandbox-api/v1
paths:
@@ -57,7 +57,7 @@ paths:
      parameters:
      - name: sandbox_name
        in: query
        description: sandbox name to logout
        description: Sandbox identifier
        required: true
        style: form
        explode: true
@@ -170,7 +170,7 @@ paths:
          x-optionalDataType: String
      - name: sandbox_name
        in: query
        description: Network scenario to retrieve
        description: Sandbox identifier
        required: true
        style: simple
        explode: false
@@ -213,7 +213,7 @@ paths:
          x-optionalDataType: String
      - name: sandbox_name
        in: query
        description: Network scenario to retrieve
        description: Sandbox identifier
        required: true
        style: simple
        explode: false
@@ -240,7 +240,7 @@ paths:
      parameters:
      - name: sandbox_name
        in: query
        description: Network scenario to retrieve
        description: Sandbox identifier
        required: true
        style: simple
        explode: false
@@ -315,6 +315,15 @@ paths:
      summary: get the list of the available MEC services
      description: This method retrieves the list of the available MEC services.
      operationId: SandboxMecServices_GET
      parameters:
      - name: sandbox_name
        in: query
        description: Sandbox identifier
        required: true
        style: simple
        explode: false
        schema:
          type: string
      responses:
        "200":
          description: "Upon success, a response message content containing an array\
@@ -341,6 +350,14 @@ paths:
      description: This method selects the MEC service to be used.
      operationId: SandboxMecServices_POST
      parameters:
      - name: sandbox_name
        in: query
        description: Sandbox identifier
        required: true
        style: simple
        explode: false
        schema:
          type: string
      - name: mec_service_name
        in: path
        description: It uniquely identifies a MEC service to use
@@ -355,7 +372,7 @@ paths:
          content:
            application/json:
              schema:
                type: array
                type: object
                items:
                  $ref: '#/components/schemas/SandboxMecServices'
                x-content-type: application/json
+2 −2
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@
 *
 * The MEC Sandbox API described using OpenAPI
 *
 * API version: 0.0.2
 * API version: 0.0.6
 * Contact: cti_support@etsi.org
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 */
@@ -113,7 +113,7 @@ func (a *AuthorizationApiService) Login(ctx context.Context, provider string) (S
AuthorizationApiService Terminates User Session and User Sandbox
Terminates User Session and User Sandbox
 * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
 * @param sandboxName sandbox name to logout
 * @param sandboxName Sandbox identifier

*/
func (a *AuthorizationApiService) Logout(ctx context.Context, sandboxName string) (*http.Response, error) {
+1 −1
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@
 *
 * The MEC Sandbox API described using OpenAPI
 *
 * API version: 0.0.2
 * API version: 0.0.6
 * Contact: cti_support@etsi.org
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 */
+1 −1
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@
 *
 * The MEC Sandbox API described using OpenAPI
 *
 * API version: 0.0.2
 * API version: 0.0.6
 * Contact: cti_support@etsi.org
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 */
Loading