aboutsummaryrefslogtreecommitdiff
path: root/schemas/openapi.yaml
diff options
context:
space:
mode:
authorbozo.kopic <bozo@kopic.xyz>2022-06-26 17:28:49 +0200
committerbozo.kopic <bozo@kopic.xyz>2022-06-26 17:28:49 +0200
commit75cc60fd42c58cadc28f5eb4499f197604254aba (patch)
tree48513c9c59dd24207100fc2cf2c3118c8145dd72 /schemas/openapi.yaml
parent7ae36a21d031c3d71e9015823c61380f88b0595d (diff)
WIP native implementation
Diffstat (limited to 'schemas/openapi.yaml')
-rw-r--r--schemas/openapi.yaml13
1 files changed, 5 insertions, 8 deletions
diff --git a/schemas/openapi.yaml b/schemas/openapi.yaml
index 442f685..e459030 100644
--- a/schemas/openapi.yaml
+++ b/schemas/openapi.yaml
@@ -2,16 +2,11 @@
openapi: 3.1.0
info:
title: opcut
- version: 0.0.1
+ version: 0.0.2
paths:
'/calculate':
post:
parameters:
- - name: native
- in: query
- required: false
- schema:
- type: boolean
- name: method
in: query
required: true
@@ -19,6 +14,8 @@ paths:
enum:
- greedy
- forward_greedy
+ - greedy_native
+ - forward_greedy_native
requestBody:
content:
application/json:
@@ -34,10 +31,10 @@ paths:
content:
text/plain:
description: error message
- '/generate_output':
+ '/generate':
post:
parameters:
- - name: output_type
+ - name: output_format
in: query
required: true
schema: