feat: OpenAPIのバージョンを1.0.0に上げる#252
Conversation
1.0.0当時にやるべき作業を1.4.0リリース時にやった
| parameters: { | ||
| path: { | ||
| /** @description ユーザーID */ | ||
| "user-id": string; |
There was a problem hiding this comment.
🚩 Pre-existing OpenAPI path parameter name mismatch carried into v1.d.ts
The OpenAPI spec defines the path as /scores/{user_id}/current-rank (template variable user_id) but the parameter is declared with name: user-id (typing-server/openapi.yaml:200). Per the OpenAPI 3.0 spec, path parameter names MUST match the template expression. This mismatch is pre-existing (also present in v0.d.ts:199) and results in the generated types having "user-id" as the path parameter key while the path key uses {user_id}. This could cause issues with openapi-fetch or other code generators that try to correlate path parameters with path template variables.
Was this helpful? React with 👍 or 👎 to provide feedback.
|
v0をv1に置換する |
|
した |
#251 の途中で必要になった作業をやるブランチ.これをdevelopにマージしてからそれをrelease/v1.4.0にさらにマージする.