sz-orm-swagger 5.1.0

OpenAPI/Swagger spec generator: path/method/parameter/response builder, self-contained Swagger UI HTML rendering
Documentation

SZ-ORM Swagger — OpenAPI/Swagger specification generation

Provides building and serialization of OpenAPI 3.0 specifications, supporting paths, methods, parameters, responses, Schema definitions, SecurityScheme, Tags, Servers, and example generation; the output can be consumed directly by tools such as Swagger UI.

Main types

  • [OpenAPISpec] — specification root object
  • [PathInfo] — single (path, method) operation description
  • [Schema] / [SchemaRef] / [ObjectType] / [ArrayType] — Schema definitions
  • [SecurityScheme] — authentication schemes (Basic/Bearer/ApiKey/OAuth2)
  • [Tag] — interface grouping tag
  • [Server] — environment server configuration
  • [ExampleBuilder] — generates examples based on Schema