• Preparing search index...
  • The search index is not available
zibri
  • zibri
  • entity/generation/generate-entity-file.function
  • generateEntityFile

Function generateEntityFile

  • generateEntityFile(
        provider: EntityGenerationProvider,
        name: string,
        schema: SchemaObject,
    ): GenerateEntityFileResult

    Generates a single entity file.

    Parameters

    • provider: EntityGenerationProvider

      The provider from which the schema was resolved.

    • name: string

      The name of the entity.

    • schema: SchemaObject

      The open api schema of the entity.

    Returns GenerateEntityFileResult

    Any additional schemas found and the lines needed to generate the entity file.

    • Defined in src/entity/generation/generate-entity-file.function.ts:48

Settings

Member Visibility
zibri
  • Loading...

Generated using TypeDoc