MCPcopy Index your code
hub / github.com/github/docs / CodeSample

Interface CodeSample

components/rest/types.ts:36–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34}
35
36export interface CodeSample {
37 key: string
38 response: {
39 contentType: string
40 description: string
41 example: Record<string, string>
42 statusCode: string
43 }
44 request: {
45 contentType: string
46 acceptHeader: string
47 bodyParameters: Record<string, string>
48 parameters: Record<string, string>
49 description: string
50 }
51}
52
53export interface BodyParameter {
54 in: string

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected