Skip to content

Commit 07079f5

Browse files
committed
Start using openapi generator v7.12.0
1 parent bd75e06 commit 07079f5

23 files changed

+46
-112
lines changed

.github/workflows/python.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@ jobs:
2828
pip install -r test-requirements.txt
2929
- name: Test with pytest
3030
run: |
31-
pytest --cov={{packageName}}
31+
pytest --cov=mosquito_alert

.openapi-generator/VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
7.10.0
1+
7.12.0

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ Introducing API v1 for Mosquito Alert platform, a project desgined to facilitate
44
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
55

66
- API version: v1
7-
- Package version: 0.1.0
8-
- Generator version: 7.10.0
7+
- Package version: 0.1.2
8+
- Generator version: 7.12.0
99
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
1010

1111
## Requirements.

docs/AuthApi.md

+6-13
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ Method | HTTP request | Description
1414
# **change_password**
1515
> change_password(password_change_request)
1616
17-
18-
1917
### Example
2018

2119
* Bearer (JWT) Authentication (jwtAuth):
@@ -91,9 +89,8 @@ void (empty response body)
9189
# **obtain_token**
9290
> AppUserTokenObtainPair obtain_token(app_user_token_obtain_pair_request)
9391
94-
95-
96-
Takes a set of user credentials and returns an access and refresh JSON web token pair to prove the authentication of those credentials.
92+
Takes a set of user credentials and returns an access and refresh JSON web
93+
token pair to prove the authentication of those credentials.
9794

9895
### Example
9996

@@ -162,9 +159,8 @@ No authorization required
162159
# **refresh_token**
163160
> TokenRefresh refresh_token(token_refresh_request)
164161
165-
166-
167-
Takes a refresh type JSON web token and returns an access type JSON web token if the refresh token is valid.
162+
Takes a refresh type JSON web token and returns an access type JSON web
163+
token if the refresh token is valid.
168164

169165
### Example
170166

@@ -233,8 +229,6 @@ No authorization required
233229
# **signup_guest**
234230
> GuestRegistration signup_guest(guest_registration_request)
235231
236-
237-
238232
### Example
239233

240234

@@ -301,9 +295,8 @@ No authorization required
301295
# **verify_token**
302296
> verify_token(token_verify_request)
303297
304-
305-
306-
Takes a token and indicates if it is valid. This view provides no information about a token's fitness for a particular use.
298+
Takes a token and indicates if it is valid. This view provides no
299+
information about a token's fitness for a particular use.
307300

308301
### Example
309302

docs/BitesApi.md

-10
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ Method | HTTP request | Description
1414
# **create**
1515
> Bite create(bite_request)
1616
17-
18-
1917
### Example
2018

2119
* Api Key Authentication (cookieAuth):
@@ -108,8 +106,6 @@ Name | Type | Description | Notes
108106
# **destroy**
109107
> destroy(uuid)
110108
111-
112-
113109
### Example
114110

115111
* Api Key Authentication (cookieAuth):
@@ -197,8 +193,6 @@ void (empty response body)
197193
# **list**
198194
> PaginatedBiteList list(created_at_after=created_at_after, created_at_before=created_at_before, location_country_id=location_country_id, location_nuts_2=location_nuts_2, location_nuts_3=location_nuts_3, order_by=order_by, page=page, page_size=page_size, received_at_after=received_at_after, received_at_before=received_at_before, short_id=short_id, updated_at_after=updated_at_after, updated_at_before=updated_at_before, user_uuid=user_uuid)
199195
200-
201-
202196
### Example
203197

204198
* Api Key Authentication (cookieAuth):
@@ -315,8 +309,6 @@ Name | Type | Description | Notes
315309
# **list_mine**
316310
> PaginatedBiteList list_mine(created_at_after=created_at_after, created_at_before=created_at_before, location_country_id=location_country_id, location_nuts_2=location_nuts_2, location_nuts_3=location_nuts_3, order_by=order_by, page=page, page_size=page_size, received_at_after=received_at_after, received_at_before=received_at_before, short_id=short_id, updated_at_after=updated_at_after, updated_at_before=updated_at_before, user_uuid=user_uuid)
317311
318-
319-
320312
Get Current User's Bites
321313

322314
### Example
@@ -422,8 +414,6 @@ Name | Type | Description | Notes
422414
# **retrieve**
423415
> Bite retrieve(uuid)
424416
425-
426-
427417
### Example
428418

429419
* Api Key Authentication (cookieAuth):

docs/BreedingSitesApi.md

-10
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ Method | HTTP request | Description
1414
# **create**
1515
> BreedingSite create(breeding_site_request)
1616
17-
18-
1917
### Example
2018

