Skip to content

Commit

Permalink
Upgrade openapi version (#75)
Browse files Browse the repository at this point in the history
* adjust-v2-version

* fix readme changes
  • Loading branch information
fcarrero authored Jun 8, 2023
1 parent 9af35b4 commit e3b309a
Show file tree
Hide file tree
Showing 260 changed files with 3,952 additions and 3,376 deletions.
36 changes: 36 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/python
{
"name": "Python 3",
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
"image": "mcr.microsoft.com/devcontainers/python:0-3.7"

// Features to add to the dev container. More info: https://containers.dev/features.
// "features": {},

// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],

// Use 'postCreateCommand' to run commands after the container is created.
,"containerEnv": {
"BASE_PATH" : "http://host.docker.internal:3000"
},
"postCreateCommand": "pip3 install --user -r requirements.txt && pip install twine && pip install build",
"customizations": {
"vscode": {
"extensions": [
"ms-vscode.makefile-tools",
"donjayamanne.python-extension-pack",
"GitHub.copilot",
"ms-python.python",
"Cameron.vscode-pytest"
]
}
}

// Configure tool-specific properties.
// "customizations": {},

// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
// "remoteUser": "root"
}
3 changes: 2 additions & 1 deletion .openapi-generator-ignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@ git_push.sh
appveyor.yml
.openapi-generator/
.openapi-generator
.github/workflows/python.yml
.github/workflows/python.yml
README.md
4 changes: 3 additions & 1 deletion .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
AUTHORS.md
CODE_OF_CONDUCT.md
LICENSE
README.md
VERSION
conekta/__init__.py
conekta/api/__init__.py
conekta/api/antifraud_api.py
Expand All @@ -28,6 +28,7 @@ conekta/api/transfers_api.py
conekta/api/webhook_keys_api.py
conekta/api/webhooks_api.py
conekta/api_client.py
conekta/api_response.py
conekta/configuration.py
conekta/exceptions.py
conekta/models/__init__.py
Expand Down Expand Up @@ -446,6 +447,7 @@ docs/WebhookResponse.md
docs/WebhookUpdateRequest.md
docs/WebhooksApi.md
docs/WhitelistlistRuleResponse.md
pyproject.toml
requirements.txt
setup.cfg
setup.py
Expand Down
2 changes: 1 addition & 1 deletion .openapi-generator/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6.4.0
6.6.0
4 changes: 4 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"python.testing.unittestEnabled": false,
"python.testing.pytestEnabled": true
}
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
python-test:
pytest

clean:
rm -rf ./dist
7 changes: 2 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# conekta-python
# conekta
Conekta sdk

This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
Expand Down Expand Up @@ -46,11 +46,9 @@ import conekta
Please follow the [installation procedure](#installation--usage) and then run the following:

```python
from __future__ import print_function

import time
import conekta
import os
from conekta.rest import ApiException
from pprint import pprint

Expand Down Expand Up @@ -387,7 +385,7 @@ Class | Method | HTTP request | Description
- [WebhookUpdateRequest](docs/WebhookUpdateRequest.md)
- [WhitelistlistRuleResponse](docs/WhitelistlistRuleResponse.md)


<a id="documentation-for-authorization"></a>
## Documentation For Authorization


Expand All @@ -400,4 +398,3 @@ Class | Method | HTTP request | Description

[email protected]


1 change: 1 addition & 0 deletions VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
6.0.0
8 changes: 5 additions & 3 deletions conekta/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
The version of the OpenAPI document: 2.1.0
Contact: [email protected]
Generated by: https://openapi-generator.tech
"""
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
"""

from __future__ import absolute_import

__version__ = "6.0.0"

Expand Down Expand Up @@ -42,6 +42,7 @@
from conekta.api.webhooks_api import WebhooksApi

# import ApiClient
from conekta.api_response import ApiResponse
from conekta.api_client import ApiClient
from conekta.configuration import Configuration
from conekta.exceptions import OpenApiException
Expand All @@ -50,6 +51,7 @@
from conekta.exceptions import ApiKeyError
from conekta.exceptions import ApiAttributeError
from conekta.exceptions import ApiException

# import models into sdk package
from conekta.models.api_key_create_response import ApiKeyCreateResponse
from conekta.models.api_key_create_response_all_of import ApiKeyCreateResponseAllOf
Expand Down
3 changes: 1 addition & 2 deletions conekta/api/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from __future__ import absolute_import

# flake8: noqa

# import apis into api package
Expand All @@ -25,3 +23,4 @@
from conekta.api.transfers_api import TransfersApi
from conekta.api.webhook_keys_api import WebhookKeysApi
from conekta.api.webhooks_api import WebhooksApi

Loading

0 comments on commit e3b309a

Please sign in to comment.