api-foundry 0.8.8__tar.gz → 0.8.9__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {api_foundry-0.8.8 → api_foundry-0.8.9}/PKG-INFO +1 -1
- {api_foundry-0.8.8 → api_foundry-0.8.9}/api_foundry/__init__.py +1 -1
- {api_foundry-0.8.8 → api_foundry-0.8.9}/api_foundry/iac/gateway_spec.py +3 -0
- {api_foundry-0.8.8 → api_foundry-0.8.9}/.gitignore +0 -0
- {api_foundry-0.8.8 → api_foundry-0.8.9}/LICENSE +0 -0
- {api_foundry-0.8.8 → api_foundry-0.8.9}/api_foundry/iac/pulumi/api_foundry.py +0 -0
- {api_foundry-0.8.8 → api_foundry-0.8.9}/api_foundry/scripts/install_secret.py +0 -0
- {api_foundry-0.8.8 → api_foundry-0.8.9}/api_foundry/scripts/postgres_to_openapi.py +0 -0
- {api_foundry-0.8.8 → api_foundry-0.8.9}/api_foundry/utils/app_exception.py +0 -0
- {api_foundry-0.8.8 → api_foundry-0.8.9}/api_foundry/utils/logger.py +0 -0
- {api_foundry-0.8.8 → api_foundry-0.8.9}/api_foundry/utils/model_factory.py +0 -0
- {api_foundry-0.8.8 → api_foundry-0.8.9}/api_foundry/utils/schema_validator.py +0 -0
- {api_foundry-0.8.8 → api_foundry-0.8.9}/pyproject.toml +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: api-foundry
|
|
3
|
-
Version: 0.8.
|
|
3
|
+
Version: 0.8.9
|
|
4
4
|
Summary: The `api_foundry` project is a powerful tool designed to automate the deployment of REST APIs on AWS using Lambda services to access and interact with relational databases (RDBMS). This project leverages the OpenAPI specification to define and manage the APIs
|
|
5
5
|
Project-URL: Documentation, https://github.com/DanRepik/api-foundry
|
|
6
6
|
Project-URL: Source, https://github.com/DanRepik/api-foundry
|
|
@@ -177,6 +177,7 @@ class APISpecEditor:
|
|
|
177
177
|
|
|
178
178
|
def generate_regex(self, property: dict[str, Any]) -> str:
|
|
179
179
|
regex_pattern = ""
|
|
180
|
+
relational_patterns = []
|
|
180
181
|
|
|
181
182
|
# UUID (either explicit type 'uuid' or string with format 'uuid')
|
|
182
183
|
if property.get("type") == "uuid" or (
|
|
@@ -234,6 +235,8 @@ class APISpecEditor:
|
|
|
234
235
|
+ rf"|^not-between::{regex_pattern},{regex_pattern},"
|
|
235
236
|
+ rf"|^in::{regex_pattern}(,{regex_pattern})*$"
|
|
236
237
|
+ rf"|^not-in::{regex_pattern}(,{regex_pattern})*$"
|
|
238
|
+
+ rf"|^like::.+$"
|
|
239
|
+
+ rf"|^not-like::.+$"
|
|
237
240
|
)
|
|
238
241
|
|
|
239
242
|
def generate_query_parameters(self, schema_object: dict[str, Any]):
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|