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 |
|
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
|
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 |
|