coder / coder/internal

Spec out API response for get modules endpoint

オープン
#413 コメント 0 件 リアクション 0 件 担当者 2 名 @bcpeinhardt が担当を希望しています GitHub で見る
主要言語
言語のデータがありません
スター
3
フォーク
0
PR マージ指標
30日以内にマージされた PR はありません

説明

Example:
```
display_name: code-server
description: VS Code in the browser
icon: ../.icons/code.svg
maintainer_github: coder
verified: true
tags: [helper, ide, web]
```

```
// generated source code
type ModuleData struct {
Name string
CodeSnippet string
}

var APIResponses = []ModuleData{
{
Name: "hey",
CodeSnippet: "my code",
},
}

// normal source code
func (s Server) listModules() {
api.Write(APIResponses)
}
```

Plus the code snippet data from https://github.com/coder/internal/issues/412

This should be a shared struct that will both be used when parsing readmes and will be served from the API.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。