File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ func ListTags(ctx *context.APIContext) {
51
51
func GetTag (ctx * context.APIContext ) {
52
52
// swagger:operation GET /repos/{owner}/{repo}/git/tags/{sha} repository GetTag
53
53
// ---
54
- // summary: Gets the tag of a repository.
54
+ // summary: Gets the tag object of an annotated tag (not lightweight tags)
55
55
// produces:
56
56
// - application/json
57
57
// parameters:
@@ -67,7 +67,7 @@ func GetTag(ctx *context.APIContext) {
67
67
// required: true
68
68
// - name: sha
69
69
// in: path
70
- // description: sha of the tag
70
+ // description: sha of the tag. The Git tags API only supports annotated tag objects, not lightweight tags.
71
71
// type: string
72
72
// required: true
73
73
// responses:
Original file line number Diff line number Diff line change 2166
2166
"tags": [
2167
2167
"repository"
2168
2168
],
2169
- "summary": "Gets the tag of a repository. ",
2169
+ "summary": "Gets the tag object of an annotated tag (not lightweight tags) ",
2170
2170
"operationId": "GetTag",
2171
2171
"parameters": [
2172
2172
{
2185
2185
},
2186
2186
{
2187
2187
"type": "string",
2188
- "description": "sha of the tag",
2188
+ "description": "sha of the tag. The Git tags API only supports annotated tag objects, not lightweight tags. ",
2189
2189
"name": "sha",
2190
2190
"in": "path",
2191
2191
"required": true
You can’t perform that action at this time.
0 commit comments