Skip to content

Commit 2d4ebcd

Browse files
committed
Tweaks
- Name "Sourcegraph REST API" - Path `api/openapi` - Script `pnpm openapi:watch` - Load OpenAPI spec from the repo
1 parent 311d81b commit 2d4ebcd

File tree

8 files changed

+394
-19
lines changed

8 files changed

+394
-19
lines changed

docs/api/index.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ Sourcegraph exposes the following APIs:
44

55
- [Sourcegraph GraphQL API](/api/graphql/), for accessing data stored or computed by Sourcegraph
66
- [Sourcegraph Stream API](/api/stream_api/), for consuming search results as a stream of events
7+
- [Sourcegraph REST API](/api/openapi/), to explore the work-in-progress Cody API

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
"dev": "next dev",
77
"build": "next build",
88
"start": "next start",
9-
"lint": "next lint"
9+
"lint": "next lint",
10+
"openapi:watch": "./scripts/openapi-watch.sh"
1011
},
1112
"browserslist": "defaults, not ie <= 11",
1213
"dependencies": {

0 commit comments

Comments
 (0)