Skip to content
Ryan Heaton edited this page Sep 17, 2015 · 1 revision

Ruby JSON Client Module

The Ruby JSON client module generates the client-side libraries that will access the JSON aspects of the Web service API.

Configuration

The Ruby JSON client module is configured by the ruby-json-client element under the modules element of the enunciate configuration file. It supports the following attributes:

attribute description
slug The "slug" attribute is used to determine the name of the client-side artifact files. The default is the Enunciate project slug.

Elements

The ruby-json-client element supports the following child elements:

package-conversions

The "package-conversions" subelement of the "php-json-client" element is used to map packages from the original API packages to different package names. This element supports an arbitrary number of "convert" child elements that are used to specify the conversions. These "convert" elements support the following attributes:

  • The "from" attribute specifies the package that is to be converted. This package will match all classes in the package as well as any subpackages of the package. This means that if "org.enunciate" were specified, it would match "org.enunciate", "org.enunciate.api", and "org.enunciate.api.impl".
  • The "to" attribute specifies what the package is to be converted to. Only the part of the package that matches the "from" attribute will be converted.

facets

Facet configuration for the module. See Facets.

Clone this wiki locally