Skip to content
This repository has been archived by the owner on Nov 8, 2022. It is now read-only.

Commit

Permalink
Merge pull request #144 from jbatalle/master
Browse files Browse the repository at this point in the history
Fix swagger
  • Loading branch information
jbatalle authored Feb 6, 2017
2 parents 2cc58ab + ebe2396 commit 5b8df84
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
OPENSTACK_HOST="88.88.88.88"
TENOR_URL="http://localhost:4000"
TENOR_URL="http://127.0.0.1:4000"
OPENSTACK_USER="admin"
OPENSTACK_PASS="adminpass"
OPENSTACK_TENANT_NAME="admin"
Expand Down
35 changes: 28 additions & 7 deletions doc/swagger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -524,11 +524,11 @@ paths:
description: token response
schema:
properties:
uid:
uid:
type: string
token:
token:
type: string
expires_at:
expires_at:
type: string
default:
description: unexpected error
Expand Down Expand Up @@ -745,7 +745,7 @@ paths:
$ref: '#/definitions/Error'

definitions:

Dc:
required:
- id
Expand Down Expand Up @@ -784,6 +784,8 @@ definitions:
type: string
depends_on:
type: array
items:
type: string
status:
type: string

Expand Down Expand Up @@ -869,9 +871,11 @@ definitions:
type: string
depends_on:
type: array
items:
type: string
status:
type: string

NewNsInstance:
required:
- ns_id
Expand All @@ -893,7 +897,7 @@ definitions:
type: string
mapping_id:
type: string

Vnfr:
required:
- id
Expand All @@ -911,36 +915,54 @@ definitions:
type: string
vlr_instances:
type: array
items:
type: string
port_instances:
type: array
items:
type: string
vnf_addresses:
type: object
vnf_status:
type: string
notifications:
type: array
items:
type: string
lifecycle_event_history:
type: array
items:
type: string
audit_log:
type: array
items:
type: string
stack_url:
type: string
vms_id:
type: object
vms:
type: array
items:
type: string
scale_info:
type: object
scale_resources:
type: array
items:
type: string
outputs:
type: array
items:
type: string
lifecycle_info:
type: object
lifecycle_events_values:
type: object
vdu:
type: array
items:
type: string
security_group_id:
type: string
public_network_id:
Expand All @@ -958,4 +980,3 @@ definitions:
format: int32
message:
type: string

0 comments on commit 5b8df84

Please sign in to comment.