Gets the available languages and frameworks for code generation

GET /project/{projectId}/codegen/metadata

Gets the available languages and frameworks for code generation

Path parameters

  • projectId string Required

    Project ID

    Format should match the following pattern: ^[A-Za-z0-9\-]+$.

Responses

  • 200 application/json

    OK

    Hide response attribute Show response attribute object
    • metadata array[object] Required
      Hide metadata attributes Show metadata attributes object
      • language string Required

        Values are JAVA, CSHARP, JAVASCRIPT, JSON, or PYTHON.

      • frameworks array[object] Required
        Hide frameworks attributes Show frameworks attributes object
        • hasSupportFiles boolean Required
        • framework string Required

          Values are POJO, POCO, SPRING_DATA, PERSISTENCE_LAYER, MONGOOSE_SCHEMAS, NODE, MONGODB_JSON_SCHEMA, STANDARD_JSON_SCHEMA, JSON_EXAMPLE_SCHEMA, or PYTHON_TYPED_DICT_CLASSES.

GET /project/{projectId}/codegen/metadata
curl \
 --request GET 'http://127.0.0.1:8278/api/v1/project/{projectId}/codegen/metadata'
Response examples (200)
{
  "metadata": [
    {
      "language": "JAVA",
      "frameworks": [
        {
          "hasSupportFiles": true,
          "framework": "POJO"
        }
      ]
    }
  ]
}