OMGeeky
56643c8bde
improve enum docs
2024-05-18 17:42:26 +02:00
OMGeeky
ef00af9d13
fix one problem in the CLIs that try to use enums
2024-05-18 14:45:59 +02:00
OMGeeky
f1a5835563
add bigtableadmin2 to blacklist because of recursive type
2024-05-18 13:50:29 +02:00
OMGeeky
c04fa3f800
fix error where default for enum was not properly detected
2024-05-18 00:48:47 +02:00
OMGeeky
cb7d92a714
put module api in api.rs like before instead of api/mod.rs
...
This is needed since some builds do not remove old files and then cargo doesn't know which one to use. (for example GitHub-Actions)
2024-05-18 00:22:20 +02:00
OMGeeky
88d8495bbe
remove ambiguity in TryFrom implementation
2024-05-18 00:09:50 +02:00
OMGeeky
12d2398678
remove writing file from test that was probably only a temporary debug aid
2024-05-17 23:54:42 +02:00
OMGeeky
cb9d6ade4f
Use DictObject in tests
...
(copied version from `mako-render`)
2024-05-17 23:50:04 +02:00
OMGeeky
006ce5781e
Revert "Reapply "fix dict access errors while running test""
...
This reverts commit b9b8cec7d0 .
2024-05-17 23:47:55 +02:00
OMGeeky
3455436f0c
fix enum type not being wrapped as Vec if repeated
2024-05-17 23:41:00 +02:00
OMGeeky
51728ff5d7
correctly handle multiline descriptions for enums
2024-05-16 23:59:32 +02:00
OMGeeky
488c81a0af
fix usage
2024-05-16 23:59:31 +02:00
OMGeeky
b9b8cec7d0
Reapply "fix dict access errors while running test"
...
This reverts commit 2d9be85963 .
2024-05-16 23:30:36 +02:00
OMGeeky
04845a8f46
fix build error: TypeError: 'DictObject' object is not callable
2024-05-16 23:21:53 +02:00
OMGeeky
2d9be85963
Revert "fix dict access errors while running test"
...
This reverts commit c4c38e927f .
2024-05-16 22:55:34 +02:00
OMGeeky
c4c38e927f
fix dict access errors while running test
...
Signed-off-by: OMGeeky <aalaalgmx@gmail.com >
2024-05-16 21:47:06 +02:00
OMGeeky
3b667bb89b
cleanup some old stuff
...
Signed-off-by: OMGeeky <aalaalgmx@gmail.com >
2024-05-16 21:46:02 +02:00
OMGeeky
f528cb9c2c
remove leftover print
...
Signed-off-by: OMGeeky <aalaalgmx@gmail.com >
2024-05-16 21:28:08 +02:00
OMGeeky
52d2e89e51
reposition doc usage to better fit other usages
2024-05-16 19:40:57 +02:00
OMGeeky
0f1e01363c
add regions around enums for better overview
2024-05-16 19:29:32 +02:00
OMGeeky
e7cce53a51
add use for all enums to make the docs build
...
I got no Idea if there is a better way to do this without importing all the enums but since it is only the docs I think it's fine.
2024-05-16 19:27:34 +02:00
OMGeeky
3e27f63739
generate random values in documentation correctly
2024-05-16 19:20:28 +02:00
OMGeeky
5dd05e4ee4
fix enums not finding nested variants etc
2024-05-15 00:55:15 +02:00
OMGeeky
b6c063a854
fix some enums getting wrong names
...
(some were way too long)
2024-05-15 00:24:23 +02:00
OMGeeky
d1d2e9937c
remove changes to gen
2024-05-13 19:25:02 +02:00
OMGeeky
3092fef613
add comment
2024-05-13 19:24:28 +02:00
OMGeeky
d9a7fcc946
fix conflicting implementation error for TryFrom
...
(basically don't use generic, since blanket implementations make it impossible to not have conflicts)
2024-05-13 18:46:24 +02:00
OMGeeky
97198260a0
add impl to try to convert strings into the enum
2024-05-13 18:30:08 +02:00
OMGeeky
e8e1722294
fix wrong value for enums
2024-05-13 18:29:36 +02:00
OMGeeky
41049ede1a
implement workaround for status singular mistake
2024-05-13 18:29:02 +02:00
OMGeeky
d39652dc0b
add test for wrong name
...
(this test currently fails and should be fixed at some point)
2024-05-13 00:05:35 +02:00
OMGeeky
5bfd23d73e
fix some errors where some stuff does not exist
...
all apis libs build now
2024-05-12 23:56:24 +02:00
OMGeeky
988ebe882e
remove generated libs
2024-05-12 22:15:06 +02:00
OMGeeky
85133fa452
fix warnings
2024-05-12 22:12:51 +02:00
OMGeeky
4167ddd659
add generated enums.rs to drive3
2024-05-12 22:11:10 +02:00
OMGeeky
5a40cf1683
fix some items not having parameters crashing the script
2024-05-12 22:11:10 +02:00
OMGeeky
e5a85b3727
fix enum result parsing
2024-05-12 22:11:10 +02:00
OMGeeky
7b6aa6a207
make youtube3
2024-05-12 22:11:10 +02:00
OMGeeky
c034d75efa
change enums visibility
2024-05-12 22:11:10 +02:00
OMGeeky
c356d5fd0e
make regen-apis
2024-05-12 22:11:07 +02:00
OMGeeky
8fc78fe0ae
a building version of the enums-change (cli is broken).
...
(at least youtube3 builds, the others get generated successfully)
2024-05-12 22:10:59 +02:00
OMGeeky
cf0248f0f3
move scope_enum to own mako file
2024-05-12 22:10:55 +02:00
OMGeeky
665da6a9b2
make regen-apis
2024-05-12 22:09:35 +02:00
OMGeeky
95e10c9700
cleanup python usages
2024-05-12 22:09:24 +02:00
OMGeeky
3c93d7fc44
restructure templates to use modules, so it's not just one big file
2024-05-12 22:09:24 +02:00
OMGeeky
90ac61067f
make regen-apis
2024-05-12 22:09:19 +02:00
Sebastian Thiel
ce47a46ca4
Merge pull request #493 from serprex/base64v22
...
update dependencies
2024-04-26 14:47:04 +02:00
Philip Dubé
4b23b5a0c6
6.0.4
2024-04-26 12:18:14 +00:00
Philip Dubé
0fca3a944a
base64 0.22, serde_with 3, url 2
...
url v2 no longer exports percent_encoding, add percent-encoding v2 as explicit dependency
percent-encoding v2 no longer includes predefined encoding sets
2024-04-26 01:23:12 +00:00
Sebastian Thiel
762690ab03
Merge pull request #492 from IvanUkhov/license
...
Update the license
2024-04-24 22:13:12 +02:00