Skip to content

Commit 79285d2

Browse files
committed
Fix: rename Coderd API to Coder API
1 parent a9a62b3 commit 79285d2

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

coderd/apidoc/docs.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -857,7 +857,7 @@ var SwaggerInfo = &swag.Spec{
857857
Host: "",
858858
BasePath: "/api/v2",
859859
Schemes: []string{},
860-
Title: "Coderd API",
860+
Title: "Coder API",
861861
Description: "Coderd is the service created by running coder server. It is a thin API that connects workspaces, provisioners and users. coderd stores its state in Postgres and is the only service that communicates with Postgres.",
862862
InfoInstanceName: "swagger",
863863
SwaggerTemplate: docTemplate,

coderd/apidoc/swagger.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"swagger": "2.0",
33
"info": {
44
"description": "Coderd is the service created by running coder server. It is a thin API that connects workspaces, provisioners and users. coderd stores its state in Postgres and is the only service that communicates with Postgres.",
5-
"title": "Coderd API",
5+
"title": "Coder API",
66
"termsOfService": "https://coder.com/legal/terms-of-service",
77
"contact": {
88
"name": "API Support",

coderd/coderd.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ type Options struct {
117117
HTTPClient *http.Client
118118
}
119119

120-
// @title Coderd API
120+
// @title Coder API
121121
// @version 2.0
122122
// @description Coderd is the service created by running coder server. It is a thin API that connects workspaces, provisioners and users. coderd stores its state in Postgres and is the only service that communicates with Postgres.
123123
// @termsOfService https://coder.com/legal/terms-of-service

docs/api/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Get started with Coderd API:
1+
Get started with Coder API:
22

33
<children>
44
This page is rendered on https://coder.com/docs/coder-oss/api. Refer to the other documents in the `api/` directory.

scripts/apidocgen/postprocess/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import (
1717
const (
1818
apiSubdir = "api"
1919
apiIndexFile = "index.md"
20-
apiIndexContent = `Get started with Coderd API:
20+
apiIndexContent = `Get started with Coder API:
2121
2222
<children>
2323
This page is rendered on https://coder.com/docs/coder-oss/api. Refer to the other documents in the ` + "`" + `api/` + "`" + ` directory.

0 commit comments

Comments
 (0)