Mock server for OpenAPI documentation
Project description
Working on OpenAPI easily.
Features
Some of main features:
- Create a mock server for OpenAPI document
- Validate OpenAPI document with readable error messages
- Bundle OpenAPI fragments into the single document
py-luke supports both json and yaml type. Besides, you can also open file via path or URL.
Installation
You can install py-luke from PyPi or Docker
$ pip install py-luke
$ docker run nguyenkhacthanh/luke:latest
Usage
$ luke mock https://raw.githubusercontent.com/OAI/OpenAPI-Specification/main/examples/v3.0/petstore.yaml
or
$ docker run nguyenkhacthanh/latest validate https://raw.githubusercontent.com/OAI/OpenAPI-Specification/main/examples/v3.0/petstore.yaml
$ docker run -p8000:8000 nguyenkhacthanh/luke:latest mock https://raw.githubusercontent.com/OAI/OpenAPI-Specification/main/examples/v3.0/petstore.yaml
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
py_luke-0.0.3.tar.gz
(14.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
py_luke-0.0.3-py3-none-any.whl
(11.6 kB
view details)
File details
Details for the file py_luke-0.0.3.tar.gz.
File metadata
- Download URL: py_luke-0.0.3.tar.gz
- Upload date:
- Size: 14.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
25590aba4adcbf9f90cb7373761f205cd6ef0c7f7dfe15a29d6cd28767b214f1
|
|
| MD5 |
77ce7ec1d57874586edbc9d5650d618d
|
|
| BLAKE2b-256 |
63bd2d8a1d754fb2d1073ce21ef2e3b01dd0937cd00b41a43d1f7c78d6df598d
|
File details
Details for the file py_luke-0.0.3-py3-none-any.whl.
File metadata
- Download URL: py_luke-0.0.3-py3-none-any.whl
- Upload date:
- Size: 11.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
acc7b548296ec683822340d0464bc3d63b1aa798f91a1e62af5e357ea23206ca
|
|
| MD5 |
5b1895ea6283cea2b7f05ababfdab189
|
|
| BLAKE2b-256 |
bb0f4e805eecf9b5780a1d87a2c55a8c934db6ee21afdb6f246b9ac081f9c95c
|