@tangcent/apilot 0.1.3 → 0.1.4
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 +201 -122
- package/LICENSE +661 -661
- package/README.md +563 -244
- package/package.json +34 -34
- package/scripts/install.js +124 -124
- package/scripts/run.js +27 -27
package/CHANGELOG.md
CHANGED
|
@@ -1,122 +1,201 @@
|
|
|
1
|
-
## [0.1.
|
|
2
|
-
|
|
3
|
-
### Added
|
|
4
|
-
-
|
|
5
|
-
-
|
|
6
|
-
-
|
|
7
|
-
-
|
|
8
|
-
-
|
|
9
|
-
-
|
|
10
|
-
- add
|
|
11
|
-
-
|
|
12
|
-
-
|
|
13
|
-
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
-
|
|
17
|
-
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
-
|
|
23
|
-
-
|
|
24
|
-
-
|
|
25
|
-
-
|
|
26
|
-
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
-
|
|
34
|
-
-
|
|
35
|
-
-
|
|
36
|
-
-
|
|
37
|
-
-
|
|
38
|
-
-
|
|
39
|
-
-
|
|
40
|
-
-
|
|
41
|
-
-
|
|
42
|
-
-
|
|
43
|
-
-
|
|
44
|
-
-
|
|
45
|
-
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
-
|
|
49
|
-
-
|
|
50
|
-
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
-
|
|
57
|
-
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
-
|
|
66
|
-
-
|
|
67
|
-
-
|
|
68
|
-
-
|
|
69
|
-
-
|
|
70
|
-
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
-
|
|
78
|
-
-
|
|
79
|
-
-
|
|
80
|
-
-
|
|
81
|
-
-
|
|
82
|
-
-
|
|
83
|
-
-
|
|
84
|
-
-
|
|
85
|
-
-
|
|
86
|
-
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
-
|
|
96
|
-
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
-
|
|
107
|
-
-
|
|
108
|
-
-
|
|
109
|
-
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
-
|
|
118
|
-
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
-
|
|
122
|
-
-
|
|
1
|
+
## [0.1.4] - 2026-11-29
|
|
2
|
+
|
|
3
|
+
### Added
|
|
4
|
+
- feat(java): export enum fields as strings of their constants (#223)
|
|
5
|
+
- pin dependency types to the project's versions, Kotlin included (#201)
|
|
6
|
+
- feat(yapi): tag and describe deprecated endpoints as EasyYapi does (#204)
|
|
7
|
+
- give fields documented with @see SomeEnum the enum's values
|
|
8
|
+
- report deprecated endpoints (#204)
|
|
9
|
+
- feat(yapi): render descriptions as Markdown and give parameters EasyYapi's examples (#197)
|
|
10
|
+
- add a YApi formatter that reads EasyYapi rules files (#197)
|
|
11
|
+
- select how fields are marked required with --required-fields (#196)
|
|
12
|
+
- feat(kotlin): add a Spring MVC collector for Kotlin sources (#171) (#183)
|
|
13
|
+
- feat(formatter): add a json formatter for CI assertions (#174)
|
|
14
|
+
- parse validate tag keywords into documentation metadata (#148) (#159)
|
|
15
|
+
- populate Tags and Headers from framework metadata (#140) (#154)
|
|
16
|
+
- resolve record components as DTO fields (#139) (#153)
|
|
17
|
+
- surface dependency type resolution status (#138) (#152)
|
|
18
|
+
- preserve JAX-RS and Feign documentation metadata (#151)
|
|
19
|
+
- surface unresolved types instead of silently falling back (#144)
|
|
20
|
+
|
|
21
|
+
### Fixed
|
|
22
|
+
- export byte and char arrays as the strings Jackson writes (#235)
|
|
23
|
+
- resolve type names by the scope they are written in (#242)
|
|
24
|
+
- read every declarator of a field and varargs parameters (#233)
|
|
25
|
+
- fix(java): export fields declared with an array or qualified type (#231)
|
|
26
|
+
- leave annotations out of the type arguments of a type (#225)
|
|
27
|
+
- build endpoints only for the files selected for export (#222)
|
|
28
|
+
- fix(java): read a decompiled Kotlin enum as an enum (#220)
|
|
29
|
+
- resolve binding names written as constants (#216)
|
|
30
|
+
- fix(java): keep the arguments of a generic type argument (#212)
|
|
31
|
+
- fix(java): bump the parser cache schema for new doc fields
|
|
32
|
+
- treat parameters Spring may leave empty as optional
|
|
33
|
+
- fix(java): resolve an upper-bounded wildcard to its bound
|
|
34
|
+
- fix(java): keep RawJavaDoc on enum classes after merging main
|
|
35
|
+
- fix(kotlin): recover from grammar errors instead of aborting the collection (#188) (#193)
|
|
36
|
+
- keep paragraph breaks in doc comments (#202)
|
|
37
|
+
- keep enum handling to the binding view (#190)
|
|
38
|
+
- fix(yapi): report upload results, redact token in errors, keep enum pick mocks
|
|
39
|
+
- match required-field annotations by qualified name
|
|
40
|
+
- address review of implicit Spring MVC binding (#190)
|
|
41
|
+
- do not count JetBrains @NotNull as a constraint (#196)
|
|
42
|
+
- fix(kotlin): collect the Java and Kotlin sources of a mixed tree together (#189) (#194)
|
|
43
|
+
- fix(kotlin): clean property and class KDoc before export (#187) (#192)
|
|
44
|
+
- fix(kotlin): accept use-site targets that cannot change the exported name (#186) (#191)
|
|
45
|
+
- bind Spring MVC parameters without a binding annotation as Spring does (#190)
|
|
46
|
+
- fix(markdown): identify the document, order fields as declared, and make headings unique (#170) (#182)
|
|
47
|
+
- fix(formatter): export the parameter type and the declared media types (#169) (#181)
|
|
48
|
+
- fix(java): derive response properties from getters exposed under Jackson (#168) (#180)
|
|
49
|
+
- fix(java): export an open wildcard argument as an object, filled from the method body (#167) (#179)
|
|
50
|
+
- fix(java): keep the parameter name on scalar and raw-collection request bodies (#166) (#178)
|
|
51
|
+
- fix(java): resolve simple type names by compilation unit, import, then package (#165) (#177)
|
|
52
|
+
- recover the JAX-RS response payload from the method body (#164) (#176)
|
|
53
|
+
- unwrap reactor publishers in the Java type resolver (#163) (#175)
|
|
54
|
+
- fix(cli): fail the run when a collection yields no endpoints (#161) (#173)
|
|
55
|
+
- widen pydantic model and Field descriptor detection (#147) (#158)
|
|
56
|
+
- keep plain defaults on annotated pydantic fields (#146) (#157)
|
|
57
|
+
- stop claiming Kotlin support in the java collector (#142) (#156)
|
|
58
|
+
- keep final instance fields during type resolution (#141) (#155)
|
|
59
|
+
|
|
60
|
+
### Changed
|
|
61
|
+
- refactor(kotlin): describe enum values where they are used (#207)
|
|
62
|
+
- share documentation-metadata extraction across collectors (#145)
|
|
63
|
+
|
|
64
|
+
### Improved
|
|
65
|
+
- enhance: look up @see enums in the project's dependencies (#218)
|
|
66
|
+
- chore: unify AI agent instructions and define git conventions (#214)
|
|
67
|
+
- docs(readme): fix Codecov badge to follow default branch (#185)
|
|
68
|
+
- chore(skills): move .agent to .agents for native discovery (#184)
|
|
69
|
+
- test: declare documentation metadata in samples (#149) (#160)
|
|
70
|
+
- test: assert exported output with golden files (#150)
|
|
71
|
+
|
|
72
|
+
---
|
|
73
|
+
|
|
74
|
+
## [0.1.3] - 2026-06-23
|
|
75
|
+
|
|
76
|
+
### Added
|
|
77
|
+
- enhance samples with 10+ controllers, generic bases, and complex DTOs
|
|
78
|
+
- add export dialog for per-export formatter and destination
|
|
79
|
+
- export spring mvc documentation comments
|
|
80
|
+
- add pip dependency resolver for Python site-packages model resolution (#123) (#128)
|
|
81
|
+
- resolve dependency structs from Go module cache (#122) (#127)
|
|
82
|
+
- resolve types from node_modules .d.ts files for complete API schemas (#126)
|
|
83
|
+
- add DependencyResolver (#125)
|
|
84
|
+
- feat(java): wire maven-indexer-cli into TypeResolver for dependency class resolution (#124)
|
|
85
|
+
- support file-level and method-level API export (#118)
|
|
86
|
+
- per-project Postman workspace/collection binding with smart mode detection (#116)
|
|
87
|
+
|
|
88
|
+
### Fixed
|
|
89
|
+
- support swagger2 api params
|
|
90
|
+
- correct archive arch/platform naming in plugin-package.sh (#129)
|
|
91
|
+
|
|
92
|
+
### Improved
|
|
93
|
+
- chore: normalize archived java doc spec
|
|
94
|
+
- chore: archive java doc export change
|
|
95
|
+
- chore: mark java doc export verified
|
|
96
|
+
- chore: record java doc export verification
|
|
97
|
+
- ci: fix fork-PR workflow permissions (#131)
|
|
98
|
+
- doc: remove outdated research, POC results, and completed spec docs
|
|
99
|
+
- chore: correct changelog line number comparison
|
|
100
|
+
|
|
101
|
+
---
|
|
102
|
+
|
|
103
|
+
## [0.1.2] - 2026-04-26
|
|
104
|
+
|
|
105
|
+
### Added
|
|
106
|
+
- enhance markdown formatter with detailed API export (#113)
|
|
107
|
+
- enhance postman formatter to parse detailed API information (#112)
|
|
108
|
+
- feat(flask): add detailed request/response type resolution (#111)
|
|
109
|
+
- add DRF serializer type resolution for Django parser (#110)
|
|
110
|
+
- feat(fastapi): add detailed request/response type resolution for Python FastAPI (#109)
|
|
111
|
+
- add detailed request/response type resolution to NestJS parser (#108)
|
|
112
|
+
- add detailed request/response type resolution for Fastify parser (#107)
|
|
113
|
+
- add detailed request/response type resolution for Express TypeScript (#106)
|
|
114
|
+
- add detailed request/response type resolution for Go Fiber (#105)
|
|
115
|
+
- add detailed request/response type resolution for Go Echo (#104)
|
|
116
|
+
- add Go struct type resolution to Gin parser (#103)
|
|
117
|
+
- resolve jaxrs request and response schemas (#101)
|
|
118
|
+
- feat(ci): enhance release workflows and scripts
|
|
119
|
+
|
|
120
|
+
### Fixed
|
|
121
|
+
- improve Java type resolution and CLI flag handling for markdown export (#114)
|
|
122
|
+
- resolve feign request and response schemas (#102)
|
|
123
|
+
- resolve inherited Java model fields (#100)
|
|
124
|
+
|
|
125
|
+
### Changed
|
|
126
|
+
- make TypeResolver framework-agnostic (#99)
|
|
127
|
+
|
|
128
|
+
### Improved
|
|
129
|
+
- docs: update readme and add skill documentation
|
|
130
|
+
- release: cli v0.1.1
|
|
131
|
+
|
|
132
|
+
---
|
|
133
|
+
|
|
134
|
+
## [0.1.1] - 2026-04-19
|
|
135
|
+
|
|
136
|
+
### Added
|
|
137
|
+
- feat(ci): enhance release workflows and scripts
|
|
138
|
+
- feat(vscode): implement VSCode extension with tests and CI (#33, #35, #36, #37) (#82)
|
|
139
|
+
- implement maven-indexer-cli dependency resolver (#19) (#80)
|
|
140
|
+
- add integration tests for Node collector wiring (#25) (#78)
|
|
141
|
+
- implement NestJS decorator parser for API endpoint collection (#77)
|
|
142
|
+
- implement Express route parser using tree-sitter-javascript (#22) (#75)
|
|
143
|
+
- implement Fastify route parser using tree-sitter-javascript (#23) (#76)
|
|
144
|
+
- add unit tests for Python collector Collect() (#30) (#74)
|
|
145
|
+
- implement Flask route parser (#28) (#73)
|
|
146
|
+
- implement Django REST Framework parser (#27) (#72)
|
|
147
|
+
- implement FastAPI route parser (#71)
|
|
148
|
+
- add settings management and Postman API client (#69)
|
|
149
|
+
- feat(java-parser): Phase 3-4 JAX-RS + Feign parsers, parser refactor (#68)
|
|
150
|
+
- add integration tests with sample projects and separate workflow (#65)
|
|
151
|
+
- feat(java-parser): Phase 0-2 实现 + 线程安全修复 (#66)
|
|
152
|
+
- add path params and response examples to Postman formatter (#63)
|
|
153
|
+
- feat(curl): add path param substitution and form param support (#31) (#62)
|
|
154
|
+
- wire Gin/Echo/Fiber parsers into Collect() and add unit tests (#14) (#60)
|
|
155
|
+
- implement Fiber route parser using go/ast (#13) (#59)
|
|
156
|
+
- implement Echo route parser using go/ast (#12) (#58)
|
|
157
|
+
- implement Gin route parser using go/ast (#57)
|
|
158
|
+
- implement --help output and integration tests for apilot-cli (#56)
|
|
159
|
+
- add build.Version / build.Date ldflags wiring (#51)
|
|
160
|
+
- add npm wrapper, goreleaser config, scripts, and update CI workflows for Go
|
|
161
|
+
- initial APilot project setup migrated from easy-api
|
|
162
|
+
|
|
163
|
+
### Fixed
|
|
164
|
+
- support Netflix Feign interfaces without @FeignClient annotation (#81)
|
|
165
|
+
- improve test scripts with better error handling and debugging (#67)
|
|
166
|
+
|
|
167
|
+
### Changed
|
|
168
|
+
- extract api-model module and replace FormatOptions with typed Params (#54)
|
|
169
|
+
- rename api-collector-support-* to api-collector-* and fix formater typo to formatter
|
|
170
|
+
|
|
171
|
+
### Improved
|
|
172
|
+
- docs: add Node.js/TypeScript parsing strategy research notes (#21) (#79)
|
|
173
|
+
- chore: split integration tests by framework using matrix strategy (#70)
|
|
174
|
+
- test: add tests for scripts/install.js across all platforms (#64)
|
|
175
|
+
- [api-formatter-markdown] Implement simple and detailed templates (#61)
|
|
176
|
+
- docs: mark issues #3, #4, #6, #7 as completed in todo.md (#55)
|
|
177
|
+
- chore(npm): add .npmignore to keep published package lean (#40) (#53)
|
|
178
|
+
- chore: move skills under .agent and add init script (#52)
|
|
179
|
+
- docs: fix CI table, config dir, and binary name in architecture.md (#50)
|
|
180
|
+
- doc: add contributing-formatters and contributing-collectors guides (#49)
|
|
181
|
+
- docs: add implementation todo list
|
|
182
|
+
- Initial commit
|
|
183
|
+
|
|
184
|
+
---
|
|
185
|
+
|
|
186
|
+
# APilot Changelog
|
|
187
|
+
|
|
188
|
+
## Unreleased
|
|
189
|
+
|
|
190
|
+
- fix(markdown): export the parameter type and the declared media types (#169)
|
|
191
|
+
- Query, Path Params and Headers tables carry a `type` column, mirroring Form, so a `Long id` is distinguishable from a `String id` (Java collectors propagate the declared type; other collectors leave the cell empty rather than guessing)
|
|
192
|
+
- `Content-Type` (`@Consumes`) and `Accept` (`@Produces`) render near the method when the source declares them; `MediaType.*` constant references resolve to wire media types
|
|
193
|
+
- `MultipartFile` parameters export under Form with `type: file` instead of Query, and `@RequestPart` is recognized as a form part
|
|
194
|
+
- The JSON formatter exposes `typeName` plus `consumes`/`produces` for CI gates; `ApiParameter`/`ApiEndpoint` gain the matching fields
|
|
195
|
+
- Output changes for every project with parameters: committed exports need a refresh (golden files updated)
|
|
196
|
+
- Initial release — migrated from [easy-api](https://github.com/tangcent/easy-api) Go engine layer
|
|
197
|
+
- Renamed project to APilot
|
|
198
|
+
- Added support for Java (Spring MVC, JAX-RS, Feign), Go (Gin, Echo, Fiber), Node.js (Express, Fastify, NestJS), Python (FastAPI, Django REST, Flask)
|
|
199
|
+
- Output formats: Markdown, cURL, Postman Collection v2.1
|
|
200
|
+
- VSCode extension with bundled binary support
|
|
201
|
+
- External plugin system via stdin/stdout JSON protocol
|