otterapi 0.0.2__tar.gz → 0.0.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {otterapi-0.0.2 → otterapi-0.0.3}/PKG-INFO +5 -5
- {otterapi-0.0.2 → otterapi-0.0.3}/README.md +4 -4
- {otterapi-0.0.2 → otterapi-0.0.3}/otterapi/config.py +1 -1
- {otterapi-0.0.2 → otterapi-0.0.3}/.gitignore +0 -0
- {otterapi-0.0.2 → otterapi-0.0.3}/otterapi/__init__.py +0 -0
- {otterapi-0.0.2 → otterapi-0.0.3}/otterapi/__main__.py +0 -0
- {otterapi-0.0.2 → otterapi-0.0.3}/otterapi/cli.py +0 -0
- {otterapi-0.0.2 → otterapi-0.0.3}/otterapi/codegen/__init__.py +0 -0
- {otterapi-0.0.2 → otterapi-0.0.3}/otterapi/codegen/ast_utils.py +0 -0
- {otterapi-0.0.2 → otterapi-0.0.3}/otterapi/codegen/endpoints.py +0 -0
- {otterapi-0.0.2 → otterapi-0.0.3}/otterapi/codegen/generator.py +0 -0
- {otterapi-0.0.2 → otterapi-0.0.3}/otterapi/codegen/openapi_processor.py +0 -0
- {otterapi-0.0.2 → otterapi-0.0.3}/otterapi/codegen/type_generator.py +0 -0
- {otterapi-0.0.2 → otterapi-0.0.3}/otterapi/codegen/utils.py +0 -0
- {otterapi-0.0.2 → otterapi-0.0.3}/pyproject.toml +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: otterapi
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.3
|
|
4
4
|
Summary: A cute little companion that generates type-safe clients from OpenAPI documents.
|
|
5
5
|
Project-URL: Source, https://github.com/danplischke/otter
|
|
6
6
|
Author: Dan Plischke
|
|
@@ -26,20 +26,20 @@ Requires-Dist: typer>=0.20.0
|
|
|
26
26
|
Requires-Dist: universal-pathlib>=0.3.4
|
|
27
27
|
Description-Content-Type: text/markdown
|
|
28
28
|
|
|
29
|
-
# 🦦
|
|
29
|
+
# 🦦 OtterAPI
|
|
30
30
|
|
|
31
31
|
> *A cute and intelligent OpenAPI client generator that dives deep into your OpenAPIs*
|
|
32
32
|
|
|
33
|
-
**
|
|
33
|
+
**OtterAPI** is a sleek Python library that transforms OpenAPI specifications into clean, type-safe client code.
|
|
34
34
|
|
|
35
35
|
## 🚀 Quick Start
|
|
36
36
|
|
|
37
37
|
```bash
|
|
38
|
-
# Generate from a pyproject.toml or any of the default config names (
|
|
38
|
+
# Generate from a pyproject.toml or any of the default config names (otter.yml, otter.yaml)
|
|
39
39
|
otter generate
|
|
40
40
|
|
|
41
41
|
# Generate from an otterapi config file
|
|
42
|
-
otter generate -c
|
|
42
|
+
otter generate -c otter.yml
|
|
43
43
|
```
|
|
44
44
|
|
|
45
45
|
## 📝 Example Config
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
# 🦦
|
|
1
|
+
# 🦦 OtterAPI
|
|
2
2
|
|
|
3
3
|
> *A cute and intelligent OpenAPI client generator that dives deep into your OpenAPIs*
|
|
4
4
|
|
|
5
|
-
**
|
|
5
|
+
**OtterAPI** is a sleek Python library that transforms OpenAPI specifications into clean, type-safe client code.
|
|
6
6
|
|
|
7
7
|
## 🚀 Quick Start
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
|
-
# Generate from a pyproject.toml or any of the default config names (
|
|
10
|
+
# Generate from a pyproject.toml or any of the default config names (otter.yml, otter.yaml)
|
|
11
11
|
otter generate
|
|
12
12
|
|
|
13
13
|
# Generate from an otterapi config file
|
|
14
|
-
otter generate -c
|
|
14
|
+
otter generate -c otter.yml
|
|
15
15
|
```
|
|
16
16
|
|
|
17
17
|
## 📝 Example Config
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|