Skip to content

Conversation

@v-jiaodi
Copy link
Member

relate issue : #3635

model Site {
name: string;
}
op test(@body site:Site): File<"application/octet-stream">;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you change as following?

Suggested change
op test(@body site:Site): File<"application/octet-stream">;
op test(@body site:Site): {
@header("Content-Type")
contentType: "application/octet-stream";
@doc("Receipt body in COSE format")
@bodyRoot
body: bytes;
};

@qiaozha
Copy link
Member

qiaozha commented Jan 7, 2026

@kazrael2119 please include this break in the break list.

@qiaozha qiaozha added P1 priority 1 and removed p0 priority 0 labels Jan 21, 2026
@qiaozha qiaozha added p0 priority 0 and removed P1 priority 1 labels Jan 28, 2026
@v-jiaodi v-jiaodi changed the title Add ut for generating file model Support file model generation Jan 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

HRLC p0 priority 0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants