Skip to content

v2, TypeScript should not do protocol API #3136

@weidongxu-microsoft

Description

@weidongxu-microsoft

v2 does not have concept of protocol/convenience API.

Emitter should not remove convenience API for v2 (on condition of e.g. multiple content-type in request, json-merge-patch).


After we solve this, we should remove this discrepancy in code
https://github.com/microsoft/typespec/blob/main/packages/http-client-java/generator/http-client-generator/src/main/java/com/microsoft/typespec/http/client/generator/util/ModelUtil.java#L24

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions