You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
swagger: "2.0"info:
title: Testversion: "0.5"definitions:
error:
properties:
code:
type: integerexample: 1337# definitions: data did not match any variant of untagged enum Resolvable at line 6 column 8type: objectpaths:
/foo:
get:
responses:
"200":
description: OK
Yeah we should change that, I tried a fix on my repo, where I changed the example from string into a map: MayastorControlPlane@72fddfe.
Feel free to cherry pick and create a PR, otherwise I can do it when I have some time..
Has also been mentioned here: #95 (comment)
Seems like only strings are expected there: https://github.com/wafflespeanut/paperclip/blob/4b9205d040a583ef4059db619c0ed3b0f08c42c5/macros/src/core.rs#L287-L290
From the spec:
The text was updated successfully, but these errors were encountered: