Commit Graph

23 Commits

Author SHA1 Message Date
Nick Floyd
6bb0408582 [FIX]: reworks all number parameter names to represent what they actually are. Refactors some types to be the appropriate types based on OpenAPI and docs. (#2948)
* reworks all number parameter names to represent what they actually are. Refactors some types to be the appropriate types based on OpenAPI and docs.

* updates interfaces and implementations for id naming

* updates reactive to match sync SDKs
2024-07-02 15:31:59 -05:00
notauserx
595e35d641 add active lock reason to PR (#2543)
* add active lock reason to PR

* update docs

* refactor: extract lock and unlock from IIssuesClient
create ILockUnlockClient so both IIssuesClient and IPullRequestClient can
access lock and unlock methods.

* refactor LockUnlock for reactive clients

* Update doc to include lock unlock sample code

* Use Assert.Null to check null value in test

Co-authored-by: notauserx <notauserx@users.noreply.github.com>
2022-08-19 18:36:47 +01:00
notauserx
536e5c3737 feat: adds active lock reason to issue (#2525) 2022-08-05 16:44:17 -05:00
Chris Simpson
2f7bd00dd6 feat: Removing accept header previews (#2515) 2022-08-01 09:37:23 -05:00
Itai Bar-Haim
4e804f61a6 Prefer using nameof(x) over literal "x" (#1781)
* updated XML docs and added some missing bits.

* prefer nameof(x) over literal "x"
2018-03-07 20:43:10 +10:00
Andreia Gaita
9e958bf998 Make Repository Id a long, it's going to grow... 2016-09-15 02:15:11 +02:00
Henrik Andersson
23d9310133 Implement Issue Timeline preview API (#1435)
* Implement Issue Timeline preview API

* Add DebuggerDisplay to response models

* Rename method

* Add Observable Issue Timeline client

* Add that missing property thing

* Add teh comments

* Added unit tests

* Fix method names

* Add missing event type enum and API preview accept header

* Add integration tests for async client

* Pass in API preview header

* Add observable integration tests

* Unbreak the broken tests...

* Remove unnecessary usings

* Add missing events

* Fix API URLs

* Add overloads for using repository Id instead of owner/repo and paging

* Add tests for repository id overloads

* Add paging tests

* I'm clearly a bit rusty about this test thing here...

* Missed a check for null argument

* Added missing XMLDocs
2016-08-08 07:51:07 +10:00
aedampir@gmail.com
44b0f4039d ID -> Id 2016-07-17 16:29:32 +07:00
Martin Scholz
72e30a7f90 Add reactions to issue, commit comment and review payload (#1405)
* add reactions to issue response payload

* add reactions to commit comment payload

* add reactions to review comment payload

* create tests for issue client

* tests for commitcomment client

* tests for pull request review comment

* change observable tests

* simplify strings

* remove unnecessary clients

* change integration tests to retrieve all reaction types

* create integration test for issue comment client

* fix merge conflicts

* fix merge conflicts

* gets tests passing again

* fix some reaction integration tests

* Fixup unit tests wth preview accepts header
Also applied preview header to a couple of repositoryId based calls that were added by another PR

* Fixup unit tests wth preview accepts header
Also applied preview header to a couple of repositoryId based calls that were added by another PR

* Rework reaction payload tests for IssueComments to handle Get, GetAllForIssue and GetAllForRepository calls

* [WIP] reaction payload tests

* Rework reaction payload tests for IssueComments to handle Get, GetAllForIssue and GetAllForRepository calls

* Rework reaction payload tests for Issues client

* Rework reaction payload tests for PullRequestReviews client

* Rework reaction payload tests for CommitComments client

* Revert "[WIP] reaction payload tests"

This reverts commit a6179b0f21a3ddfe36bfd3ae5eafae0e69b52252.
2016-07-08 20:29:08 +10:00
aedampir@gmail.com
91073ec127 removed <retuns> tags 2016-07-07 03:06:29 +07:00
Alexander Efremov
26b63ed245 cleared <returns> tags 2016-06-17 06:01:24 +07:00
aedampir@gmail.com
373e5ea6c0 added new overloads 2016-06-14 18:00:47 +07:00
aedampir@gmail.com
a30008d1e9 modified XML docs 2016-06-14 17:21:27 +07:00
Brendan Forster
dfebfe31b6 Add ApiOption overloads to IIssuesClient and IObservableIssuesClient (#1274) 2016-06-02 11:21:30 +02:00
Prayank Mathur
73240390ca Minor fixes 2016-03-30 14:42:47 +05:30
Prayank Mathur
8ff574ab1c Changes in Accept headers as well as names of the functions 2016-03-29 16:19:47 +05:30
Prayank Mathur
171b3c520a Implement Lock/Unlock Issue 2016-03-25 11:51:42 +05:30
Henrik Andersson
2427ab6922 Update observable clients 2015-03-24 00:12:41 +10:00
Peter MacNaughton
04d6e9b386 Generate documentation comments for the
`Reactive` project
2014-02-26 22:22:59 -07:00
Brendan Forster
6bdceee7b4 added missing properties to IObservableIssuesClient 2014-02-18 10:52:01 +11:00
Kristian Hellang
ae23a2ae7a Fixed minor namespace and whitespace issues 2013-12-01 23:42:04 +01:00
pltaylor
6e2c2467e8 Finish up ObservableIssueCommentsClient 2013-11-04 14:25:16 -05:00
Brandon Linton
654f279b32 Add and implement ObservableIssuesClient 2013-11-02 23:28:48 -04:00