Skip to content

Commit 994a079

Browse files
committed
Adds charset to JSON content type
Adds the charset parameter to the application/json content type. This ensures proper handling of character encoding in responses.
1 parent 4082f56 commit 994a079

File tree

50 files changed

+100
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+100
-0
lines changed

phasetwo/paths/realm_attributes/get.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,8 @@ class ApiResponseFor200(api_client.ApiResponse):
100100
content={
101101
'application/json': api_client.MediaType(
102102
schema=SchemaFor200ResponseBodyApplicationJson),
103+
'application/json;charset=UTF-8': api_client.MediaType(
104+
schema=SchemaFor200ResponseBodyApplicationJson),
103105
},
104106
)
105107
_status_code_to_response = {

phasetwo/paths/realm_attributes/get.pyi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,8 @@ _response_for_200 = api_client.OpenApiResponse(
9595
content={
9696
'application/json': api_client.MediaType(
9797
schema=SchemaFor200ResponseBodyApplicationJson),
98+
'application/json;charset=UTF-8': api_client.MediaType(
99+
schema=SchemaFor200ResponseBodyApplicationJson),
98100
},
99101
)
100102
_all_accept_content_types = (

phasetwo/paths/realm_attributes_attribute_key/get.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,8 @@ class ApiResponseFor200(api_client.ApiResponse):
8383
content={
8484
'application/json': api_client.MediaType(
8585
schema=SchemaFor200ResponseBodyApplicationJson),
86+
'application/json;charset=UTF-8': api_client.MediaType(
87+
schema=SchemaFor200ResponseBodyApplicationJson),
8688
},
8789
)
8890

phasetwo/paths/realm_attributes_attribute_key/get.pyi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,8 @@ _response_for_200 = api_client.OpenApiResponse(
7878
content={
7979
'application/json': api_client.MediaType(
8080
schema=SchemaFor200ResponseBodyApplicationJson),
81+
'application/json;charset=UTF-8': api_client.MediaType(
82+
schema=SchemaFor200ResponseBodyApplicationJson),
8183
},
8284
)
8385

phasetwo/paths/realm_orgs/get.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,8 @@ class ApiResponseFor200(api_client.ApiResponse):
150150
content={
151151
'application/json': api_client.MediaType(
152152
schema=SchemaFor200ResponseBodyApplicationJson),
153+
'application/json;charset=UTF-8': api_client.MediaType(
154+
schema=SchemaFor200ResponseBodyApplicationJson),
153155
},
154156
)
155157
_status_code_to_response = {

phasetwo/paths/realm_orgs/get.pyi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,8 @@ _response_for_200 = api_client.OpenApiResponse(
145145
content={
146146
'application/json': api_client.MediaType(
147147
schema=SchemaFor200ResponseBodyApplicationJson),
148+
'application/json;charset=UTF-8': api_client.MediaType(
149+
schema=SchemaFor200ResponseBodyApplicationJson),
148150
},
149151
)
150152
_all_accept_content_types = (

phasetwo/paths/realm_orgs_count/get.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,8 @@ class ApiResponseFor200(api_client.ApiResponse):
9999
content={
100100
'application/json': api_client.MediaType(
101101
schema=SchemaFor200ResponseBodyApplicationJson),
102+
'application/json;charset=UTF-8': api_client.MediaType(
103+
schema=SchemaFor200ResponseBodyApplicationJson),
102104
},
103105
)
104106
_status_code_to_response = {

phasetwo/paths/realm_orgs_count/get.pyi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,8 @@ _response_for_200 = api_client.OpenApiResponse(
9494
content={
9595
'application/json': api_client.MediaType(
9696
schema=SchemaFor200ResponseBodyApplicationJson),
97+
'application/json;charset=UTF-8': api_client.MediaType(
98+
schema=SchemaFor200ResponseBodyApplicationJson),
9799
},
98100
)
99101
_all_accept_content_types = (

phasetwo/paths/realm_orgs_me/get.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,8 @@ class ApiResponseFor200(api_client.ApiResponse):
7575
content={
7676
'application/json': api_client.MediaType(
7777
schema=SchemaFor200ResponseBodyApplicationJson),
78+
'application/json;charset=UTF-8': api_client.MediaType(
79+
schema=SchemaFor200ResponseBodyApplicationJson),
7880
},
7981
)
8082
_status_code_to_response = {

phasetwo/paths/realm_orgs_me/get.pyi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,8 @@ _response_for_200 = api_client.OpenApiResponse(
7070
content={
7171
'application/json': api_client.MediaType(
7272
schema=SchemaFor200ResponseBodyApplicationJson),
73+
'application/json;charset=UTF-8': api_client.MediaType(
74+
schema=SchemaFor200ResponseBodyApplicationJson),
7375
},
7476
)
7577
_all_accept_content_types = (

0 commit comments

Comments
 (0)