2119
* Api Key Authentication (cookieAuth):
@@ -108,8 +106,6 @@ Name | Type | Description | Notes
108106
# **destroy**
109107
> destroy(uuid)
110108
111-
112-
113109
### Example
114110

115111
* Api Key Authentication (cookieAuth):
@@ -197,8 +193,6 @@ void (empty response body)
197193
# **list**
198194
> PaginatedBreedingSiteList list(created_at_after=created_at_after, created_at_before=created_at_before, has_photos=has_photos, location_country_id=location_country_id, location_nuts_2=location_nuts_2, location_nuts_3=location_nuts_3, order_by=order_by, page=page, page_size=page_size, received_at_after=received_at_after, received_at_before=received_at_before, short_id=short_id, updated_at_after=updated_at_after, updated_at_before=updated_at_before, user_uuid=user_uuid)
199195
200-
201-
202196
### Example
203197

204198
* Api Key Authentication (cookieAuth):
@@ -317,8 +311,6 @@ Name | Type | Description | Notes
317311
# **list_mine**
318312
> PaginatedBreedingSiteList list_mine(created_at_after=created_at_after, created_at_before=created_at_before, has_photos=has_photos, location_country_id=location_country_id, location_nuts_2=location_nuts_2, location_nuts_3=location_nuts_3, order_by=order_by, page=page, page_size=page_size, received_at_after=received_at_after, received_at_before=received_at_before, short_id=short_id, updated_at_after=updated_at_after, updated_at_before=updated_at_before, user_uuid=user_uuid)
319313
320-
321-
322314
Get Current User's Breeding Sites
323315

324316
### Example
@@ -426,8 +418,6 @@ Name | Type | Description | Notes
426418
# **retrieve**
427419
> BreedingSite retrieve(uuid)
428420
429-
430-
431421
### Example
432422

433423
* Api Key Authentication (cookieAuth):

docs/CampaignsApi.md

-4
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ Method | HTTP request | Description
1111
# **list**
1212
> PaginatedCampaignList list(country_id=country_id, is_active=is_active, order_by=order_by, page=page, page_size=page_size)
1313
14-
15-
1614
### Example
1715

1816
* Api Key Authentication (cookieAuth):
@@ -112,8 +110,6 @@ Name | Type | Description | Notes
112110
# **retrieve**
113111
> Campaign retrieve(id)
114112
115-
116-
117113
### Example
118114

119115
* Api Key Authentication (cookieAuth):

docs/CountriesApi.md

-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ Method | HTTP request | Description
1010
# **retrieve**
1111
> Country retrieve(id)
1212
13-
14-
1513
### Example
1614

1715
* Api Key Authentication (cookieAuth):

docs/DevicesApi.md

-8
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ Method | HTTP request | Description
1313
# **create**
1414
> Device create(device_request)
1515
16-
17-
1816
### Example
1917

2018
* Bearer (JWT) Authentication (jwtAuth):
@@ -93,8 +91,6 @@ Name | Type | Description | Notes
9391
# **partial_update**
9492
> DeviceUpdate partial_update(device_id, patched_device_update_request=patched_device_update_request)
9593
96-
97-
9894
### Example
9995

10096
* Bearer (JWT) Authentication (jwtAuth):
@@ -175,8 +171,6 @@ Name | Type | Description | Notes
175171
# **retrieve**
176172
> Device retrieve(device_id)
177173
178-
179-
180174
### Example
181175

182176
* Bearer (JWT) Authentication (jwtAuth):
@@ -253,8 +247,6 @@ Name | Type | Description | Notes
253247
# **update**
254248
> DeviceUpdate update(device_id, device_update_request)
255249
256-
257-
258250
### Example
259251

260252
* Bearer (JWT) Authentication (jwtAuth):

docs/FixesApi.md

-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ Method | HTTP request | Description
1010
# **create**
1111
> Fix create(fix_request)
1212
13-
14-
1513
### Example
1614

1715
* Api Key Authentication (cookieAuth):

docs/NotificationsApi.md

-12
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ Method | HTTP request | Description
1515
# **create**
1616
> List[CreateNotification] create(meta_notification_request=meta_notification_request)
1717
18-
19-
2018
### Example
2119

2220
* Api Key Authentication (cookieAuth):
@@ -109,8 +107,6 @@ Name | Type | Description | Notes
109107
# **list**
110108
> PaginatedNotificationList list(is_read=is_read, order_by=order_by, page=page, page_size=page_size)
111109
112-
113-
114110
### Example
115111

