You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12345678910111213141516171819202122
  1. // Copyright 2020 The Gitea Authors. All rights reserved.
  2. // SPDX-License-Identifier: MIT
  3. package swagger
  4. import (
  5. api "code.gitea.io/gitea/modules/structs"
  6. )
  7. // OAuth2Application
  8. // swagger:response OAuth2Application
  9. type swaggerResponseOAuth2Application struct {
  10. // in:body
  11. Body api.OAuth2Application `json:"body"`
  12. }
  13. // AccessToken represents an API access token.
  14. // swagger:response AccessToken
  15. type swaggerResponseAccessToken struct {
  16. // in:body
  17. Body api.AccessToken `json:"body"`
  18. }