angular-swagger-ui icon indicating copy to clipboard operation
angular-swagger-ui copied to clipboard

Implemented JSON request forms

Open DanielMontesDeOca opened this issue 10 years ago • 7 comments

Hi,

I forked your repo and I've been working on replacing body text areas with form for JSON payloads for a personal project. It still needs some work but you can check it out here http://plnkr.co/QAS5gj.

If you find it useful I'm available to make any necessary changes for a merge.

Cheers

DanielMontesDeOca avatar Aug 25 '15 21:08 DanielMontesDeOca

Hi !

Thanks for sharing ! I'll have a look and let you know.

Regards

mathieuales avatar Aug 26 '15 07:08 mathieuales

+1 on this merge

jgroom33 avatar Nov 12 '15 20:11 jgroom33

would be nice if it can be switched back and forth between the form and the json

testn avatar Nov 17 '15 16:11 testn

+1

ghost avatar Jan 08 '16 09:01 ghost

I'm working on it and try to add this feature as a module

mathieuales avatar Jan 11 '16 09:01 mathieuales

Any word on the status of this one? Or is there some other known way to send JSON rather than form data?

rusackas avatar Apr 13 '17 17:04 rusackas

@rusackas Hi ! Not sure to undrestand your issue ... There no problem to send JSON right now see http://orange-opensource.github.io/angular-swagger-ui/#!#addPet. This request is about generating an HTML form to generate JSON body to send to server instead of a textarea as implemented here http://plnkr.co/QAS5gj

mathieuales avatar Apr 14 '17 08:04 mathieuales