Merge "api-ref: mark id as optional in POST /flavors"

This commit is contained in:
Jenkins 2017-02-14 09:22:31 +00:00 committed by Gerrit Code Review
commit 159bf6e4e4
2 changed files with 8 additions and 1 deletions

@ -74,7 +74,7 @@ Request
- flavor: flavor
- name: flavor_name
- id: flavor_id_body
- id: flavor_id_body_create
- ram: flavor_ram
- disk: flavor_disk
- vcpus: flavor_cpus

@ -1914,6 +1914,13 @@ flavor_id_body:
in: body
required: true
type: string
flavor_id_body_create:
description: |
The ID of the flavor. While people often make this look like an int, this
is really a string. If not provided, this defaults to a uuid.
in: body
required: false
type: string
flavor_is_public:
description: |
Whether the flavor is public (available to all projects) or scoped