You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: specs/openapi.json
+14-50Lines changed: 14 additions & 50 deletions
Original file line number
Diff line number
Diff line change
@@ -13339,7 +13339,7 @@
13339
13339
{
13340
13340
"schema": {
13341
13341
"type": "string",
13342
-
"example": 0,
13342
+
"example": "America/New_York",
13343
13343
"description": "IANA name (e.g. \u0022America/New_York\u0022, \u0022Europe/London\u0022), decimal hours (e.g. -5 for EST, 1 for CET), or a fixed UTC offset (e.g. \u0022-05:00\u0022). IANA resolved to the DST-correct offset for the given date. Defaults to 0 (UTC)."
13344
13344
},
13345
13345
"required": false,
@@ -30926,7 +30926,7 @@
30926
30926
{
30927
30927
"schema": {
30928
30928
"type": "string",
30929
-
"example": 5.5,
30929
+
"example": "Asia/Kolkata",
30930
30930
"description": "IANA name (e.g. \u0022Asia/Kolkata\u0022, \u0022America/New_York\u0022), decimal hours (e.g. 5.5 for IST, -5 for EST), or a fixed UTC offset (e.g. \u0022\u002B05:30\u0022). IANA resolved to the DST-correct offset for the given date. Applies to the time field above. Defaults to 0 (UTC)."
30931
30931
},
30932
30932
"required": false,
@@ -35658,18 +35658,9 @@
35658
35658
"description": "Birth time in 24-hour HH:MM:SS format. Precision matters for the natal positions the transit aspects are measured against."
35659
35659
},
35660
35660
"timezone": {
35661
-
"anyOf": [
35662
-
{
35663
-
"type": "number",
35664
-
"minimum": -14,
35665
-
"maximum": 14
35666
-
},
35667
-
{
35668
-
"type": "string"
35669
-
}
35670
-
],
35671
-
"description": "IANA name (e.g. \u0022America/New_York\u0022, \u0022Europe/London\u0022, \u0022UTC\u0022), decimal hours (e.g. -5 for EST, 1 for CET), or a fixed UTC offset (e.g. \u0022-05:00\u0022, \u0022\u002B01:00\u0022). Prefer the IANA name: it is resolved to the DST-correct offset for the birth date, while a fixed offset or decimal is taken literally and will be wrong if it does not match the daylight-saving state on that date. Invalid timezones return 400 with a validation error.",
35672
-
"example": "America/New_York"
35661
+
"type": "number",
35662
+
"example": -4,
35663
+
"description": "Decimal UTC offset the forecast was computed with, resolved from whatever the request sent. An IANA name is resolved to the DST-correct offset for the birth date, so this is the literal number applied, never the name."
35673
35664
},
35674
35665
"latitude": {
35675
35666
"type": "number",
@@ -36046,18 +36037,9 @@
36046
36037
"description": "Birth time in 24-hour HH:MM:SS format. Precision matters for the natal positions the transit aspects are measured against."
36047
36038
},
36048
36039
"timezone": {
36049
-
"anyOf": [
36050
-
{
36051
-
"type": "number",
36052
-
"minimum": -14,
36053
-
"maximum": 14
36054
-
},
36055
-
{
36056
-
"type": "string"
36057
-
}
36058
-
],
36059
-
"description": "IANA name (e.g. \u0022America/New_York\u0022, \u0022Europe/London\u0022, \u0022UTC\u0022), decimal hours (e.g. -5 for EST, 1 for CET), or a fixed UTC offset (e.g. \u0022-05:00\u0022, \u0022\u002B01:00\u0022). Prefer the IANA name: it is resolved to the DST-correct offset for the birth date, while a fixed offset or decimal is taken literally and will be wrong if it does not match the daylight-saving state on that date. Invalid timezones return 400 with a validation error.",
36060
-
"example": "America/New_York"
36040
+
"type": "number",
36041
+
"example": -4,
36042
+
"description": "Decimal UTC offset the forecast was computed with, resolved from whatever the request sent. An IANA name is resolved to the DST-correct offset for the birth date, so this is the literal number applied, never the name."
36061
36043
},
36062
36044
"latitude": {
36063
36045
"type": "number",
@@ -36484,18 +36466,9 @@
36484
36466
"description": "Birth time in 24-hour HH:MM:SS format. Precision matters for the natal positions the transit aspects are measured against."
36485
36467
},
36486
36468
"timezone": {
36487
-
"anyOf": [
36488
-
{
36489
-
"type": "number",
36490
-
"minimum": -14,
36491
-
"maximum": 14
36492
-
},
36493
-
{
36494
-
"type": "string"
36495
-
}
36496
-
],
36497
-
"description": "IANA name (e.g. \u0022America/New_York\u0022, \u0022Europe/London\u0022, \u0022UTC\u0022), decimal hours (e.g. -5 for EST, 1 for CET), or a fixed UTC offset (e.g. \u0022-05:00\u0022, \u0022\u002B01:00\u0022). Prefer the IANA name: it is resolved to the DST-correct offset for the birth date, while a fixed offset or decimal is taken literally and will be wrong if it does not match the daylight-saving state on that date. Invalid timezones return 400 with a validation error.",
36498
-
"example": "America/New_York"
36469
+
"type": "number",
36470
+
"example": -4,
36471
+
"description": "Decimal UTC offset the forecast was computed with, resolved from whatever the request sent. An IANA name is resolved to the DST-correct offset for the birth date, so this is the literal number applied, never the name."
36499
36472
},
36500
36473
"latitude": {
36501
36474
"type": "number",
@@ -36923,18 +36896,9 @@
36923
36896
"description": "Birth time in 24-hour HH:MM:SS format. Precision matters for the natal positions the transit aspects are measured against."
36924
36897
},
36925
36898
"timezone": {
36926
-
"anyOf": [
36927
-
{
36928
-
"type": "number",
36929
-
"minimum": -14,
36930
-
"maximum": 14
36931
-
},
36932
-
{
36933
-
"type": "string"
36934
-
}
36935
-
],
36936
-
"description": "IANA name (e.g. \u0022America/New_York\u0022, \u0022Europe/London\u0022, \u0022UTC\u0022), decimal hours (e.g. -5 for EST, 1 for CET), or a fixed UTC offset (e.g. \u0022-05:00\u0022, \u0022\u002B01:00\u0022). Prefer the IANA name: it is resolved to the DST-correct offset for the birth date, while a fixed offset or decimal is taken literally and will be wrong if it does not match the daylight-saving state on that date. Invalid timezones return 400 with a validation error.",
36937
-
"example": "America/New_York"
36899
+
"type": "number",
36900
+
"example": -4,
36901
+
"description": "Decimal UTC offset the forecast was computed with, resolved from whatever the request sent. An IANA name is resolved to the DST-correct offset for the birth date, so this is the literal number applied, never the name."
Copy file name to clipboardExpand all lines: src/Generated/Forecast/Digest/DigestPostResponse_birthData.cs
+4-70Lines changed: 4 additions & 70 deletions
Original file line number
Diff line number
Diff line change
@@ -24,14 +24,8 @@ public partial class DigestPostResponse_birthData : IAdditionalDataHolder, IPars
24
24
publicdouble?Longitude{get;set;}
25
25
/// <summary>Birth time in 24-hour HH:MM:SS format. Precision matters for the natal positions the transit aspects are measured against.</summary>
26
26
publicTime?Time{get;set;}
27
-
/// <summary>IANA name (e.g. "America/New_York", "Europe/London", "UTC"), decimal hours (e.g. -5 for EST, 1 for CET), or a fixed UTC offset (e.g. "-05:00", "+01:00"). Prefer the IANA name: it is resolved to the DST-correct offset for the birth date, while a fixed offset or decimal is taken literally and will be wrong if it does not match the daylight-saving state on that date. Invalid timezones return 400 with a validation error.</summary>
/// <summary>Decimal UTC offset the forecast was computed with, resolved from whatever the request sent. An IANA name is resolved to the DST-correct offset for the birth date, so this is the literal number applied, never the name.</summary>
28
+
publicdouble?Timezone{get;set;}
35
29
/// <summary>
36
30
/// Instantiates a new <see cref="global::RoxyApi.Forecast.Digest.DigestPostResponse_birthData"/> and sets the default values.
37
31
/// </summary>
@@ -63,7 +57,7 @@ public virtual IDictionary<string, Action<IParseNode>> GetFieldDeserializers()
63
57
{"latitude", n =>{Latitude=n.GetDoubleValue();}},
64
58
{"longitude", n =>{Longitude=n.GetDoubleValue();}},
65
59
{"time", n =>{Time=n.GetTimeValue();}},
66
-
{"timezone", n =>{Timezone=n.GetObjectValue<global::RoxyApi.Forecast.Digest.DigestPostResponse_birthData.DigestPostResponse_birthData_timezone>(global::RoxyApi.Forecast.Digest.DigestPostResponse_birthData.DigestPostResponse_birthData_timezone.CreateFromDiscriminatorValue);}},
60
+
{"timezone", n =>{Timezone=n.GetDoubleValue();}},
67
61
};
68
62
}
69
63
/// <summary>
@@ -77,69 +71,9 @@ public virtual void Serialize(ISerializationWriter writer)
0 commit comments