Ad Schellevis
|
935c07c206
|
collect_api_endpoints.py - improve debugging a bit by printing a filename before exit and offering a filter expression which files to process
|
2026-01-28 20:47:58 +01:00 |
|
Fabian Markl
|
98e5ca34cf
|
Fix typos using codespell (#838)
|
2026-01-21 08:43:15 +01:00 |
|
Ad Schellevis
|
e0a3a34150
|
collect_api_endpoints.py - add ?-> lexer support, also pass debug to parser
|
2025-12-10 20:47:01 +01:00 |
|
Ad Schellevis
|
9b13cbc1dd
|
collect_api_endpoints.py - minor type fix
|
2025-07-23 14:21:05 +02:00 |
|
Ad Schellevis
|
447d3ce194
|
add model_container to ApiParser response, which describes the GET/POST container name when using a model.
The ApiMutableControllerBase class contains a property named "$internalModelName", which describes the root of the container for http actions.
|
2025-05-05 20:28:05 +02:00 |
|
Ad Schellevis
|
ed4048d011
|
change Action.method to Action.methods as this can be a list of (unique) options. for https://github.com/opnsense/docs/pull/713
|
2025-05-04 17:04:43 +02:00 |
|
Freddie Sackur
|
f7a0d79a0c
|
Type-hint ApiParser using pydantic (#713)
* collect_api_endpoints.py: require pydantic
* collect_api_endpoints.py: adopt pydantic for type-hinting
|
2025-05-04 17:04:15 +02:00 |
|
Freddie Sackur
|
e78b15b0a0
|
chore: ignore generated parsetab file (#714)
|
2025-05-04 13:21:34 +02:00 |
|
Ad Schellevis
|
db14cb93d6
|
collect_api_endpoints.py: move collect_api_modules into its own module, for https://github.com/opnsense/docs/pull/712
|
2025-05-03 18:08:54 +02:00 |
|
Ad Schellevis
|
7a8208036a
|
collect_api_endpoints.py: add model_path when known into parse_api_php() method.
|
2025-05-01 10:59:49 +02:00 |
|
Ad Schellevis
|
02823b6055
|
collect_api_endpoints.py: refactor and split extraction logic, uses a lexer now to aase further extensions.
|
2025-05-01 09:58:59 +02:00 |
|
Ad Schellevis
|
f6c4932b62
|
phply: minor feature enhancements
o add spaceship operator support
o add null coalescing operator support
o allow type prefix in class property
|
2025-04-30 20:29:13 +02:00 |
|
Ad Schellevis
|
12cb1a4e32
|
import phply from https://github.com/viraptor/phply so we can add some missing language constructs on our end
|
2025-04-30 14:34:32 +02:00 |
|
Ad Schellevis
|
b88fdfc750
|
collect_api_endpoints.py - refactor controller parser to ease further extensions and ease pipelining to different outputs
|
2025-04-29 21:39:17 +02:00 |
|