Skip to content

Commit

Permalink
Fixed failed client generation (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
georgedias authored Jun 14, 2023
1 parent dbda50e commit b087b83
Show file tree
Hide file tree
Showing 253 changed files with 515 additions and 513 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/generate-clients.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
push:
branches: [ main ]
# pull_request:
# branches: [ main ]
# branches: [ V3_10_1 ]

jobs:
generate-eMASS-clients:
Expand Down Expand Up @@ -56,8 +56,8 @@ jobs:
- name: Publish Generated Clients 🚀
if: contains(steps.changed-files.outputs.modified_files, 'eMASSRestOpenApi.yaml')
env:
CI_COMMIT_MESSAGE: Continuous Integration Build Client Artifacts (eMASS Clients)
CI_COMMIT_AUTHOR: Continuous Integration
CI_COMMIT_MESSAGE: CI Build Client Artifacts (eMASS Clients)
CI_COMMIT_AUTHOR: CI Pipeline
# Use previous user who made the last commit (from logs)
# CI_COMMIT_AUTHOR: "$(git log -n 1 --pretty=format:%an)"
CI_COMMIT_EMAIL: "$(git log -n 1 --pretty=format:%ae)"
Expand Down
8 changes: 5 additions & 3 deletions eMASSRestOpenApi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ info:
Every call to the eMASS REST API will require the use of the agreed upon public key certificate and API key.
The API key must be provided in the request header for all endpoint calls (api-key). If the service receives
an untrusted certificate or API key, a 401 error response code will be returned along with an error message.</br></br>
an untrusted certificate or API key, a 401 error response code will be returned along with an error message.
</br></br>
<strong>Available Request Headers</strong></br>
<table>
Expand Down Expand Up @@ -133,8 +135,8 @@ tags:
stage of the CAC. If the control is not at the first stage, an error will be returned.
- name: PAC
description: |
The Package Approval Chain (PAC) endpoints provide the ability to view the status of
existing workflows and initiate new workflows for a system.
The Package Approval Chain (PAC) endpoints provide the ability to view the status
of existing workflows and initiate new workflows for a system.
**Notes:**
- If the indicated system has any active workflows, the response will include
Expand Down
4 changes: 2 additions & 2 deletions src/python_client/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ Representational State Transfer (REST) Application Programming Interface (API) s
This Python package was generated from the eMASS API specification:

- API version: v3.10
- Package version: 3.10.0
- Build date: 2023-06-13T13:46:18.843637Z[Etc/UTC]
- Package version: 3.10.1
- Build date: 2023-06-13T18:24:16.147147Z[Etc/UTC]

## Requirements.

Expand Down
6 changes: 3 additions & 3 deletions src/python_client/emass_client/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
This Python package was generated from the eMASS API specification:

- API version: v3.10
- Package version: 3.10.0
- Build date: 2023-06-13T13:46:18.843637Z[Etc/UTC]
- Package version: 3.10.1
- Build date: 2023-06-13T18:24:16.147147Z[Etc/UTC]

## Requirements.

Expand Down Expand Up @@ -51,7 +51,7 @@

Execute `pytest` to run the tests.

__version__ = "3.10.0"
__version__ = "3.10.1"

# import apis into sdk package
from emass_client.api.artifacts_api import ArtifactsApi
Expand Down
4 changes: 2 additions & 2 deletions src/python_client/emass_client/api/artifacts_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
This Python package was generated from the eMASS API specification:

- API version: v3.10
- Package version: 3.10.0
- Build date: 2023-06-13T13:46:18.843637Z[Etc/UTC]
- Package version: 3.10.1
- Build date: 2023-06-13T18:24:16.147147Z[Etc/UTC]

## Requirements.

Expand Down
4 changes: 2 additions & 2 deletions src/python_client/emass_client/api/artifacts_export_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
This Python package was generated from the eMASS API specification:

- API version: v3.10
- Package version: 3.10.0
- Build date: 2023-06-13T13:46:18.843637Z[Etc/UTC]
- Package version: 3.10.1
- Build date: 2023-06-13T18:24:16.147147Z[Etc/UTC]

## Requirements.

Expand Down
4 changes: 2 additions & 2 deletions src/python_client/emass_client/api/cac_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
This Python package was generated from the eMASS API specification:

- API version: v3.10
- Package version: 3.10.0
- Build date: 2023-06-13T13:46:18.843637Z[Etc/UTC]
- Package version: 3.10.1
- Build date: 2023-06-13T18:24:16.147147Z[Etc/UTC]

## Requirements.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
This Python package was generated from the eMASS API specification:

- API version: v3.10
- Package version: 3.10.0
- Build date: 2023-06-13T13:46:18.843637Z[Etc/UTC]
- Package version: 3.10.1
- Build date: 2023-06-13T18:24:16.147147Z[Etc/UTC]

## Requirements.

Expand Down
4 changes: 2 additions & 2 deletions src/python_client/emass_client/api/cmmc_assessments_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
This Python package was generated from the eMASS API specification:

- API version: v3.10
- Package version: 3.10.0
- Build date: 2023-06-13T13:46:18.843637Z[Etc/UTC]
- Package version: 3.10.1
- Build date: 2023-06-13T18:24:16.147147Z[Etc/UTC]

## Requirements.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
This Python package was generated from the eMASS API specification:

- API version: v3.10
- Package version: 3.10.0
- Build date: 2023-06-13T13:46:18.843637Z[Etc/UTC]
- Package version: 3.10.1
- Build date: 2023-06-13T18:24:16.147147Z[Etc/UTC]

## Requirements.

Expand Down
4 changes: 2 additions & 2 deletions src/python_client/emass_client/api/controls_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
This Python package was generated from the eMASS API specification:

- API version: v3.10
- Package version: 3.10.0
- Build date: 2023-06-13T13:46:18.843637Z[Etc/UTC]
- Package version: 3.10.1
- Build date: 2023-06-13T18:24:16.147147Z[Etc/UTC]

## Requirements.

Expand Down
4 changes: 2 additions & 2 deletions src/python_client/emass_client/api/dashboards_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
This Python package was generated from the eMASS API specification:

- API version: v3.10
- Package version: 3.10.0
- Build date: 2023-06-13T13:46:18.843637Z[Etc/UTC]
- Package version: 3.10.1
- Build date: 2023-06-13T18:24:16.147147Z[Etc/UTC]

## Requirements.

Expand Down
4 changes: 2 additions & 2 deletions src/python_client/emass_client/api/milestones_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
This Python package was generated from the eMASS API specification:

- API version: v3.10
- Package version: 3.10.0
- Build date: 2023-06-13T13:46:18.843637Z[Etc/UTC]
- Package version: 3.10.1
- Build date: 2023-06-13T18:24:16.147147Z[Etc/UTC]

## Requirements.

Expand Down
4 changes: 2 additions & 2 deletions src/python_client/emass_client/api/pac_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
This Python package was generated from the eMASS API specification:

- API version: v3.10
- Package version: 3.10.0
- Build date: 2023-06-13T13:46:18.843637Z[Etc/UTC]
- Package version: 3.10.1
- Build date: 2023-06-13T18:24:16.147147Z[Etc/UTC]

## Requirements.

Expand Down
4 changes: 2 additions & 2 deletions src/python_client/emass_client/api/poam_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
This Python package was generated from the eMASS API specification:

- API version: v3.10
- Package version: 3.10.0
- Build date: 2023-06-13T13:46:18.843637Z[Etc/UTC]
- Package version: 3.10.1
- Build date: 2023-06-13T18:24:16.147147Z[Etc/UTC]

## Requirements.

Expand Down
4 changes: 2 additions & 2 deletions src/python_client/emass_client/api/registration_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
This Python package was generated from the eMASS API specification:

- API version: v3.10
- Package version: 3.10.0
- Build date: 2023-06-13T13:46:18.843637Z[Etc/UTC]
- Package version: 3.10.1
- Build date: 2023-06-13T18:24:16.147147Z[Etc/UTC]

## Requirements.

Expand Down
4 changes: 2 additions & 2 deletions src/python_client/emass_client/api/static_code_scans_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
This Python package was generated from the eMASS API specification:

- API version: v3.10
- Package version: 3.10.0
- Build date: 2023-06-13T13:46:18.843637Z[Etc/UTC]
- Package version: 3.10.1
- Build date: 2023-06-13T18:24:16.147147Z[Etc/UTC]

## Requirements.

Expand Down
4 changes: 2 additions & 2 deletions src/python_client/emass_client/api/system_roles_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
This Python package was generated from the eMASS API specification:

- API version: v3.10
- Package version: 3.10.0
- Build date: 2023-06-13T13:46:18.843637Z[Etc/UTC]
- Package version: 3.10.1
- Build date: 2023-06-13T18:24:16.147147Z[Etc/UTC]

## Requirements.

Expand Down
4 changes: 2 additions & 2 deletions src/python_client/emass_client/api/systems_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
This Python package was generated from the eMASS API specification:

- API version: v3.10
- Package version: 3.10.0
- Build date: 2023-06-13T13:46:18.843637Z[Etc/UTC]
- Package version: 3.10.1
- Build date: 2023-06-13T18:24:16.147147Z[Etc/UTC]

## Requirements.

Expand Down
4 changes: 2 additions & 2 deletions src/python_client/emass_client/api/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
This Python package was generated from the eMASS API specification:

- API version: v3.10
- Package version: 3.10.0
- Build date: 2023-06-13T13:46:18.843637Z[Etc/UTC]
- Package version: 3.10.1
- Build date: 2023-06-13T18:24:16.147147Z[Etc/UTC]

## Requirements.

Expand Down
4 changes: 2 additions & 2 deletions src/python_client/emass_client/api/test_results_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
This Python package was generated from the eMASS API specification:

- API version: v3.10
- Package version: 3.10.0
- Build date: 2023-06-13T13:46:18.843637Z[Etc/UTC]
- Package version: 3.10.1
- Build date: 2023-06-13T18:24:16.147147Z[Etc/UTC]

## Requirements.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
This Python package was generated from the eMASS API specification:

- API version: v3.10
- Package version: 3.10.0
- Build date: 2023-06-13T13:46:18.843637Z[Etc/UTC]
- Package version: 3.10.1
- Build date: 2023-06-13T18:24:16.147147Z[Etc/UTC]

## Requirements.

Expand Down
4 changes: 2 additions & 2 deletions src/python_client/emass_client/api/workflow_instances_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
This Python package was generated from the eMASS API specification:

- API version: v3.10
- Package version: 3.10.0
- Build date: 2023-06-13T13:46:18.843637Z[Etc/UTC]
- Package version: 3.10.1
- Build date: 2023-06-13T18:24:16.147147Z[Etc/UTC]

## Requirements.

Expand Down
6 changes: 3 additions & 3 deletions src/python_client/emass_client/api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
This Python package was generated from the eMASS API specification:

- API version: v3.10
- Package version: 3.10.0
- Build date: 2023-06-13T13:46:18.843637Z[Etc/UTC]
- Package version: 3.10.1
- Build date: 2023-06-13T18:24:16.147147Z[Etc/UTC]

## Requirements.

Expand Down Expand Up @@ -113,7 +113,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None,
self.default_headers[header_name] = header_value
self.cookie = cookie
# Set default User-Agent.
self.user_agent = 'OpenAPI-Generator/3.10.0/python'
self.user_agent = 'OpenAPI-Generator/3.10.1/python'
self.client_side_validation = configuration.client_side_validation

def __enter__(self):
Expand Down
6 changes: 3 additions & 3 deletions src/python_client/emass_client/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
This Python package was generated from the eMASS API specification:

- API version: v3.10
- Package version: 3.10.0
- Build date: 2023-06-13T13:46:18.843637Z[Etc/UTC]
- Package version: 3.10.1
- Build date: 2023-06-13T18:24:16.147147Z[Etc/UTC]

## Requirements.

Expand Down Expand Up @@ -452,7 +452,7 @@ def to_debug_report(self):
"OS: {env}\n"\
"Python Version: {pyversion}\n"\
"Version of the API: v3.10\n"\
"SDK Package Version: 3.10.0".\
"SDK Package Version: 3.10.1".\
format(env=sys.platform, pyversion=sys.version)

def get_host_settings(self):
Expand Down
4 changes: 2 additions & 2 deletions src/python_client/emass_client/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
This Python package was generated from the eMASS API specification:

- API version: v3.10
- Package version: 3.10.0
- Build date: 2023-06-13T13:46:18.843637Z[Etc/UTC]
- Package version: 3.10.1
- Build date: 2023-06-13T18:24:16.147147Z[Etc/UTC]

## Requirements.

Expand Down
4 changes: 2 additions & 2 deletions src/python_client/emass_client/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
This Python package was generated from the eMASS API specification:

- API version: v3.10
- Package version: 3.10.0
- Build date: 2023-06-13T13:46:18.843637Z[Etc/UTC]
- Package version: 3.10.1
- Build date: 2023-06-13T18:24:16.147147Z[Etc/UTC]

## Requirements.

Expand Down
4 changes: 2 additions & 2 deletions src/python_client/emass_client/models/artifacts_get.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
This Python package was generated from the eMASS API specification:

- API version: v3.10
- Package version: 3.10.0
- Build date: 2023-06-13T13:46:18.843637Z[Etc/UTC]
- Package version: 3.10.1
- Build date: 2023-06-13T18:24:16.147147Z[Etc/UTC]

## Requirements.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
This Python package was generated from the eMASS API specification:

- API version: v3.10
- Package version: 3.10.0
- Build date: 2023-06-13T13:46:18.843637Z[Etc/UTC]
- Package version: 3.10.1
- Build date: 2023-06-13T18:24:16.147147Z[Etc/UTC]

## Requirements.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
This Python package was generated from the eMASS API specification:

- API version: v3.10
- Package version: 3.10.0
- Build date: 2023-06-13T13:46:18.843637Z[Etc/UTC]
- Package version: 3.10.1
- Build date: 2023-06-13T18:24:16.147147Z[Etc/UTC]

## Requirements.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
This Python package was generated from the eMASS API specification:

- API version: v3.10
- Package version: 3.10.0
- Build date: 2023-06-13T13:46:18.843637Z[Etc/UTC]
- Package version: 3.10.1
- Build date: 2023-06-13T18:24:16.147147Z[Etc/UTC]

## Requirements.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
This Python package was generated from the eMASS API specification:

- API version: v3.10
- Package version: 3.10.0
- Build date: 2023-06-13T13:46:18.843637Z[Etc/UTC]
- Package version: 3.10.1
- Build date: 2023-06-13T18:24:16.147147Z[Etc/UTC]

## Requirements.

Expand Down
Loading

0 comments on commit b087b83

Please sign in to comment.