Skip to content

Latest commit

 

History

History
41 lines (32 loc) · 1.49 KB

user-code-generation.md

File metadata and controls

41 lines (32 loc) · 1.49 KB

User Code Generation

The Code Generation structure encapsulates all the the details of an SDK generation performed by a user.

Structure

UserCodeGeneration

Fields

Name Type Tags Description
id string Required Unique Code Generation Identifier
template Platforms Required The structure contains platforms that APIMatic CodeGen can generate SDKs and Docs in.
generatedFile string Required The generated SDK
generatedOn string Required Generation Date and Time
hashCode string Required The md5 hash of the API Description
codeGenerationSource string Required Generation Source
codeGenVersion string Required Generation Version
success boolean Required Generation Status
userId string Required Unique User Identifier
inputFile string Required API Specification file in a supported format

Example (as JSON)

{
  "id": "5be08b2d83b41d0d8cdb3289",
  "template": "CS_NET_STANDARD_LIB",
  "generatedFile": "https://apimatic.io/api/code-generations/5be08b2d83b41d0d8cdb3289/generated-sdk",
  "generatedOn": "11/05/2018 18:25:46",
  "hashCode": "77BDA4F625EF512B336D0A77CE2BB2B6",
  "codeGenerationSource": "Api",
  "codeGenVersion": "1",
  "success": true,
  "userId": "5afc60380b9949253c6b7776",
  "inputFile": "https://apimatic.io/api/code-generations/5be08d7b83b41d0d8cdb3958/input-file"
}