robotframework-openapitools 0.1.2__py3-none-any.whl → 0.1.3__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- OpenApiDriver/openapi_executors.py +748 -744
- OpenApiDriver/openapidriver.libspec +2 -2
- OpenApiLibCore/openapi_libcore.libspec +14 -14
- OpenApiLibCore/openapi_libcore.py +1525 -1512
- {robotframework_openapitools-0.1.2.dist-info → robotframework_openapitools-0.1.3.dist-info}/METADATA +1 -1
- {robotframework_openapitools-0.1.2.dist-info → robotframework_openapitools-0.1.3.dist-info}/RECORD +8 -8
- {robotframework_openapitools-0.1.2.dist-info → robotframework_openapitools-0.1.3.dist-info}/LICENSE +0 -0
- {robotframework_openapitools-0.1.2.dist-info → robotframework_openapitools-0.1.3.dist-info}/WHEEL +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
-
<keywordspec name="OpenApiDriver" type="LIBRARY" format="HTML" scope="SUITE" generated="2024-
|
3
|
-
<version>0.1.
|
2
|
+
<keywordspec name="OpenApiDriver" type="LIBRARY" format="HTML" scope="SUITE" generated="2024-04-05T14:47:49+00:00" specversion="5" source="/workspaces/robotframework-openapitools/src/OpenApiDriver/openapidriver.py" lineno="352">
|
3
|
+
<version>0.1.3</version>
|
4
4
|
<doc><p>Visit the <a href="https://github.com/MarketSquare/robotframework-openapidriver">library page</a> for an introduction and examples.</p></doc>
|
5
5
|
<tags>
|
6
6
|
</tags>
|
@@ -1,6 +1,6 @@
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
-
<keywordspec name="OpenApiLibCore" type="LIBRARY" format="HTML" scope="SUITE" generated="2024-
|
3
|
-
<version>0.1.
|
2
|
+
<keywordspec name="OpenApiLibCore" type="LIBRARY" format="HTML" scope="SUITE" generated="2024-04-05T14:47:48+00:00" specversion="5" source="/workspaces/robotframework-openapitools/src/OpenApiLibCore/openapi_libcore.py" lineno="377">
|
3
|
+
<version>0.1.3</version>
|
4
4
|
<doc><p>Main class providing the keywords and core logic to interact with an OpenAPI server.</p>
|
5
5
|
<p>Visit the <a href="https://github.com/MarketSquare/robotframework-openapi-libcore">library page</a> for an introduction.</p></doc>
|
6
6
|
<tags>
|
@@ -144,7 +144,7 @@
|
|
144
144
|
</init>
|
145
145
|
</inits>
|
146
146
|
<keywords>
|
147
|
-
<kw name="Authorized Request" lineno="
|
147
|
+
<kw name="Authorized Request" lineno="1490">
|
148
148
|
<arguments repr="url: str, method: str, params: Dict[str, Any] | None = None, headers: Dict[str, str] | None = None, json_data: Dict[str, Dict[str, ForwardRef('JSON')] | List[ForwardRef('JSON')] | str | int | float | bool | None] | List[Dict[str, ForwardRef('JSON')] | List[ForwardRef('JSON')] | str | int | float | bool | None] | str | int | float | bool | None = None">
|
149
149
|
<arg kind="POSITIONAL_OR_NAMED" required="true" repr="url: str">
|
150
150
|
<name>url</name>
|
@@ -174,7 +174,7 @@
|
|
174
174
|
<p>&gt; Note: provided username / password or auth objects take precedence over token based security</p></doc>
|
175
175
|
<shortdoc>Perform a request using the security token or authentication set in the library.</shortdoc>
|
176
176
|
</kw>
|
177
|
-
<kw name="Ensure In Use" lineno="
|
177
|
+
<kw name="Ensure In Use" lineno="1394">
|
178
178
|
<arguments repr="url: str, resource_relation: IdReference">
|
179
179
|
<arg kind="POSITIONAL_OR_NAMED" required="true" repr="url: str">
|
180
180
|
<name>url</name>
|
@@ -188,7 +188,7 @@
|
|
188
188
|
<doc><p>Ensure that the (right-most) <span class="name">id</span> of the resource referenced by the <span class="name">url</span> is used by the resource defined by the <span class="name">resource_relation</span>.</p></doc>
|
189
189
|
<shortdoc>Ensure that the (right-most) `id` of the resource referenced by the `url` is used by the resource defined by the `resource_relation`.</shortdoc>
|
190
190
|
</kw>
|
191
|
-
<kw name="Get Ids From Url" lineno="
|
191
|
+
<kw name="Get Ids From Url" lineno="783">
|
192
192
|
<arguments repr="url: str">
|
193
193
|
<arg kind="POSITIONAL_OR_NAMED" required="true" repr="url: str">
|
194
194
|
<name>url</name>
|
@@ -198,7 +198,7 @@
|
|
198
198
|
<doc><p>Perform a GET request on the <span class="name">url</span> and return the list of resource <span class="name">ids</span> from the response.</p></doc>
|
199
199
|
<shortdoc>Perform a GET request on the `url` and return the list of resource `ids` from the response.</shortdoc>
|
200
200
|
</kw>
|
201
|
-
<kw name="Get Invalid Json Data" lineno="
|
201
|
+
<kw name="Get Invalid Json Data" lineno="1171">
|
202
202
|
<arguments repr="url: str, method: str, status_code: int, request_data: RequestData">
|
203
203
|
<arg kind="POSITIONAL_OR_NAMED" required="true" repr="url: str">
|
204
204
|
<name>url</name>
|
@@ -221,7 +221,7 @@
|
|
221
221
|
<p>&gt; Note: applicable UniquePropertyValueConstraint and IdReference Relations are considered before changes to <span class="name">json_data</span> are made.</p></doc>
|
222
222
|
<shortdoc>Return `json_data` based on the `dto` on the `request_data` that will cause the provided `status_code` for the `method` operation on the `url`.</shortdoc>
|
223
223
|
</kw>
|
224
|
-
<kw name="Get Invalidated Parameters" lineno="
|
224
|
+
<kw name="Get Invalidated Parameters" lineno="1219">
|
225
225
|
<arguments repr="status_code: int, request_data: RequestData">
|
226
226
|
<arg kind="POSITIONAL_OR_NAMED" required="true" repr="status_code: int">
|
227
227
|
<name>status_code</name>
|
@@ -235,7 +235,7 @@
|
|
235
235
|
<doc><p>Returns a version of <span class="name">params, headers</span> as present on <span class="name">request_data</span> that has been modified to cause the provided <span class="name">status_code</span>.</p></doc>
|
236
236
|
<shortdoc>Returns a version of `params, headers` as present on `request_data` that has been modified to cause the provided `status_code`.</shortdoc>
|
237
237
|
</kw>
|
238
|
-
<kw name="Get Invalidated Url" lineno="
|
238
|
+
<kw name="Get Invalidated Url" lineno="1137">
|
239
239
|
<arguments repr="valid_url: str">
|
240
240
|
<arg kind="POSITIONAL_OR_NAMED" required="true" repr="valid_url: str">
|
241
241
|
<name>valid_url</name>
|
@@ -246,7 +246,7 @@
|
|
246
246
|
<p>Raises ValueError if the valid_url cannot be invalidated.</p></doc>
|
247
247
|
<shortdoc>Return an url with all the path parameters in the `valid_url` replaced by a random UUID.</shortdoc>
|
248
248
|
</kw>
|
249
|
-
<kw name="Get Json Data For Dto Class" lineno="
|
249
|
+
<kw name="Get Json Data For Dto Class" lineno="1031">
|
250
250
|
<arguments repr="schema: Dict[str, Any], dto_class: Dto | Type[Dto], operation_id: str = ">
|
251
251
|
<arg kind="POSITIONAL_OR_NAMED" required="true" repr="schema: Dict[str, Any]">
|
252
252
|
<name>schema</name>
|
@@ -265,7 +265,7 @@
|
|
265
265
|
<doc><p>Generate a valid (json-compatible) dict for all the <span class="name">dto_class</span> properties.</p></doc>
|
266
266
|
<shortdoc>Generate a valid (json-compatible) dict for all the `dto_class` properties.</shortdoc>
|
267
267
|
</kw>
|
268
|
-
<kw name="Get Json Data With Conflict" lineno="
|
268
|
+
<kw name="Get Json Data With Conflict" lineno="1438">
|
269
269
|
<arguments repr="url: str, method: str, dto: Dto, conflict_status_code: int">
|
270
270
|
<arg kind="POSITIONAL_OR_NAMED" required="true" repr="url: str">
|
271
271
|
<name>url</name>
|
@@ -287,7 +287,7 @@
|
|
287
287
|
<doc><p>Return <span class="name">json_data</span> based on the <span class="name">UniquePropertyValueConstraint</span> that must be returned by the <span class="name">get_relations</span> implementation on the <span class="name">dto</span> for the given <span class="name">conflict_status_code</span>.</p></doc>
|
288
288
|
<shortdoc>Return `json_data` based on the `UniquePropertyValueConstraint` that must be returned by the `get_relations` implementation on the `dto` for the given `conflict_status_code`.</shortdoc>
|
289
289
|
</kw>
|
290
|
-
<kw name="Get Parameterized Endpoint From Url" lineno="
|
290
|
+
<kw name="Get Parameterized Endpoint From Url" lineno="1159">
|
291
291
|
<arguments repr="url: str">
|
292
292
|
<arg kind="POSITIONAL_OR_NAMED" required="true" repr="url: str">
|
293
293
|
<name>url</name>
|
@@ -297,7 +297,7 @@
|
|
297
297
|
<doc><p>Return the endpoint as found in the <span class="name">paths</span> section based on the given <span class="name">url</span>.</p></doc>
|
298
298
|
<shortdoc>Return the endpoint as found in the `paths` section based on the given `url`.</shortdoc>
|
299
299
|
</kw>
|
300
|
-
<kw name="Get Request Data" lineno="
|
300
|
+
<kw name="Get Request Data" lineno="823">
|
301
301
|
<arguments repr="endpoint: str, method: str">
|
302
302
|
<arg kind="POSITIONAL_OR_NAMED" required="true" repr="endpoint: str">
|
303
303
|
<name>endpoint</name>
|
@@ -311,7 +311,7 @@
|
|
311
311
|
<doc><p>Return an object with valid request data for body, headers and query params.</p></doc>
|
312
312
|
<shortdoc>Return an object with valid request data for body, headers and query params.</shortdoc>
|
313
313
|
</kw>
|
314
|
-
<kw name="Get Valid Id For Endpoint" lineno="
|
314
|
+
<kw name="Get Valid Id For Endpoint" lineno="687">
|
315
315
|
<arguments repr="endpoint: str, method: str">
|
316
316
|
<arg kind="POSITIONAL_OR_NAMED" required="true" repr="endpoint: str">
|
317
317
|
<name>endpoint</name>
|
@@ -326,7 +326,7 @@
|
|
326
326
|
<p>To prevent resource conflicts with other test cases, a new resource is created (POST) if possible.</p></doc>
|
327
327
|
<shortdoc>Support keyword that returns the `id` for an existing resource at `endpoint`.</shortdoc>
|
328
328
|
</kw>
|
329
|
-
<kw name="Get Valid Url" lineno="
|
329
|
+
<kw name="Get Valid Url" lineno="647">
|
330
330
|
<arguments repr="endpoint: str, method: str">
|
331
331
|
<arg kind="POSITIONAL_OR_NAMED" required="true" repr="endpoint: str">
|
332
332
|
<name>endpoint</name>
|