openapi-trait 0.0.4

Generate typed Rust traits from OpenAPI specifications using a proc-macro attribute
Documentation
openapi: 3.0.1
info:
  title: formats
  version: 0.0.1
paths:
  /event:
    get:
      operationId: getEvent
      responses:
        '200':
          description: an event
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Event'
components:
  schemas:
    Event:
      type: object
      required:
        - id
        - createdAt
        - birthDate
      properties:
        id:
          type: string
          format: uuid
        createdAt:
          type: string
          format: date-time
        birthDate:
          type: string
          format: date
        email:
          type: string
          format: email
        payload:
          type: string
          format: binary