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

Make OpenApi.IDocument to be generic. #23

Merged
merged 1 commit into from
Jul 3, 2024
Merged

Conversation

samchon
Copy link
Owner

@samchon samchon commented Jul 3, 2024

To support dependent libraries utilizing @samchon/openapi which adds special plugin properties starting with x- key name, changed OpenApi.IDocument and its subsidiary structures to have two generic arguments: Schema and Operation.

  • OpenApi.IDocument<Schema, Operation>
  • OpenApi.IOperation<Schema>

To support dependent libraries utilizing `@samchon/openapi` which adds special plugin properties starting with `x-` key name, changed `OpenApi.IDocument` and its subsidiary structures to have two generic arguments: `Schema` and `Operation`.

  - `OpenApi.IDocument<Schema, Operation>`
  - `OpenApi.IOperation<Schema>`
@samchon samchon added the enhancement New feature or request label Jul 3, 2024
@samchon samchon self-assigned this Jul 3, 2024
@samchon samchon merged commit df52923 into master Jul 3, 2024
4 checks passed
@samchon samchon deleted the features/generic branch July 3, 2024 14:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant