gitea源码

1234567891011121314151617181920212223
  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. }