Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Merge pull request 'fill out `Cargo.toml`' (#44) from crates-io into mainv0.1.0 | Cyborus | 2024-04-20 | 1 | -0/+3 | |
|\ | | | | | | | Reviewed-on: https://codeberg.org/Cyborus/forgejo-api/pulls/44 | |||||
| * | fill out `Cargo.toml` | Cyborus | 2024-04-20 | 1 | -0/+3 | |
|/ | ||||||
* | Merge pull request 'add derives for query structs' (#43) from query-derive ↵ | Cyborus | 2024-04-20 | 3 | -39/+122 | |
|\ | | | | | | | | | | | into main Reviewed-on: https://codeberg.org/Cyborus/forgejo-api/pulls/43 | |||||
| * | update tests to use `Default::default` impls for query types | Cyborus | 2024-04-20 | 1 | -39/+8 | |
| | | ||||||
| * | add derives for query structs | Cyborus | 2024-04-20 | 2 | -0/+114 | |
|/ | ||||||
* | Merge pull request 'regenerate for 201 status code for tags' (#41) from ↵ | Cyborus | 2024-04-18 | 1 | -1/+1 | |
|\ | | | | | | | | | | | gen-tag-201 into main Reviewed-on: https://codeberg.org/Cyborus/forgejo-api/pulls/41 | |||||
| * | regenerate for 201 status code for tags | Cyborus | 2024-04-18 | 1 | -1/+1 | |
|/ | ||||||
* | Merge pull request 'fix release attachment download url' (#40) from ↵ | Cyborus | 2024-04-18 | 1 | -4/+6 | |
|\ | | | | | | | | | | | fix-download into main Reviewed-on: https://codeberg.org/Cyborus/forgejo-api/pulls/40 | |||||
| * | fix release attachment download url | Cyborus | 2024-04-18 | 1 | -4/+6 | |
|/ | ||||||
* | Merge pull request 'Auto-generate API' (#38) from autogen into main | Cyborus | 2024-03-20 | 21 | -2732/+40899 | |
|\ | | | | | | | Reviewed-on: https://codeberg.org/Cyborus/forgejo-api/pulls/38 | |||||
| * | correct tag creation success status code to `201` | Cyborus | 2024-03-20 | 1 | -1/+1 | |
| | | | | | | | | | | Forgejo seems to have already fixed this, but not published it yet. I'll just update it here myself | |||||
| * | two small `BTreeMap`-related changes | Cyborus | 2024-03-20 | 5 | -13/+17 | |
| | | | | | | | | | | import `BTreeMap` instead of qualified path use `BTreeMap` instead of `serde_json::Map` | |||||
| * | remove structs that only exist for their `additional` field | Cyborus | 2024-03-15 | 3 | -67/+23 | |
| | | ||||||
| * | adjust created user's email in test | Cyborus | 2024-03-15 | 1 | -2/+2 | |
| | | ||||||
| * | set enum variant serialization names | Cyborus | 2024-03-15 | 2 | -0/+122 | |
| | | ||||||
| * | update tests | Cyborus | 2024-03-15 | 1 | -4/+4 | |
| | | ||||||
| * | remove debug | Cyborus | 2024-03-15 | 1 | -3/+0 | |
| | | ||||||
| * | default to `serde_json::Value` for empty schemas | Cyborus | 2024-03-15 | 2 | -5/+5 | |
| | | ||||||
| * | derive `Copy` and `Eq` for enums | Cyborus | 2024-03-15 | 2 | -25/+25 | |
| | | ||||||
| * | don't implement `as_str` for enums that don't need it | Cyborus | 2024-03-15 | 3 | -138/+18 | |
| | | ||||||
| * | split generation into method and struct files | Cyborus | 2024-02-10 | 6 | -6038/+6046 | |
| | | ||||||
| * | fix warnings | Cyborus | 2024-02-10 | 2 | -2/+2 | |
| | | ||||||
| * | remove trailing doc comment lines | Cyborus | 2024-02-10 | 3 | -642/+12 | |
| | | ||||||
| * | format | Cyborus | 2024-02-10 | 2 | -3/+11 | |
| | | ||||||
| * | even more strongly typed returns | Cyborus | 2024-02-10 | 4 | -61/+177 | |
| | | ||||||
| * | deref more params | Cyborus | 2024-02-10 | 2 | -18/+12 | |
| | | ||||||
| * | include enum types in fields | Cyborus | 2024-02-10 | 2 | -59/+101 | |
| | | ||||||
| * | add enum types in query structs | Cyborus | 2024-02-10 | 2 | -65/+524 | |
| | | ||||||
| * | generate subtypes and enums | Cyborus | 2024-02-09 | 3 | -3/+194 | |
| | | ||||||
| * | better document structs | Cyborus | 2024-02-09 | 2 | -0/+1002 | |
| | | ||||||
| * | better documentation for body params | Cyborus | 2024-02-09 | 2 | -98/+113 | |
| | | ||||||
| * | deref params in method doc generation | Cyborus | 2024-02-09 | 1 | -12/+9 | |
| | | ||||||
| * | support non-json return types | Cyborus | 2024-02-09 | 3 | -50/+110 | |
| | | ||||||
| * | strongly typed header returns | Cyborus | 2024-02-09 | 5 | -12/+408 | |
| | | ||||||
| * | more general dereferencing | Cyborus | 2024-01-30 | 3 | -50/+658 | |
| | | ||||||
| * | format | Cyborus | 2024-01-30 | 3 | -27/+31 | |
| | | ||||||
| * | fix warnings | Cyborus | 2024-01-30 | 3 | -30/+24 | |
| | | ||||||
| * | put `query` directly in format string | Cyborus | 2024-01-30 | 2 | -282/+105 | |
| | | ||||||
| * | improve openapi verification | Cyborus | 2024-01-30 | 4 | -64/+500 | |
| | | ||||||
| * | split generator into modules | Cyborus | 2024-01-27 | 3 | -898/+906 | |
| | | ||||||
| * | remove debug panic | Cyborus | 2024-01-27 | 1 | -2/+0 | |
| | | ||||||
| * | format | Cyborus | 2024-01-24 | 1 | -1/+2 | |
| | | ||||||
| * | generate code | Cyborus | 2024-01-24 | 1 | -1325/+1307 | |
| | | ||||||
| * | fix errors/warnings in generated code | Cyborus | 2024-01-24 | 1 | -10/+9 | |
| | | | | | | | | | | | | | | | | remove import of `Write` remove now unused output string in display impls access query fields by reference remove `r#` in vars accessed in format strings replace char literals in write macros with strings | |||||
| * | Merge pull request 'autogen improvements' (#39) from ↵ | Cyborus | 2024-01-24 | 1 | -33/+69 | |
| |\ | | | | | | | | | | | | | | | | Aviac/forgejo-api:aviac/autogen into autogen Reviewed-on: https://codeberg.org/Cyborus/forgejo-api/pulls/39 | |||||
| | * | fix(mistake): order of statements | aviac | 2024-01-24 | 1 | -1/+1 | |
| | | | | | | | | | | | | Authored-by: Aviac <aviac@mailbox.org> | |||||
| | * | fix(list): adjust broken generated code | aviac | 2024-01-23 | 1 | -1/+1 | |
| | | | | | | | | | | | | Authored-by: Aviac <aviac@mailbox.org> | |||||
| | * | chore(cleanup): remove comment | aviac | 2024-01-23 | 1 | -2/+0 | |
| | | | | | | | | | | | | Authored-by: Aviac <aviac@mailbox.org> | |||||
| | * | feat(formatting): auto run rustfmt on generated file | aviac | 2024-01-22 | 1 | -6/+17 | |
| | | | | | | | | | | | | Authored-by: Aviac <aviac@mailbox.org> | |||||
| | * | chore(cleanup): consolidate `writeln`s | aviac | 2024-01-22 | 1 | -12/+15 | |
| | | | | | | | | | | | | Authored-by: Aviac <aviac@mailbox.org> |