diff --git a/os_api_ref/tests/test_basic_example.py b/os_api_ref/tests/test_basic_example.py index dc89bae..20a4fad 100644 --- a/os_api_ref/tests/test_basic_example.py +++ b/os_api_ref/tests/test_basic_example.py @@ -91,7 +91,33 @@ class TestBasicExample(base.TestCase): def test_parameters(self): """Do we get some parameters table""" - table = """
Name |
+In |
+Type |
+Description |
+
---|---|---|---|
name |
+body |
+string |
+The name of things |
+
Code |
+Reason |
+
---|---|
200 - OK |
+Request was successful. |
+
100 - Continue |
+An unusual code for an API |
+
201 - Created |
+Resource was created and is ready to use. |
+
Code |
+Reason |
+
---|---|
405 - Method Not Allowed |
+Method is not valid for this endpoint. |
+
403 - Forbidden |
+Policy does not allow current user to do this operation. |
+
401 - Unauthorized |
+User must authenticate before making a request |
+
400 - Bad Request |
+Some content in the request was invalid |
+
500 - Internal Server Error |
+Something went wrong inside the service. |
+
409 - Conflict |
+There is already a zone with this name. |
+
Name |
+In |
+Type |
+Description |
+
---|---|---|---|
name |
+body |
+string |
+The name of things |
+
name2 |
+body |
+string |
+The name of things +New in version 2.11 + |
+
name3 |
+body |
+string |
+The name of things +Available until version 2.20 + |
+