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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: api-foundry
3
- Version: 0.8.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
@@ -1,5 +1,5 @@
1
1
  # __init__.py
2
- __version__ = "0.8.8"
2
+ __version__ = "0.8.9"
3
3
 
4
4
  from api_foundry.iac.pulumi.api_foundry import APIFoundry
5
5
  from cloud_foundry import logger
@@ -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