Additional features
I added the additional features i needed from other forks along with one more feature that i needed into this fork
- Ability to pass target path instead of chdir to the path first
- Ability to access full endpoint information from within the templates
- Ability to override and control the location of each endpoint independantly of the tag
- Ability to raise exception for failed responses - failed responses by default are in the range [200, 300) - and can be explicitly set to be success or failure using the
x-response-typeproperty (can be one of: auto, success, failure) - Supports optional
x-focus-pathto create sync_focused/asincio_focused functions that target directly a specific path inside the parsed response - Supports additional optional template per endpoint for utility functions that wil be added to the generated module
Path to this optional template can be controlled independantly, and template can be linked per endpoint using
x-utility-functions-templateattribute
This PR will have to be split up into one-per-significant-change so that our changelog generation & versioning can function properly—that will also make it easier to figure out if some of these fixes/features are duplicates of other PRs. That's not to say that anyone involved so far needs to do this, just that it will have to happen before the changes merge. I need to update the contributing guidelines to make that more clear, right now it just vaguely mentions conventional commits 😞
@dbanty i will create separate PR for the features i worked on - but not for the features i pulled from other forks