Replies: 1 comment
-
Hey @tomhelmer This is a great question. For now there is no easy support of tuples in OpenAPI spec. There are some workarounds, but Scramble doesn't use that for now. I have created an issue for this matter. I will check how tuples can be documented, and also I'll add support of examples to response schemas (currently examples are supported only for request parameters). You can keep an eye on the issue: #218 Thanks! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I'm documenting an API with GeoJSON where 'coordinates' is a float tuple.
See example on the frontpage: https://geojson.org/
The closest I can get is using a docblock comment :
But it results in:
Is there a way to manually add the example data ? ( or some other means of solving this )
Beta Was this translation helpful? Give feedback.
All reactions