Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate missing component.headers types #244

Merged
merged 3 commits into from
Aug 4, 2023

Conversation

mashabow
Copy link
Contributor

Types of changes

  • Bug fixes
    • resolves #
  • Features
    • resolves #
  • Maintenance
  • Documentation

Changes

When specifying the schema of the response headers using components.headers, their types are not generated in @types/index.ts. This issue seems similar to #211 and #218, so I fixed it by referring to those PRs.

レスポンスヘッダのスキーマを components.headers を使って指定している場合、その型が @types/index.ts に生成されないようです。#211, #218 と似た問題のようなので、そちらを参考にして修正してみました。

Additional context

Community note

Please upvote with reacting as 👍 to express your agreement.

@mashabow
Copy link
Contributor Author

@solufa はじめまして。レビューをお願いできますでしょうか…?

@solufa solufa merged commit 238f2a5 into aspida:main Aug 4, 2023
@solufa
Copy link
Member

solufa commented Aug 4, 2023

@mashabow
v0.22.0でリリースしました
テストが充実していて修正箇所もなく良いPRでした
ありがとうございます

@mashabow mashabow deleted the support-headers branch August 10, 2023 06:51
@mashabow
Copy link
Contributor Author

@solufa ありがとうございました!
openapi2aspida も pathpida も、実際のプロダクトで便利に使わせていただいています ☺️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants