# Swagger generated server
## Overview
This server was generated by the [swagger-codegen](https://github.com/swagger-api/swagger-codegen) project. By using the
[OpenAPI-Spec](https://github.com/swagger-api/swagger-core/wiki) from a remote server, you can easily generate a server stub. This
is an example of building a swagger-enabled Flask server.
This example uses the [Connexion](https://github.com/zalando/connexion) library on top of Flask.
## Requirements
Python 3.5.2+
## Usage
To run the server, please execute the following from the root directory:
```
pip3 install -r requirements.txt
python3 -m rlbot_action_server
```
and open your browser to here:
```
http://localhost:8080/ui/
```
Your Swagger definition lives here:
```
http://localhost:8080/swagger.json
```
To launch the integration tests, use tox:
```
sudo pip install tox
tox
```
## Running with Docker
To run the server on a Docker container, please execute the following from the root directory:
```bash
# building the image
docker build -t rlbot_action_server .
# starting up a container
docker run -p 8080:8080 rlbot_action_server
```
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
共30个文件
py:21个
txt:5个
pkg-info:2个
资源分类:Python库 所属语言:Python 资源全名:rlbot_action_server-1.1.0.tar.gz 资源来源:官方 安装方法:https://lanzao.blog.csdn.net/article/details/101784059
资源推荐
资源详情
资源评论
收起资源包目录
rlbot_action_server-1.1.0.tar.gz (30个子文件)
rlbot_action_server-1.1.0
PKG-INFO 365B
setup.cfg 42B
setup.py 881B
rlbot_action_server.egg-info
PKG-INFO 365B
requires.txt 10B
SOURCES.txt 1KB
entry_points.txt 75B
top_level.txt 20B
dependency_links.txt 1B
README.md 1KB
rlbot_action_server
models
base_model_.py 2KB
available_actions.py 4KB
api_response.py 2KB
action_choice.py 3KB
strategic_category.py 1KB
__init__.py 446B
bot_action.py 4KB
encoder.py 613B
formatting_utils.py 193B
bot_holder.py 353B
bot_action_broker.py 1KB
typing_utils.py 1013B
test
test_action_controller.py 1KB
__init__.py 420B
util.py 4KB
__main__.py 368B
controllers
authorization_controller.py 151B
action_controller.py 856B
__init__.py 0B
__init__.py 0B
共 30 条
- 1
资源评论
挣扎的蓝藻
- 粉丝: 13w+
- 资源: 15万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功