Commit ee35c8b9 authored by Djilo Cyrille's avatar Djilo Cyrille
Browse files

add swagger directory + swagger yaml file

parent 51dfeb6e
Pipeline #70356 passed with stages
in 8 minutes and 27 seconds
swagger: "2.0"
info:
description: "This is a sample API documentation for Intentfinder application "
version: "1.0"
title: "Intent Finder"
termsOfService: "https://code.fbi.h-da.de/pse-trapp-public/intentfinder"
contact:
email: "djilocyrille@gmail.com"
license:
name: "Apache 2.0"
url: "http://www.apache.org/licenses/LICENSE-2.0.html"
host: "localhost:8080"
basePath: "/"
schemes:
- "http"
paths:
/:
get:
tags:
- "default"
summary: "View the root path"
description: ""
operationId: "rootId"
produces:
- "application/json"
responses:
"405":
description: "Invalid input"
/summary:
get:
summary: "View Summary"
description: ""
operationId: "summaryId"
produces:
- "application/json"
responses:
"405":
description: "Invalid input"
/file:
post:
summary: "upload a docx file"
description: ""
operationId: "updatePetWithForm"
consumes:
- "multipart/form-data"
produces:
- "application/json"
responses:
"405":
description: "Invalid input"
externalDocs:
description: "Find out more about Swagger"
url: "http://swagger.io"
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment