Contents Menu Expand Light mode Dark mode Auto light/dark mode
Smithy 2.0
Logo
  • Quick start
  • Smithy specification
    • 1. The Smithy model
    • 2. Simple types
    • 3. Aggregate types
    • 4. Service types
    • 5. Mixins
    • 6. Constraint traits
    • 7. Type refinement traits
    • 8. Documentation traits
    • 9. Behavior traits
    • 10. Resource traits
    • 11. Authentication traits
    • 12. Serialization and Protocol traits
    • 13. Streaming
    • 14. HTTP bindings
    • 15. Endpoint traits
    • 16. Selectors
    • 17. Model validation
    • 18. Smithy IDL
    • 19. JSON AST
  • Trait index
  • Guides
    • Building Smithy Models
      • Smithy Gradle Plugin
      • smithy-build
    • Model linters
    • Evolving Models
    • Style Guide
    • Converting Smithy to OpenAPI
    • Generating CloudFormation Resource Schemas from Smithy
    • Smithy IDL 1.0 to 2.0 Migration Guide
  • Additional specs
    • HTTP Protocol Compliance Tests
    • Waiters
    • MQTT Protocol Bindings
  • AWS integrations
    • AWS Core Specification
    • AWS Authentication Traits
    • AWS IAM traits
    • Amazon API Gateway traits
    • AWS CloudFormation Traits
    • AWS Protocols
      • AWS restJson1 protocol
      • AWS JSON 1.0 protocol
      • AWS JSON 1.1 protocol
      • AWS restXml protocol
      • AWS query protocol
      • AWS EC2 query protocol
    • AWS Service Customizations
      • Amazon API Gateway Customizations
      • Amazon Glacier Customizations
      • Amazon Machine Learning Customizations
      • Amazon S3 Customizations

Project

  • Implementations
    • Smithy Server Generator for TypeScript
      • Introduction to the Smithy Server Generator for TypeScript
      • Smithy Server Generator for TypeScript handlers
      • Smithy Server Generator for TypeScript validation
      • Smithy Server Generator for TypeScript error handling
      • Smithy Server Generator for TypeScript supported endpoints
  • Source code
  • 1.0 Documentation
Back to top
Edit this page

Smithy Server Generator for TypeScript#

The Smithy Server Generator for TypeScript is Smithy's officially-supported way to write web services in TypeScript.

  • Introduction to the Smithy Server Generator for TypeScript
    • Data flow
  • Smithy Server Generator for TypeScript handlers
    • ServiceHandler factories
    • Contexts
  • Smithy Server Generator for TypeScript validation
    • Default validation
    • Custom validation
  • Smithy Server Generator for TypeScript error handling
    • Synthetic errors
      • Unavoidable errors
      • Protocol errors
  • Smithy Server Generator for TypeScript supported endpoints
    • Amazon API Gateway REST APIs and AWS Lambda
Next
Introduction to the Smithy Server Generator for TypeScript
Previous
Implementations
Copyright © 2022, Amazon Web Services
Made with Sphinx and @pradyunsg's Furo