

















2





1






















































































































.yaml file, wat do you think about it?

openapi: 3.0.3
paths:
/test:
post:
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/Foo'
components:
schemas:
Foo:
type: object
properties:
bar:
type: string
required:
- barfunc ParsePostTestResponse(rsp *http.Response) (*PostTestResponse, error) {
bodyBytes, err := io.ReadAll(rsp.Body)
defer func() { _ = rsp.Body.Close() }()
if err != nil {
return nil, err
}
response := &PostTestResponse{
Body: bodyBytes,
HTTPResponse: rsp,
}
switch {
case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200:
var dest Foo
if err := json.Unmarshal(bodyBytes, &dest); err != nil {
return nil, err
}
response.JSON200 = &dest
}
return response, nil
} switch {
case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200:
var dest Foo
if err := json.Unmarshal(bodyBytes, &dest); err != nil {
return nil, err
}
response.JSON200 = &dest
default:
return nil, UnknownResponseOrSmth
}

























































































































1


























































































































































































































































































































































































































mom still thinks one of my aunt killed her.







and she just died very shortly after





















it's fine i guess. i'd rather see her go than seeing her stuck in bed most of the time

it's fine i guess. i'd rather see her go than seeing her stuck in bed most of the time 

















it feels like a way to squeeze more money out of dying people






















































1






i mean video games



































