types:
  GetShapeRequest:
    properties:
      id: string

  Shape:
    base-properties:
      id: string
    union:
      circle: Circle
      square: Square

  Circle: 
    properties:
      radius: double

  Square: 
    properties:
      length: double

service:
  auth: false
  base-path: /
  endpoints:
    get:
      path: /{id}
      method: GET
      path-parameters:
        id: string
      response: Shape

    update:
      path: ""
      method: PATCH
      request: Shape
      response: boolean