116112
* Api Key Authentication (cookieAuth):
@@ -208,8 +204,6 @@ Name | Type | Description | Notes
208204
# **list_mine**
209205
> PaginatedNotificationList list_mine(is_read=is_read, order_by=order_by, page=page, page_size=page_size)
210206
211-
212-
213207
Get Current User's Notifications
214208

215209
### Example
@@ -295,8 +289,6 @@ Name | Type | Description | Notes
295289
# **partial_update**
296290
> Notification partial_update(id, patched_notification_request=patched_notification_request)
297291
298-
299-
300292
### Example
301293

302294
* Api Key Authentication (cookieAuth):
@@ -391,8 +383,6 @@ Name | Type | Description | Notes
391383
# **retrieve**
392384
> Notification retrieve(id)
393385
394-
395-
396386
### Example
397387

398388
* Api Key Authentication (cookieAuth):
@@ -483,8 +473,6 @@ Name | Type | Description | Notes
483473
# **update**
484474
> Notification update(id, notification_request)
485475
486-
487-
488476
### Example
489477

490478
* Api Key Authentication (cookieAuth):

docs/ObservationsApi.md

-16
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ Method | HTTP request | Description
1717
# **create**
1818
> Observation create(observation_request)
1919
20-
21-
2220
### Example
2321

2422
* Api Key Authentication (cookieAuth):
@@ -111,8 +109,6 @@ Name | Type | Description | Notes
111109
# **destroy**
112110
> destroy(uuid)
113111
114-
115-
116112
### Example
117113

118114
* Api Key Authentication (cookieAuth):
@@ -200,8 +196,6 @@ void (empty response body)
200196
# **list**
201197
> PaginatedObservationList list(created_at_after=created_at_after, created_at_before=created_at_before, has_photos=has_photos, has_prediction=has_prediction, has_predictions_all_photos=has_predictions_all_photos, location_country_id=location_country_id, location_nuts_2=location_nuts_2, location_nuts_3=location_nuts_3, order_by=order_by, page=page, page_size=page_size, received_at_after=received_at_after, received_at_before=received_at_before, short_id=short_id, updated_at_after=updated_at_after, updated_at_before=updated_at_before, user_uuid=user_uuid)
202198
203-
204-
205199
### Example
206200

207201
* Api Key Authentication (cookieAuth):
@@ -324,8 +318,6 @@ Name | Type | Description | Notes
324318
# **list_mine**
325319
> PaginatedObservationList list_mine(created_at_after=created_at_after, created_at_before=created_at_before, has_photos=has_photos, has_prediction=has_prediction, has_predictions_all_photos=has_predictions_all_photos, location_country_id=location_country_id, location_nuts_2=location_nuts_2, location_nuts_3=location_nuts_3, order_by=order_by, page=page, page_size=page_size, received_at_after=received_at_after, received_at_before=received_at_before, short_id=short_id, updated_at_after=updated_at_after, updated_at_before=updated_at_before, user_uuid=user_uuid)
326320
327-
328-
329321
Get Current User's Observations
330322

331323
### Example
@@ -437,8 +429,6 @@ Name | Type | Description | Notes
437429
# **prediction_create**
438430
> ObservationPrediction prediction_create(uuid, observation_prediction_request)
439431
440-
441-
442432
### Example
443433

444434
* Api Key Authentication (cookieAuth):
@@ -527,8 +517,6 @@ Name | Type | Description | Notes
527517
# **prediction_destroy**
528518
> prediction_destroy(uuid)
529519
530-
531-
532520
### Example
533521

534522
* Api Key Authentication (cookieAuth):
@@ -610,8 +598,6 @@ void (empty response body)
610598
# **prediction_retrieve**
611599
> ObservationPrediction prediction_retrieve(uuid)
612600
613-
614-
615601
### Example
616602

617603
* Api Key Authentication (cookieAuth):
@@ -696,8 +682,6 @@ Name | Type | Description | Notes
696682
# **retrieve**
697683
> Observation retrieve(uuid)
698684
699-
700-
701685
### Example
702686

703687
* Api Key Authentication (cookieAuth):

docs/PartnersApi.md

-4
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ Method | HTTP request | Description
1111
# **list**
1212
> PaginatedPartnerList list(page=page, page_size=page_size)
1313
14-
15-
1614
### Example
1715

1816
* Api Key Authentication (cookieAuth):
@@ -105,8 +103,6 @@ Name | Type | Description | Notes
105103
# **retrieve**
106104
> Partner retrieve(id)
107105
108-
109-
110106
### Example
111107

112108
* Api Key Authentication (cookieAuth):

0 commit comments

Comments
 (0)