-
Notifications
You must be signed in to change notification settings - Fork 122
/
openapi.yaml
37 lines (37 loc) · 996 Bytes
/
openapi.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
openapi: 3.1.0
info:
title: Semantic Kernel Plugin
description: A plugin that allows the user to call Semantic Kernel Functions.
version: 'v1'
servers:
- url: http://localhost:5050
paths:
/skills/FunSkill/functions/Joke:
post:
operationId: executeJokeFunction
description: |
Execute the joke semantic function; submit the input and style as a JSON object in the payload input, e.g. {"input": "<JokeSubject>", "style": "<JokeStyle>"}
requestBody:
required: True
content:
application/json:
schema:
$ref: '#/components/schemas/executeJokeFunctionRequest'
responses:
"200":
description: OK
content:
text/plain:
schema:
type: string
components:
schemas:
executeJokeFunctionRequest:
type: object
properties:
input:
type: string
style:
type: string
required:
- input