摘要 |
A system, method and computer-readable storage medium provided as a Web service for on-demand generation of code samples for a specified API, target programming language and target platform. The system can include an interface, a Web application, a data store, and a compile server. The Web application is configured to receive a request including a target programming language and target platform from the user interface, to retrieve a description of an API, to generate a source library, to create a model of the API based on the API description, to select a template based on the target programming language and target platform, to expand the template to create a code sample. The data store stores generated code artifacts, and stores the generated source library for the API description. The compile server is configured to generate compiled libraries and documentation, and store compiled libraries and documentation in the data store.
|