-
Notifications
You must be signed in to change notification settings - Fork 8
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
[BUG] Failure To Generate from_json
Method Using Defined Schema Objects
#73
Comments
CC @asinghvi17 -- thanks for helping me investigate/explore this! :D |
Could you provide a MWE spec with client and server implementation? It will help eliminate instances where there is mismatch between spec and server response. |
Hey @tanmaykm, sure, but I really do not know what you are looking for. I didn't create this spec that I am making OpenAPI.jl consume (link here: https://developer.ipums.org/docs/v2/reference/nhgis/) and I have no idea how to make one. What are you referring to? |
Hi folks,
I am seeing an error in my IPUMS.jl package where when I used the OpenAPI definition for IPUMS (also see here for the reference documentation: https://developer.ipums.org/docs/v2/reference/nhgis/), the methods to handle
from_json
definitions being generated by OpenAPI do not exist to handle the schema objects defined in the original OpenAPI definition for IPUMS.Instead, what I am forced to do is to basically, self-pirate these generated methods within my package to get things working. Otherwise, I get errors such as these:
or
Here's a mostly working MWE minus an API key (that you can generate here):
And this would be after you generate the API with the openapi-cli tool. Happy to provide further information.
The text was updated successfully, but these errors were encountered: