* Add support for /mets/public_keys/<keyType>
* "files.insertFinalNewline": false
* revert and make setttings.json change csharp only
* formatting
* remove final new line
---------
Co-authored-by: Nick Floyd <139819+nickfloyd@users.noreply.github.com>
* 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
* Fixes ids for Releases, Collaborators, and Contributors
* updates the interface for releases
* update the obverable release client
* updates ids from int to long based on GH database schema
* converts a test condition to use the proper type
* updates generated paging and observable classes
* Create a GitHub App from a manifest
* Add missing InstallationPermissions
* observable and tests
* Remove ManualRoute on Observable route
---------
Co-authored-by: Nick Floyd <139819+nickfloyd@users.noreply.github.com>
* #2927: comment id model update to long instead of int
* #2927: code review fixes (1)
* #2927: code review fixes (2)
* #2927: comment id model update to long instead of int: unit tests fix
* #2927: code review fixes
* Fixed most names of parameters
---------
Co-authored-by: Victor Vorobyev <victor@myrtle-sa.com>
Co-authored-by: Brian C. Arnold <brian.arnold@spiderrock.net>
* initial tests and implementation of Copilot for Business client API
* updated billing settings documentation
* renames and refactors - clarity and simplified
* using context to ensure license clean up
* extra documentation and used ApiOptions instead of custom class
* implemented observable clients
* Fixing convention issues
* renaming for clarity
---------
Co-authored-by: Nick Floyd <139819+nickfloyd@users.noreply.github.com>
* update models with updated permission enum
* add suppress message attribute
* update integration tests
* refactor: new and legacy update teams endpint
* refactor: add new delete team endpoint
* use TeamPermission on NewTeam
* use updated delete on team context dispose
* add permission enum for team response object
* refactor: remove legacy suffix from method names
* introduce permissions object on Team
* refactor: rename enum to TeamRepositoryPermission
* fix formatting
* change Permission to string to match api specs
* add TeamRepository
* add CheckTeamPermission endpoint support
* fix convention tests
* update comments on TeamRepository props
* add two new endpoints in TeamsClient
* refactor: rename ApiUrl for TeamPermission
* fix test
* implement methods for new endpoints
* add the integration tests
* fix spelling
* update comments
* refactor: rename method name
* fix: add end tag for remarks
* refactor: remove unused method param
* fix docstring comment
* the unit tests are in finally
* add docs for teams api
* split CheckTeamPermissions into two methods
* Update ObservableTeamsClientTests.cs based on review
Co-authored-by: Keegan Campbell <me@kfcampbell.com>
* add cref to legacy update and delete endpoints
* remove editorconfig file
* Update Octokit.Tests/Clients/TeamsClientTests.cs
Co-authored-by: Keegan Campbell <me@kfcampbell.com>
* remove unused line
* rename variable based on review
* rename prop to match constructor param
* add comment to explain TeamPermission enum values on update
Co-authored-by: notauserx <notauserx@users.noreply.github.com>
Co-authored-by: Keegan Campbell <me@kfcampbell.com>
* Fix API URLs for GHES
Fix leading slashes causing API calls to fail when used with GitHub Enterprise.
* Fix tests
Fix tests that should have been updated in the previous commit.
Co-authored-by: Keegan Campbell <me@kfcampbell.com>
* created the interface and models for the repository secrets client
* created a repository actions client to sit between repository and secrets for future extensibility
* created the repository secret client and supporting objects to enable data transfer
* created object for create or update secret body and made fixes to pass unit tests
* created repository action unit tests
* created unit tests for RepositorySecretsClient
* removed set from secrets interface
* fixed docs and added observable actions client
* added Actions to repository client
* created IObservable repository secrets client
* fixed property in wrong interface
fixed wrong Ctor unit test
* created repository decrets reactive tests and clients
* created organization actions and scerets classes and made them available through the oprganizations client
* fixed intellisense text
* removed uneeded getall call after return type change
* created organization secret client and classes to support it
* created the observable org secrets client and fixed a typo in a method name
* added more ensure checks
* removed unused xml doc setting
* created the unit tests for the organization secrets client
fixed broken unit test for repository secrets client
* created observable organization actions and secrets client unit tests
* added sodium.core to the integration tests to test secret creation
* fixed keyid type
* added actions client integration test classes (empty since the class currently doesn't have any native methods)
* fixed deserialization issue
* changed property name for deserialization issues
* added doc for repoid on orginzation secrets url generator
* created integration tests for repository and organization secrets
* changed how return occurs for setting list of repos for secret
* fixed some names and removed reset org name
* created integration tests for observable org secrets client
* removed default org value
* created the integration tests for the observable repository secrets client
* removed default owner project value
* fixed unit tests
* Update links to new docs site
* Update doc links to new docs site
* Update docs links to new docs site
* Fix doc link to point to new docs site
* Update links to new docs site
* Update doc links to new docs site
* Update docs links
* Update docs
* Update docs
* Update doc links
* Update docs
* Update doc links
* Update doc links
* Update doc links
* updated documentation links in actions and secrets clients
* Update Octokit/Models/Response/SecretsPublicKey.cs
Removing line for consistency.
Co-authored-by: Thomas Hughes <iamhughes@github.com>
* Update Octokit/Models/Response/RepositorySecret.cs
Removing line for consistency.
Co-authored-by: Thomas Hughes <iamhughes@github.com>
* set default owner and repo
* switched to using the Helper.Organization from a ORG constant set at the top of the file
* swapped out variable at top of file for the Helper.Organization property
* switched to helper method to create new repositories
* Protected setters --> private setters in response models
* RepositorySecret needs protected setters
Co-authored-by: Mike Tolly <mike.tolly@takeda.com>
Co-authored-by: Thomas Hughes <iamhughes@github.com>
Co-authored-by: mptolly-takeda <61791994+mptolly-takeda@users.noreply.github.com>