openapi: 3.0.3
info:
  title: Catalyst Squad hello world example api
  version: 1.0.1
  description: API definition for the Hello World end-to-end example from Catalyst
    Squad
paths:
  /helloes:
    get:
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ComCatalystsquadCatalystSquadHelloWorldExampleApiV1ModelsHello'
        '404':
          description: Not found
    post:
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ComCatalystsquadCatalystSquadHelloWorldExampleApiV1ModelsHello'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                type: string
components:
  schemas:
    ComCatalystsquadCatalystSquadHelloWorldExampleApiV1ModelsNewhello:
      description: A Hello that has not yet been created
      type: object
      required:
      - name
      properties:
        name:
          description: The name to hello
          example: Jane
          type: string
    ComCatalystsquadCatalystSquadHelloWorldExampleApiV1ModelsHello:
      description: A Hello with a name and id
      type: object
      required:
      - id
      - name
      properties:
        id:
          description: The ID of the hello.
          type: string
          format: uuid
        name:
          description: The name to hello
          example: Jane
          type: string
