json-schema-to-openapi-schema icon indicating copy to clipboard operation
json-schema-to-openapi-schema copied to clipboard

Add support for draft-6 examples

Open sixlive opened this issue 6 years ago • 9 comments

Description

This adds support for draft-6 examples. Since OpenAPI only supports single examples this transform takes the first example from the array of examples and sets that as the value. I've been using my implementation with speccy for a few days and its been working great and is a must have for my workflow.

Resolves #20

sixlive avatar Feb 15 '19 21:02 sixlive

@sixlive @philsturgeon Hey, looking forward to that PR. Is there anything I can do to help? :)

Solosneros avatar Feb 25 '19 10:02 Solosneros

Is there any way we can get an update on this?

sixlive avatar Mar 04 '19 12:03 sixlive

@philsturgeon Can we merge and release this? I could use it in Prism.

XVincentX avatar Jun 13 '19 13:06 XVincentX

@XVincentX I don't work at WeWork anymore. I work at stoplight.io, with you!

@djtarazona hey there! Do you know who is looking after this? If it's nobody can you ask some higher up to make me a collaborator or give me the package? It's a shame to see this getting ignored.

philsturgeon avatar Jun 13 '19 13:06 philsturgeon

I thought you were still a collaborator with privileges!

XVincentX avatar Jun 13 '19 13:06 XVincentX

@djtarazona hey there! Do you know who is looking after this? If it's nobody can you ask some higher up to make me a collaborator or give me the package? It's a shame to see this getting ignored.

I don't know who's looking after this. @iainmcgin can you help out here?

djtarazona avatar Jun 17 '19 02:06 djtarazona

I would be very happy to take this over btw, and keep it maintained for as long as it’s required. I’m working on closing the OpenAPI and JSON Schema divergence gap through a few different means with the two projects themselves but until then this tool is really important, and shouldn’t be left to stagnate. I know Pascal said he’d have to check with the lawyers before giving code away, so if we could get the ball moving on that that’d be great! :)

philsturgeon avatar Jun 17 '19 08:06 philsturgeon

could this be merge or is no longer maintained?

mribichich avatar Jul 11 '19 16:07 mribichich

Not being maintained at all, see https://github.com/openapi-contrib/json-schema-to-openapi-schema instead.

philsturgeon avatar Oct 29 '20 12:10 philsturgeon