You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to use openapix to build an AWS API Gateway API from a source OpenAPI 3 file. I passing in my paths as a dict object (since I couldnt find out how using the Paths class) and when I try cdk synth I get TypeError: Paths.__init__() got an unexpected keyword argument [redacted]. So I traced the error:
# If paths argument is a dict pass its key-value pairs as keyword arguments to Paths constructor
if isinstance(paths, dict):
paths = Paths(**paths)
2. ```
# the constructor (__init__) accepts no arguments
class Paths:
def __init__(self) -> None:
'''(experimental) Paths with methods containing integrations.
:stability: experimental
'''
self._values: typing.Dict[str, typing.Any] = {}
Code fails
Any hopes that this might be fixed in the near future? I am planning on using this library more heavily in the near future if I can make it work with my small-scale project.
The text was updated successfully, but these errors were encountered:
I am trying to use openapix to build an AWS API Gateway API from a source OpenAPI 3 file. I passing in my paths as a dict object (since I couldnt find out how using the Paths class) and when I try
cdk synth
I getTypeError: Paths.__init__() got an unexpected keyword argument [redacted]
. So I traced the error:Any hopes that this might be fixed in the near future? I am planning on using this library more heavily in the near future if I can make it work with my small-scale project.
The text was updated successfully, but these errors were encountered: