Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e314c24

Browse files
committed
x-apidocgen
1 parent eb4ba48 commit e314c24

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

coderd/apidoc/docs.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1205,6 +1205,9 @@ const docTemplate = `{
12051205
"200": {
12061206
"description": "OK"
12071207
}
1208+
},
1209+
"x-apidocgen": {
1210+
"skip": true
12081211
}
12091212
}
12101213
},

coderd/apidoc/swagger.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1041,6 +1041,9 @@
10411041
"200": {
10421042
"description": "OK"
10431043
}
1044+
},
1045+
"x-apidocgen": {
1046+
"skip": true
10441047
}
10451048
}
10461049
},

coderd/workspaceagents.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,7 @@ func (api *API) workspaceAgentMetadata(rw http.ResponseWriter, r *http.Request)
154154
// @Param request body codersdk.PostWorkspaceAgentVersionRequest true "Version request"
155155
// @Success 200
156156
// @Router /workspaceagents/me/version [post]
157+
// @x-apidocgen {"skip": true}
157158
func (api *API) postWorkspaceAgentVersion(rw http.ResponseWriter, r *http.Request) {
158159
ctx := r.Context()
159160
workspaceAgent := httpmw.WorkspaceAgent(r)

0 commit comments

Comments
 (0)