connexion Questions
1
Solved
Problem
I use connextion with Flask. Today I upgraded connexion from 2.14.2 to 3.0.2 and see ModuleNotFoundError: Please install connexion using the 'flask' extra.
https://connexion.readthedo...
3
We are getting:
File "/usr/lib/python2.7/site-packages/connexion/decorators/validation.py", line 9, in <module>
from werkzeug import FileStorage
since we are working with Python 2.7.x
up...
Prow asked 12/2, 2020 at 15:49
1
Solved
I know how to secure endpoint in flask, and I want to do the same thing to swagger generated python server stub. I am wondering how I can integrate flask token authentication works for the swagger ...
1
I run Connexion/Flask app like this:
import connexion
from flask_cors import CORS
from flask import g
app = connexion.App(__name__, specification_dir='swagger_server/swagger/')
app.add_api('swagg...
2
Solved
I'm using the Connexion framework for Flask to build a microservice. I would like to write tests for my application using py.test.
In the pytest-flask doc it says to create a fixture in conftest.py...
1
When I was using Flask, every API call is authenticated before processed:
app = connexion.App(__name__, specification_dir='./swagger/', swagger_json=True, swagger_ui=True, server='tornado')
app.ap...
Limb asked 15/11, 2019 at 22:52
1
Solved
Is there a way to represent a property as generally readOnly, but allow the property to be written during a POST or PUT (i.e. a create or replace) action?
In other words, when creating the resourc...
1
Solved
I have a couple of test cases to test the endpoints of a flask/connexion based api.
Now I want to reorder them into classes, so there is a base class:
import pytest
from unittest import TestCase
...
1
Solved
I'm using the connexion framework for flask. I'd like to group several related functions into a class and I'm wondering whether methods of a class can be used for operationId instead of functions.
...
1
Solved
I am interested in integrating a swagger-codegen generated Python server with an existing Flask application. swagger-codegen generates a Python implementation based on the Connexion library from a ...
Hoon asked 16/1, 2017 at 13:28
1
© 2022 - 2024 — McMap. All rights reserved.