Skip to content

Openapi model id is always String #842

Open
@parirox

Description

@parirox

Hello Yiming.
I appreciate for this great project.
I have been working on a project and generated Openapi from my .zmodel using zenstack/openapi generator, but I have a problem in Openapi which is Id fields in each components that considered always string and that is different of real response from server, I read your Openapi plugin and figure out this line, can you tell me what is the reason of it?
https://github.com/zenstackhq/zenstack/blob/b5929d88a2da200d1dfed00b2148a150801cf371/packages/plugins/openapi/src/rest-generator.ts#L891C41-L891C47

Metadata

Metadata

Assignees

No one assigned

    Labels

    pluginZenStack plugin related

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions