@tangcent/apilot 0.1.2 → 0.1.3
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.
- package/CHANGELOG.md +29 -0
- package/README.md +30 -6
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,32 @@
|
|
|
1
|
+
## [0.1.3] - 2026-06-23
|
|
2
|
+
|
|
3
|
+
### Added
|
|
4
|
+
- enhance samples with 10+ controllers, generic bases, and complex DTOs
|
|
5
|
+
- add export dialog for per-export formatter and destination
|
|
6
|
+
- export spring mvc documentation comments
|
|
7
|
+
- add pip dependency resolver for Python site-packages model resolution (#123) (#128)
|
|
8
|
+
- resolve dependency structs from Go module cache (#122) (#127)
|
|
9
|
+
- resolve types from node_modules .d.ts files for complete API schemas (#126)
|
|
10
|
+
- add DependencyResolver (#125)
|
|
11
|
+
- feat(java): wire maven-indexer-cli into TypeResolver for dependency class resolution (#124)
|
|
12
|
+
- support file-level and method-level API export (#118)
|
|
13
|
+
- per-project Postman workspace/collection binding with smart mode detection (#116)
|
|
14
|
+
|
|
15
|
+
### Fixed
|
|
16
|
+
- support swagger2 api params
|
|
17
|
+
- correct archive arch/platform naming in plugin-package.sh (#129)
|
|
18
|
+
|
|
19
|
+
### Improved
|
|
20
|
+
- chore: normalize archived java doc spec
|
|
21
|
+
- chore: archive java doc export change
|
|
22
|
+
- chore: mark java doc export verified
|
|
23
|
+
- chore: record java doc export verification
|
|
24
|
+
- ci: fix fork-PR workflow permissions (#131)
|
|
25
|
+
- doc: remove outdated research, POC results, and completed spec docs
|
|
26
|
+
- chore: correct changelog line number comparison
|
|
27
|
+
|
|
28
|
+
---
|
|
29
|
+
|
|
1
30
|
## [0.1.2] - 2026-04-26
|
|
2
31
|
|
|
3
32
|
### Added
|
package/README.md
CHANGED
|
@@ -142,13 +142,20 @@ After making code changes, just re-run `./scripts/install-local.sh` to rebuild a
|
|
|
142
142
|
```
|
|
143
143
|
apilot export <source-path> [flags]
|
|
144
144
|
|
|
145
|
+
source-path can be a directory or a single source file.
|
|
146
|
+
When a file is given, the project root is auto-detected by walking up
|
|
147
|
+
to find pom.xml, build.gradle, go.mod, package.json, etc.
|
|
148
|
+
For multi-module projects, the topmost directory with an indicator is used.
|
|
149
|
+
|
|
145
150
|
Flags:
|
|
146
|
-
--collector
|
|
147
|
-
--formatter
|
|
148
|
-
--format
|
|
149
|
-
--
|
|
150
|
-
--
|
|
151
|
-
--
|
|
151
|
+
--collector string Collector name (auto-detected if omitted)
|
|
152
|
+
--formatter string Output format: markdown, curl, postman (default: markdown)
|
|
153
|
+
--format string Format variant, e.g. simple, detailed (default: simple)
|
|
154
|
+
--method string Filter to a specific method name (used with file-level export)
|
|
155
|
+
--project-root string Override auto-detected project root directory
|
|
156
|
+
--output string Output file path (default: stdout)
|
|
157
|
+
--list-collectors Print available collectors and exit
|
|
158
|
+
--list-formatters Print available formatters and exit
|
|
152
159
|
```
|
|
153
160
|
|
|
154
161
|
### Examples
|
|
@@ -162,8 +169,25 @@ apilot export ./backend --formatter markdown --format detailed --output API.md
|
|
|
162
169
|
|
|
163
170
|
# Quick cURL reference to stdout
|
|
164
171
|
apilot export ./backend --formatter curl
|
|
172
|
+
|
|
173
|
+
# Export all APIs from a specific file
|
|
174
|
+
apilot export UserController.java --formatter markdown
|
|
175
|
+
|
|
176
|
+
# Export a single method from a file
|
|
177
|
+
apilot export UserController.java --method getUser --formatter curl
|
|
178
|
+
|
|
179
|
+
# Multi-module project: override project root
|
|
180
|
+
apilot export user-service/src/.../UserController.java --project-root ./company-platform
|
|
165
181
|
```
|
|
166
182
|
|
|
183
|
+
### Three levels of granularity
|
|
184
|
+
|
|
185
|
+
| Command | Scope |
|
|
186
|
+
|---------|-------|
|
|
187
|
+
| `apilot export ./project` | All APIs in project |
|
|
188
|
+
| `apilot export UserController.java` | All APIs in that file |
|
|
189
|
+
| `apilot export UserController.java --method getUser` | One specific API |
|
|
190
|
+
|
|
167
191
|
---
|
|
168
192
|
|
|
169
193
|
## IDE integrations
|