vao_ha_integration/swagger/vao.json

100 lines
2.4 KiB
JSON

swagger: "2.0"
info:
description: "Mit diesem Werkzeug können Sie den gültigen Aufbau von Anfragen als auch Antworten der jeweiligen Schnittstellen in ihren Versionen validieren lassen. Der Validator kann ihnen dann versichern, dass Ihr Request korrekt formuliert wurde. Ein Dienst der Verkehrauskunft Österreich VAO GmbH."
version: "0.0.2"
title: "VAO Validator"
termsOfService: "https://www.verkehrsauskunft.at/"
contact:
email: "support@verkehrsauskunft.at"
host: "validate-st.verkehrsauskunft.at"
basePath: "/"
tags:
- name: "ojp"
description: "OJP"
externalDocs:
description: "OJP"
url: "https://ojp4danube.hbit.sztaki.hu/"
- name: "vaorest"
description: "VAO REST API"
externalDocs:
description: "Die Verkehrsauskunft Österreich VAO"
url: "https://www.verkehrsauskunft.at"
schemes:
- "https"
paths:
/ojp/:
post:
tags:
- "ojp"
summary: "Add a new pet to the store"
description: ""
consumes:
- "application/xml"
produces:
- "text/plain"
parameters:
- in: "body"
name: "body"
description: "Pet object that needs to be added to the store"
required: true
schema:
$ref: "#/definitions/Pet"
responses:
"200":
description: "Perfekt"
"500":
description: "Fehlerhaft"
/vaorest/:
post:
tags:
- "vaorest"
summary: "Add a new pet to the store"
description: ""
consumes:
- "application/xml"
produces:
- "text/plain"
parameters:
- in: "body"
name: "body"
description: "Pet object that needs to be added to the store"
required: true
schema:
$ref: "#/definitions/Pet"
responses:
"200":
description: "Perfekt"
"500":
description: "Fehlerhaft"
definitions:
Pet:
type: "object"
required:
- "name"
- "photoUrls"
properties:
id:
type: "integer"
format: "int64"
name:
type: "string"
example: "doggie"
photoUrls:
type: "array"
xml:
name: "photoUrl"
wrapped: true
items:
type: "string"
status:
type: "string"
description: "pet status in the store"
enum:
- "available"
- "pending"
- "sold"
xml:
name: "OJP"
externalDocs:
description: "Find out more about Swagger"
url: "http://swagger.io"