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
Since Swagger use a subset of JSON Schema to describe request and response bodies, it can be trivial to implement.
The tricky part is to handle content negociation properly on the request side of things. In fact, a Swagger definition may be converted into JSON, XML or into form "urlencoded" data depending on the consumes property.
BTW, nice work ;)
The text was updated successfully, but these errors were encountered:
@guillemcanal OK, schema related idea sounds reasonable, but "Angular Schema Form", at first sight seems to be defined as "Schema Form is a set of AngularJS directives (and a couple of services) to generate Bootstrap 3 ready forms from a JSON Schema." and we do not use Bootstrap 3 here so it is probably unrelated, am I right?
I have to confess that I'm not very fluent in Angular but SchemaForm seems to be very close to the json-editor library, which is the one used by the original swagger-ui.
Basically, Angular Schema Form turn JSON Schemas into forms.
Since Swagger use a subset of JSON Schema to describe request and response bodies, it can be trivial to implement.
The tricky part is to handle content negociation properly on the request side of things. In fact, a Swagger definition may be converted into JSON, XML or into form "urlencoded" data depending on the
consumes
property.BTW, nice work ;)
The text was updated successfully, but these errors were encountered: