reqres.yaml-generated.tdltx 6.64 KB
Newer Older
Package generated_from_reqres_yaml {
    Type String
    Type TODO_RESOLVE_REFERENCED
    Use "reqres.yaml" as SOURCE_MAPPING
    Use "generated/java" as TARGET_MAPPING
    Structure User (
        integer id,
        string email,
        string first_name,
        string last_name,
        string avatar
    )
    Type integer
    Type string
    Map User to "#/components/schemas/User" in SOURCE_MAPPING as User_SOURCE_MAPPING {
        id -> "id",
        email -> "email",
        first_name -> "first_name",
        last_name -> "last_name",
        avatar -> "avatar"
    }
    Map User to "User" in TARGET_MAPPING as User_TARGET_MAPPING {
        id -> "id",
        email -> "email",
        first_name -> "first_name",
        last_name -> "last_name",
        avatar -> "avatar"
    }
    Structure UnknownResource (
        integer id,
        string name,
        integer year,
        string color,
        string pantone_value
    )
    Map UnknownResource to "#/components/schemas/UnknownResource" in SOURCE_MAPPING as UnknownResource_SOURCE_MAPPING {
        id -> "id",
        name -> "name",
        year -> "year",
        color -> "color",
        pantone_value -> "pantone_value"
    }
    Map UnknownResource to "UnknownResource" in TARGET_MAPPING as UnknownResource_TARGET_MAPPING {
        id -> "id",
        name -> "name",
        year -> "year",
        color -> "color",
        pantone_value -> "pantone_value"
    }
    Structure inline_response_200 (
        integer page,
        integer per_page,
        integer total,
        integer total_pages,
        inline_response_200______item data
    )
    Collection inline_response_200______item of inline_response_200______itemUnknownResource
    Structure inline_response_200______itemUnknownResource (
        integer id,
        string name,
        integer year,
        string color,
        string pantone_value
    )
    Map inline_response_200 to "#/components/schemas/inline_response_200" in SOURCE_MAPPING as inline_response_200_SOURCE_MAPPING {
        page -> "page",
        per_page -> "per_page",
        total -> "total",
        total_pages -> "total_pages",
        data -> "data"
    }
    Map inline_response_200 to "inline_response_200" in TARGET_MAPPING as inline_response_200_TARGET_MAPPING {
        page -> "page",
        per_page -> "per_page",
        total -> "total",
        total_pages -> "total_pages",
        data -> "data"
    }
    Structure inline_response_200_1 (
        integer page,
        integer per_page,
        integer total,
        integer total_pages,
        inline_response_200_1______item data
    )
    Collection inline_response_200_1______item of inline_response_200_1______itemUser
    Structure inline_response_200_1______itemUser (
        integer id,
        string email,
        string first_name,
        string last_name,
        string avatar
    )
    Map inline_response_200_1 to "#/components/schemas/inline_response_200_1" in SOURCE_MAPPING as inline_response_200_1_SOURCE_MAPPING {
        page -> "page",
        per_page -> "per_page",
        total -> "total",
        total_pages -> "total_pages",
        data -> "data"
    }
    Map inline_response_200_1 to "inline_response_200_1" in TARGET_MAPPING as inline_response_200_1_TARGET_MAPPING {
        page -> "page",
        per_page -> "per_page",
        total -> "total",
        total_pages -> "total_pages",
        data -> "data"
    }
    Structure inline_response_200_2 (
        User data
    )
    Map inline_response_200_2 to "#/components/schemas/inline_response_200_2" in SOURCE_MAPPING as inline_response_200_2_SOURCE_MAPPING {
        data -> "data"
    }
    Map inline_response_200_2 to "inline_response_200_2" in TARGET_MAPPING as inline_response_200_2_TARGET_MAPPING {
        data -> "data"
    }
    Structure inline_response_200_3 (
        string updatedAt
    )
    Map inline_response_200_3 to "#/components/schemas/inline_response_200_3" in SOURCE_MAPPING as inline_response_200_3_SOURCE_MAPPING {
        updatedAt -> "updatedAt"
    }
    Map inline_response_200_3 to "inline_response_200_3" in TARGET_MAPPING as inline_response_200_3_TARGET_MAPPING {
        updatedAt -> "updatedAt"
    }
    Structure inline_response_200_4 (
        UnknownResource data
    )
    Map inline_response_200_4 to "#/components/schemas/inline_response_200_4" in SOURCE_MAPPING as inline_response_200_4_SOURCE_MAPPING {
        data -> "data"
    }
    Map inline_response_200_4 to "inline_response_200_4" in TARGET_MAPPING as inline_response_200_4_TARGET_MAPPING {
        data -> "data"
    }
    Structure login_body (
        string username,
        string email,
        string password
    )
    Map login_body to "#/components/schemas/login_body" in SOURCE_MAPPING as login_body_SOURCE_MAPPING {
        username -> "username",
        email -> "email",
        password -> "password"
    }
    Map login_body to "login_body" in TARGET_MAPPING as login_body_TARGET_MAPPING {
        username -> "username",
        email -> "email",
        password -> "password"
    }
    Structure inline_response_200_5 (
        string token
    )
    Map inline_response_200_5 to "#/components/schemas/inline_response_200_5" in SOURCE_MAPPING as inline_response_200_5_SOURCE_MAPPING {
        token -> "token"
    }
    Map inline_response_200_5 to "inline_response_200_5" in TARGET_MAPPING as inline_response_200_5_TARGET_MAPPING {
        token -> "token"
    }
    Structure inline_response_400 (
        string error
    )
    Map inline_response_400 to "#/components/schemas/inline_response_400" in SOURCE_MAPPING as inline_response_400_SOURCE_MAPPING {
        error -> "error"
    }
    Map inline_response_400 to "inline_response_400" in TARGET_MAPPING as inline_response_400_TARGET_MAPPING {
        error -> "error"
    }
    Structure register_body (
        string username,
        string email,
        string password
    )
    Map register_body to "#/components/schemas/register_body" in SOURCE_MAPPING as register_body_SOURCE_MAPPING {
        username -> "username",
        email -> "email",
        password -> "password"
    }
    Map register_body to "register_body" in TARGET_MAPPING as register_body_TARGET_MAPPING {
        username -> "username",
        email -> "email",
        password -> "password"
    }
    Structure inline_response_200_6 (
        string id,
        string token
    )
    Map inline_response_200_6 to "#/components/schemas/inline_response_200_6" in SOURCE_MAPPING as inline_response_200_6_SOURCE_MAPPING {
        id -> "id",
        token -> "token"
    }
    Map inline_response_200_6 to "inline_response_200_6" in TARGET_MAPPING as inline_response_200_6_TARGET_MAPPING {
        id -> "id",
        token -> "token"
    }
}