bauerji

Results 12 comments of bauerji

I think this is not the right approach how to handle exceptions in Flask. I suggest you to read [Error Handlers](https://flask.palletsprojects.com/en/2.0.x/errorhandling/?highlight=exceptions#error-handlers). That way you route handler just raises exception and...

@The-Podsiadly Please, check the [linter](https://github.com/bauerji/flask-pydantic/runs/8056408149?check_suite_focus=true) errors in the tests and modify the code accordingly. Can you please add some tests for the `openapi` module? I don't like having such a...

Thank you @jcreekmore, released in version `0.11.0`

There is no logging in this package. Standard application logging isn't sufficient for you (you can see `400` responses there)? Of course logging can be added there.

Hi, Do you mean to automatically generate route serving openapi documentation of all routes? This is actually a good idea. I will try to find time to implement it. Jirka

@miquelvir I have though about it but haven't worked on it yet. Could you share me please your solution? I don't think it is necessary to convert it to flask...

@miquelvir I can imagine you might need it for list of routes but that can be stored in `validate` decorator. For adding docs routes too maybe, but that can be...

Hi, Thank you for contribution. I am trying to access `/docs/` endpoint on both example applications. For `example_app.app` I am getting empty html response (20 status code). `example_app` gives me...

It seems to work fine now. Except for path parameters. I could not find a way how to specify url path parameters while trying out the API through swagger UI....

The problem I was mentioning was in the swagger UI. You have the option to "Try it out" - call the API from UI. I wasn't able to specify the...