Commit 505fa987 authored by Spiros Koulouzis's avatar Spiros Koulouzis

added openAPI model definitions

parent 5d6f23dd
definitions:
User:
type: "object"
properties:
id:
type: "integer"
format: "int64"
username:
type: "string"
firstName:
type: "string"
lastName:
type: "string"
email:
type: "string"
password:
type: "string"
userStatus:
type: "integer"
format: "int32"
description: "User Status"
ToscaTemplate:
type: "object"
properties:
tosca_definitions_version:
type: "string"
tosca_default_namespace:
type: "string"
template_name:
type: "string"
imports:
type: "array"
items:
type: object
additionalProperties:
type: string
repositories:
type: object
additionalProperties:
type: string
dsl_definitions:
type: object
additionalProperties:
type: string
node_types:
type: object
additionalProperties:
type: object
topology_template:
$ref: "#/definitions/TopologyTemplate"
relationship_types:
type: object
additionalProperties:
type: object
relationship_templates:
type: object
additionalProperties:
type: object
capability_types:
type: object
additionalProperties:
type: object
artifact_types:
type: object
additionalProperties:
type: object
data_types:
type: object
additionalProperties:
type: object
interface_types:
type: object
additionalProperties:
type: object
policy_types:
type: object
additionalProperties:
type: string
group_types:
type: object
additionalProperties:
type: object
description:
type: "string"
template_author:
type: "string"
TopologyTemplate:
type: "object"
properties:
description:
type: "string"
inputs:
type: "array"
items:
type: object
additionalProperties:
type: object
policies:
type: "array"
items:
type: object
additionalProperties:
type: object
outputs:
type: "array"
items:
type: object
additionalProperties:
type: object
node_templates:
type: object
additionalProperties:
$ref: '#/definitions/NodeTemplate'
relationship_templates:
type: object
additionalProperties:
type: object
groups:
type: object
additionalProperties:
type: object
substitution_mappings:
type: object
additionalProperties:
type: object
NodeTemplate:
type: "object"
properties:
name:
type: "string"
type:
type: "string"
requirements:
type: "array"
items:
type: object
additionalProperties:
type: object
artifacts:
type: object
additionalProperties:
type: object
properties:
type: object
additionalProperties:
type: object
interfaces:
type: object
additionalProperties:
type: object
capabilities:
type: object
additionalProperties:
type: object
workflows:
type: object
additionalProperties:
type: object
Credentials:
type: "object"
properties:
protocol:
type: "string"
token_type:
type: "string"
token:
type: "string"
keys:
type: object
additionalProperties:
type: string
user:
type: "string"
cloud_provider_name:
type: "string"
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