OpenAPI Response spec #3745
Replies: 2 comments 3 replies
-
Hi, It's a good way to avoid unnecessary repetition. |
Beta Was this translation helpful? Give feedback.
-
I could've sworn that I at lease "ctrl + f"d that page before I asked. Thanks for at least taking the time to respond to me lol, I feel pretty dumb. If it makes you feel any better, I'm creating a Python SDK for interacting w/ Trilium here: I'm hoping to always have all valid ETAPI paths useable, and relatively easy to maintain. Let me know what you think of what is in there so far, and feel free to add it to your README if you like it. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi zadam,
I'm trying to set up an automated pipeline that generates a Python "wrapper" client automatically, provided the OpenAPI spec document.
When utilizing a tool such as
openapi-python-client
to generate it, it throws the following warning and does not generate a client portion for the API path:It appears that the issue lies in the OpenAPI document like here. Is there a specific reason that it would be best to just leave that
default
response section in theetapi.openapi.yaml
document, or would you be open to a pull request that breaks those down further to400
and404
responses?I would also love to share it out and manage it from pypi if you think the community would be interested :)
Beta Was this translation helpful? Give feedback.
All reactions