diff --git a/.vscode/launch.json b/.vscode/launch.json index 0667611..7b7bf00 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -1,6 +1,14 @@ { "version": "0.2.0", "configurations": [ + { + "name": "Python: 現在のファイル", + "type": "python", + "request": "launch", + "program": "${file}", + "console": "integratedTerminal", + "justMyCode": false + }, { "name": "build", "type": "python", diff --git a/dist/compatible/openapi-3.0.yaml b/dist/compatible/openapi-3.0.yaml index 7a832b5..8edbae0 100644 --- a/dist/compatible/openapi-3.0.yaml +++ b/dist/compatible/openapi-3.0.yaml @@ -575,7 +575,6 @@ components: - media_url_https - type - url - - ext_media_availability - sizes - original_info MediaOriginalInfo: @@ -1454,9 +1453,9 @@ components: - tweet TwitterTimeFormat: example: Sat Dec 31 23:59:59 +0000 2023 - pattern: ^(Sun|Mon|Tue|Wed|Thu|Fri|Sat) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) - (0[1-9]|[12][0-9]|3[01]) (0[0-9]|1[0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9]) - ([+-][0-9]{4}) ([0-9]{4})$ + pattern: '^(Sun|Mon|Tue|Wed|Thu|Fri|Sat) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) + (0[1-9]|[12][0-9]|3[01]) (0[0-9]|1[0-9]|2[0-3])(: ?)([0-5][0-9])(: ?)([0-5][0-9]) + ([+-][0-9]{4}) ([0-9]{4})$' type: string TypeName: enum: diff --git a/dist/docs/openapi-3.0.yaml b/dist/docs/openapi-3.0.yaml index ccc6485..97354d0 100644 --- a/dist/docs/openapi-3.0.yaml +++ b/dist/docs/openapi-3.0.yaml @@ -575,7 +575,6 @@ components: - media_url_https - type - url - - ext_media_availability - sizes - original_info MediaOriginalInfo: @@ -1454,9 +1453,9 @@ components: - tweet TwitterTimeFormat: example: Sat Dec 31 23:59:59 +0000 2023 - pattern: ^(Sun|Mon|Tue|Wed|Thu|Fri|Sat) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) - (0[1-9]|[12][0-9]|3[01]) (0[0-9]|1[0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9]) - ([+-][0-9]{4}) ([0-9]{4})$ + pattern: '^(Sun|Mon|Tue|Wed|Thu|Fri|Sat) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) + (0[1-9]|[12][0-9]|3[01]) (0[0-9]|1[0-9]|2[0-3])(: ?)([0-5][0-9])(: ?)([0-5][0-9]) + ([+-][0-9]{4}) ([0-9]{4})$' type: string TypeName: enum: diff --git a/src/openapi/schemas/general.yaml b/src/openapi/schemas/general.yaml index fd60f6d..8d9edaf 100644 --- a/src/openapi/schemas/general.yaml +++ b/src/openapi/schemas/general.yaml @@ -8,5 +8,5 @@ components: schemas: TwitterTimeFormat: type: string - pattern: "^(Sun|Mon|Tue|Wed|Thu|Fri|Sat) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (0[1-9]|[12][0-9]|3[01]) (0[0-9]|1[0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9]) ([+-][0-9]{4}) ([0-9]{4})$" - example: "Sat Dec 31 23:59:59 +0000 2023" + pattern: "^(Sun|Mon|Tue|Wed|Thu|Fri|Sat) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (0[1-9]|[12][0-9]|3[01]) (0[0-9]|1[0-9]|2[0-3])(: ?)([0-5][0-9])(: ?)([0-5][0-9]) ([+-][0-9]{4}) ([0-9]{4})$" + example: "Sat Dec 31 23:59:59 +0000 2023" # Wed Sep 20 02: 55: 44 +0000 2023 diff --git a/src/openapi/schemas/tweet.yaml b/src/openapi/schemas/tweet.yaml index 5ae992f..12916cc 100644 --- a/src/openapi/schemas/tweet.yaml +++ b/src/openapi/schemas/tweet.yaml @@ -378,7 +378,7 @@ components: - "media_url_https" - "type" - "url" - - "ext_media_availability" + # - "ext_media_availability" # - "features" - "sizes" - "original_info"