Skip to content

Commit

Permalink
feat: add zig code samples for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
nilslice committed Aug 19, 2024
1 parent de4b7e8 commit 931fe87
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ exports:
- lang: csharp
source: |-
return Host.ReflectJsonObjectHost(input);
- lang: zig
source: |
return Host.reflectJsonObjectHost(input);
input:
contentType: application/json
$ref: "#/components/schemas/KitchenSinkObject"
Expand All @@ -45,6 +48,9 @@ exports:
- lang: csharp
source: |-
return Host.ReflectUtf8StringHost(input);
- lang: zig
source: |
return Host.reflectUtf8StringHost(input);
input:
type: string
description: The input string
Expand Down Expand Up @@ -72,6 +78,9 @@ exports:
- lang: csharp
source: |-
return Host.ReflectByteBufferHost(input);
- lang: zig
source: |
return Host.reflectByteBufferHost(input);
input:
contentType: application/x-binary
type: buffer
Expand Down

0 comments on commit 931fe87

Please sign in to comment.