File tree Expand file tree Collapse file tree
fern/products/docs/pages/component-library/default-components Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,43 +16,6 @@ The `<RunnableEndpoint>` component lets users make real HTTP requests to your AP
1616< RunnableEndpoint endpoint= " POST /chat/{domain}" / >
1717```
1818
19- ## Reference particular examples
20-
21- <Steps >
22- ### Set the example name in your spec
23-
24- ``` yaml openapi.yml {12}
25- paths :
26- /pet :
27- put :
28- summary : Update an existing pet
29- operationId : pets_update
30- requestBody :
31- content :
32- application/json :
33- schema :
34- $ref : ' #/components/schemas/Pet'
35- examples :
36- ExampleWithMarkley :
37- value :
38- name : Markley
39- id : 44
40- ` ` `
41-
42- ### Directly reference the example
43-
44- ` ` ` jsx Markdown {3}
45- <RunnableEndpoint
46- endpoint="PUT /pet"
47- example="ExampleWithMarkley"
48- />
49- ```
50-
51- <Note title = " Referencing examples" >
52- If the example includes a ` summary ` or ` docs ` field, use that for the ` example ` prop. If no summary is set, use the example name.
53- </Note >
54- </Steps >
55-
5619## Variants
5720
5821### Collapse by default
You can’t perform that action at this time.
0 commit comments