Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maint: bump openapi-client-template and dependencies #103

Merged
merged 7 commits into from
Nov 14, 2023
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ansys-grantami-serverapi-openapi/.swagger-codegen/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.0.46
3.0.50
14 changes: 7 additions & 7 deletions ansys-grantami-serverapi-openapi/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 7 additions & 7 deletions ansys-grantami-serverapi-openapi/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "ansys-grantami-serverapi-openapi"
description = "Autogenerated client library for the Granta MI Server API."
version = "2.0.0.dev113"
version = "2.0.0.dev115"
license = "MIT"
authors = ["ANSYS, Inc."]
maintainers = ["PyAnsys Maintainers <pyansys.maintainers@ansys.com>"]
authors = ["ANSYS, Inc. <[email protected]>"]
maintainers = ["ANSYS, Inc. <pyansys.core@ansys.com>"]
homepage = "https://github.com/ansys/grantami-serverapi-openapi"
readme = "README.md"
keywords = ["Ansys", "OpenAPI"]
Expand All @@ -18,19 +18,19 @@ classifiers = [
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: Information Analysis",
]
packages = [
{ include = "**/*.py", from = "src" }
]

[tool.poetry.dependencies]
python = "^3.8.0"
ansys-openapi-common = "^1.2.1"
python = "^3.9.0"
ansys-openapi-common = "^1.3.0"
requests = "^2.26.0"
python-dateutil = "^2.8.2"

Expand All @@ -41,7 +41,7 @@ requests-mock = "^1.0.0"
[tool.tox]
legacy_tox_ini = """
[tox]
envlist = py38,py39,py310,py311
envlist = py39,py310,py311,py312
isolated_build = True

[testenv]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ class GrantaServerApiAggregationsAggregationDatum(ModelBase):
"floatFunctionalGraph".lower(): "#/components/schemas/GrantaServerApiAggregationsFloatFunctionalAggregation",
}

discriminator = "datumType"
discriminator = "datum_type"
ludovicsteinbach marked this conversation as resolved.
Show resolved Hide resolved

def __init__(
self,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ class GrantaServerApiAggregationsLocalColumnAggregation(ModelBase):
"exists".lower(): "#/components/schemas/GrantaServerApiAggregationsLocalColumnExistsAggregation",
}

discriminator = "localColumnAggregationType"
discriminator = "local_column_aggregation_type"

def __init__(
self,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class GrantaServerApiAggregationsLocalColumnAggregationCriterion(ModelBase):
"exists".lower(): "#/components/schemas/GrantaServerApiAggregationsLocalColumnAggregationExistsCriterion",
}

discriminator = "localColumnAggregationCriterionType"
discriminator = "local_column_aggregation_criterion_type"

def __init__(
self,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class GrantaServerApiDataExportAttributeToExport(ModelBase):
"simple".lower(): "#/components/schemas/GrantaServerApiDataExportSimpleAttributeToExport",
}

discriminator = "attributeType"
discriminator = "attribute_type"

def __init__(
self,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ class GrantaServerApiDataExportDatumsDatum(ModelBase):
"unknown".lower(): "#/components/schemas/GrantaServerApiDataExportDatumsUnknownDatum",
}

discriminator = "notApplicable"
discriminator = "not_applicable"

def __init__(
self,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ class GrantaServerApiDataExportPropertiesProperty(ModelBase):
"versionState".lower(): "#/components/schemas/GrantaServerApiDataExportPropertiesVersionStateProperty",
}

discriminator = "propertyName"
discriminator = "property_name"

def __init__(
self,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ class GrantaServerApiSchemaLayoutsLayoutItem(ModelBase):
"link".lower(): "#/components/schemas/GrantaServerApiSchemaLayoutsLayoutLinkItem",
}

discriminator = "itemType"
discriminator = "item_type"

def __init__(
self,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ class GrantaServerApiSchemaLayoutsLayoutSection(ModelBase):
"full".lower(): "#/components/schemas/GrantaServerApiSchemaLayoutsFullLayoutSection",
}

discriminator = "sectionDetailType"
discriminator = "section_detail_type"

def __init__(
self,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class GrantaServerApiSchemaLayoutsNewLayoutItem(ModelBase):
"associationChain".lower(): "#/components/schemas/GrantaServerApiSchemaLayoutsNewLayoutAssociationChainItem",
}

discriminator = "itemType"
discriminator = "item_type"

def __init__(
self,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ class GrantaServerApiSchemaTabularColumnsCreateTabularColumnsCreateTabularColumn
"localPicture".lower(): "#/components/schemas/GrantaServerApiSchemaTabularColumnsCreateTabularColumnsCreateLocalPictureTabularColumn",
}

discriminator = "columnType"
discriminator = "column_type"

def __init__(
self,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ class GrantaServerApiSchemaTabularColumnsTabularColumn(ModelBase):
"unavailable".lower(): "#/components/schemas/GrantaServerApiSchemaTabularColumnsUnavailableTabularColumn",
}

discriminator = "columnType"
discriminator = "column_type"

def __init__(
self,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ class GrantaServerApiSchemaTabularColumnsUpdateTabularColumnsUpdateTabularColumn
"localPicture".lower(): "#/components/schemas/GrantaServerApiSchemaTabularColumnsUpdateTabularColumnsUpdateLocalPictureTabularColumn",
}

discriminator = "columnType"
discriminator = "column_type"

def __init__(
self,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class GrantaServerApiValueSpecifier(ModelBase):
"none".lower(): "#/components/schemas/GrantaServerApiNoValuesSpecifier",
}

discriminator = "filterOn"
discriminator = "filter_on"

def __init__(
self,
Expand Down
8 changes: 4 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<swagger-codegen-version>3.0.46</swagger-codegen-version>
<swagger-codegen-generators-version>1.0.42</swagger-codegen-generators-version>
<swagger-codegen-version>3.0.50</swagger-codegen-version>
<swagger-codegen-generators-version>1.0.44</swagger-codegen-generators-version>
<maven-plugin-version>1.0.0</maven-plugin-version>
<base-package-version>0.1.0</base-package-version>
<yaml-filename>server-api.json</yaml-filename>
<swagger-template-version>2.0.3-SNAPSHOT</swagger-template-version>
<swagger-template-version>2.0.4-SNAPSHOT</swagger-template-version>
<package-name>ansys-grantami-serverapi-openapi</package-name>
<package-import-path>ansys.grantami.serverapi_openapi</package-import-path>
<package-description>Autogenerated client library for the Granta MI Server API.</package-description>
Expand All @@ -25,7 +25,7 @@
<plugin>
<groupId>io.swagger.codegen.v3</groupId>
<artifactId>swagger-codegen-maven-plugin</artifactId>
<version>3.0.46</version>
<version>3.0.50</version>
<executions>
<execution>
<goals>
Expand Down