Skip to content

feat: add Swagger universal types and utilities for API documentation#37

Merged
barluq merged 1 commit intomainfrom
merge/jan26-01
Jan 14, 2026
Merged

feat: add Swagger universal types and utilities for API documentation#37
barluq merged 1 commit intomainfrom
merge/jan26-01

Conversation

@barluq
Copy link
Collaborator

@barluq barluq commented Jan 14, 2026

This pull request introduces universal Swagger types and utilities to the codebase, improving API documentation support and enabling more consistent typing for API schemas.

API documentation and typing improvements:

  • Added a new AppSchemaTemplate interface to src/node/api/swagger.universal.ts for defining API schema structures, including support for bodies, query strings, parameters, headers, responses, and additional metadata.
  • Introduced a SwaggerTypes enum in src/node/api/swagger.universal.ts to standardize common Swagger data types such as string, number, object, array, and boolean.
  • Exported the new AppSchemaTemplate type and SwaggerTypes enum from src/index.node.ts for universal use throughout the project.

@barluq barluq merged commit 1abfc9e into main Jan 14, 2026
2 checks passed
@barluq barluq deleted the merge/jan26-01 branch January 14, 2026 10:44
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