nova/nova/api/openstack/compute/schemas
Takashi NATSUME 7b216e08cf Retrun 400 if invalid query parameters are specified
The following APIs return 500 error currently
if an invalid sort key or an invalid sort direction
query parameter is specified.

- GET /flavors
- GET /flavors/detail

Make the APIs return 400 error in that case.

Change-Id: I1d6d2c1f734b28dbea5c67cf88717149dd4911d7
Closes-Bug: #1835925
(cherry picked from commit ae7ebdf45e)
(cherry picked from commit d7e4e47d57)
2019-08-13 08:53:14 +09:00
..
__init__.py Add API input validation framework 2013-11-27 05:45:37 +09:00
admin_password.py Remove 'v3' directory for v2.1 json-schemas 2015-08-13 09:58:48 +08:00
agents.py Implement query param schema for agent index 2017-09-24 15:05:13 +00:00
aggregates.py fix nova accepting invalid availability zone name with ':' 2017-09-24 15:12:43 +09:00
assisted_volume_snapshots.py Implement query param schema for delete assisted vol 2017-11-27 10:27:52 -05:00
attach_interfaces.py API support for tagged device attachment 2017-06-30 09:05:34 +03:00
cells.py Fixed typos in nova, nova/api, nova/cells directory 2016-08-01 07:14:04 +00:00
console_output.py Remove 'v3' directory for v2.1 json-schemas 2015-08-13 09:58:48 +08:00
create_backup.py Let schema validate image metadata type and key lengths 2016-09-27 17:41:15 -04:00
evacuate.py API change for verifying the scheduler when evacuating 2016-06-02 15:03:39 +02:00
flavor_access.py Remove 'v3' directory for v2.1 json-schemas 2015-08-13 09:58:48 +08:00
flavor_manage.py Use hard coded values in schema than reference 2018-07-11 01:34:46 +00:00
flavors.py Retrun 400 if invalid query parameters are specified 2019-08-13 08:53:14 +09:00
flavors_extraspecs.py Remove 'v3' directory for v2.1 json-schemas 2015-08-13 09:58:48 +08:00
floating_ips.py Remove 'v3' directory for v2.1 json-schemas 2015-08-13 09:58:48 +08:00
hosts.py Implement query param schema for host index 2017-10-21 01:13:17 +00:00
hypervisors.py Implement query param schema for GET hypervisor(2.33) 2017-09-26 11:48:49 +03:00
image_metadata.py Remove 'v3' directory for v2.1 json-schemas 2015-08-13 09:58:48 +08:00
instance_actions.py Add pagination and changes-since for instance-actions 2017-12-14 07:42:17 +00:00
keypairs.py Merge server create schema for keypair extension 2018-06-27 14:06:10 +00:00
limits.py check query param for used_limits function 2017-10-30 17:31:16 +08:00
migrate_server.py Enable cold migration with target host(2/2) 2017-11-29 20:48:16 -05:00
migrations.py Add pagination and Changes-since filter support for os-migrations. 2018-01-10 14:02:53 -05:00
multinic.py Remove 'v3' directory for v2.1 json-schemas 2015-08-13 09:58:48 +08:00
networks.py Limit the min length of string for integer JSON-Schema 2017-05-27 10:14:28 +00:00
networks_associate.py Remove 'v3' directory for v2.1 json-schemas 2015-08-13 09:58:48 +08:00
quota_classes.py Deprecate file injection 2017-12-12 09:22:21 -05:00
quota_sets.py Use hard coded values in schema than reference 2018-07-11 01:34:46 +00:00
remote_consoles.py Explicitly define enum type as string in schema 2017-04-21 03:09:28 +00:00
rescue.py Strict ImageRef validation to UUID only 2016-08-04 02:22:15 +00:00
reset_server_state.py Remove 'v3' directory for v2.1 json-schemas 2015-08-13 09:58:48 +08:00
security_groups.py Merge server create schema for security group extension 2018-06-27 17:33:28 +03:00
server_external_events.py Add ability to signal and perform online volume size change 2017-07-12 11:53:20 -04:00
server_groups.py Microversion 2.64 - Use new format policy in server group 2018-07-13 10:43:42 +08:00
server_metadata.py Remove 'v3' directory for v2.1 json-schemas 2015-08-13 09:58:48 +08:00
server_migrations.py Add new API to force live migration to complete 2016-02-08 08:59:52 +01:00
server_tags.py Move tags validation code to json schema 2016-12-13 02:58:51 +00:00
servers.py Merge server create schema for user data extension 2018-06-27 18:03:18 +03:00
services.py check query param for service's index function 2017-09-24 05:55:15 +08:00
simple_tenant_usage.py Implement query param schema for simple_tenant_usage 2017-11-22 19:46:32 +00:00
tenant_networks.py Limit the min length of string for integer JSON-Schema 2017-05-27 10:14:28 +00:00
volumes.py Implement query param schema for volume, snapshot API 2017-11-19 16:15:39 +03:00