summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request 'bump version to 0.2.0' (#52) from bump-0.2.0 into mainv0.2.0Cyborus2024-04-282-2/+2
|\ | | | | | | Reviewed-on: https://codeberg.org/Cyborus/forgejo-api/pulls/52
| * bump version to 0.2.0Cyborus2024-04-282-2/+2
|/
* Merge pull request 'add `object_format_name` back in' (#51) from ↵Cyborus2024-04-274-3/+26
|\ | | | | | | | | | | object-format-name into main Reviewed-on: https://codeberg.org/Cyborus/forgejo-api/pulls/51
| * include `object_format_name` in testCyborus2024-04-271-0/+1
| |
| * update ci to use forgejo 7.0.1Cyborus2024-04-271-2/+2
| |
| * add `object_format_name` back inCyborus2024-04-272-1/+23
|/
* Merge pull request 'add `CreateHookOptionConfig` required properties as ↵Cyborus2024-04-263-7/+14
|\ | | | | | | | | | | fields' (#50) from hook-config-required-fields into main Reviewed-on: https://codeberg.org/Cyborus/forgejo-api/pulls/50
| * update tests to use `CreateHookOptionConfig` fieldsCyborus2024-04-261-7/+3
| |
| * add `CreateHookOptionConfig` required properties as fieldsCyborus2024-04-262-0/+11
|/
* Merge pull request 'format swagger file' (#49) from fmt-swagger into mainCyborus2024-04-261-7/+1
|\ | | | | | | Reviewed-on: https://codeberg.org/Cyborus/forgejo-api/pulls/49
| * format swagger fileCyborus2024-04-261-7/+1
|/ | | | forgot to in #48
* Merge pull request 'strongly type repository default merge style' (#48) from ↵Cyborus2024-04-264-9/+53
|\ | | | | | | | | | | enum-repo-merge-style into main Reviewed-on: https://codeberg.org/Cyborus/forgejo-api/pulls/48
| * implement `From<DefaultMergeStyle>` for `MergePullRequestOptionDo`Cyborus2024-04-261-0/+16
| |
| * regenerate sourceCyborus2024-04-261-3/+15
| |
| * correctly generate field type names for referenced enumsCyborus2024-04-261-1/+10
| |
| * strongly type repository default merge style in swagger fileCyborus2024-04-261-5/+12
|/
* Merge pull request 'fix `repo_get_raw_file{_or_lfs}` not returning ↵Cyborus2024-04-262-5/+6
|\ | | | | | | | | | | `Vec<u8>`' (#47) from raw-file-fix into main Reviewed-on: https://codeberg.org/Cyborus/forgejo-api/pulls/47
| * fix `repo_get_raw_file{_or_lfs}` not returning `Vec<u8>`Cyborus2024-04-262-5/+6
|/
* Merge pull request 'update to Forgejo 7.0's API' (#46) from v7.0 into mainCyborus2024-04-264-31/+1211
|\ | | | | | | Reviewed-on: https://codeberg.org/Cyborus/forgejo-api/pulls/46
| * update ci api tokenCyborus2024-04-261-1/+1
| |
| * remove `object_format_name` for nowCyborus2024-04-262-35/+1
| | | | | | | | | | | | | | forgejo currently has a bug where the `object_format_name` field is always an empty string. for now, just don't include it. should be fixed in https://codeberg.org/forgejo/forgejo/pulls/3464
| * `CreateRepoOption`'s `object_format_name` field is requiredCyborus2024-04-252-2/+2
| |
| * use forgejo 7.0.0 in ciCyborus2024-04-251-1/+1
| |
| * regenerate sourceCyborus2024-04-252-13/+426
| |
| * update swaggerfileCyborus2024-04-251-16/+817
|/
* Merge pull request 'format swagger file' (#45) from format-swagger into mainCyborus2024-04-251-2658/+869
|\ | | | | | | Reviewed-on: https://codeberg.org/Cyborus/forgejo-api/pulls/45
| * format swagger fileCyborus2024-04-251-2658/+869
|/ | | | | | this has no effect on functionality, but having a common format will make it easier to bring in official changes while maintaining local modifications
* Merge pull request 'fill out `Cargo.toml`' (#44) from crates-io into mainv0.1.0Cyborus2024-04-201-0/+3
|\ | | | | | | Reviewed-on: https://codeberg.org/Cyborus/forgejo-api/pulls/44
| * fill out `Cargo.toml`Cyborus2024-04-201-0/+3
|/
* Merge pull request 'add derives for query structs' (#43) from query-derive ↵Cyborus2024-04-203-39/+122
|\ | | | | | | | | | | into main Reviewed-on: https://codeberg.org/Cyborus/forgejo-api/pulls/43
| * update tests to use `Default::default` impls for query typesCyborus2024-04-201-39/+8
| |
| * add derives for query structsCyborus2024-04-202-0/+114
|/
* Merge pull request 'regenerate for 201 status code for tags' (#41) from ↵Cyborus2024-04-181-1/+1
|\ | | | | | | | | | | gen-tag-201 into main Reviewed-on: https://codeberg.org/Cyborus/forgejo-api/pulls/41
| * regenerate for 201 status code for tagsCyborus2024-04-181-1/+1
|/
* Merge pull request 'fix release attachment download url' (#40) from ↵Cyborus2024-04-181-4/+6
|\ | | | | | | | | | | fix-download into main Reviewed-on: https://codeberg.org/Cyborus/forgejo-api/pulls/40
| * fix release attachment download urlCyborus2024-04-181-4/+6
|/
* Merge pull request 'Auto-generate API' (#38) from autogen into mainCyborus2024-03-2021-2732/+40899
|\ | | | | | | Reviewed-on: https://codeberg.org/Cyborus/forgejo-api/pulls/38
| * correct tag creation success status code to `201`Cyborus2024-03-201-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 changesCyborus2024-03-205-13/+17
| | | | | | | | | | import `BTreeMap` instead of qualified path use `BTreeMap` instead of `serde_json::Map`
| * remove structs that only exist for their `additional` fieldCyborus2024-03-153-67/+23
| |
| * adjust created user's email in testCyborus2024-03-151-2/+2
| |
| * set enum variant serialization namesCyborus2024-03-152-0/+122
| |
| * update testsCyborus2024-03-151-4/+4
| |
| * remove debugCyborus2024-03-151-3/+0
| |
| * default to `serde_json::Value` for empty schemasCyborus2024-03-152-5/+5
| |
| * derive `Copy` and `Eq` for enumsCyborus2024-03-152-25/+25
| |
| * don't implement `as_str` for enums that don't need itCyborus2024-03-153-138/+18
| |
| * split generation into method and struct filesCyborus2024-02-106-6038/+6046
| |
| * fix warningsCyborus2024-02-102-2/+2
| |
| * remove trailing doc comment linesCyborus2024-02-103-642/+12
| |