Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Pan Shao committed Jan 8, 2025
1 parent 89e69bd commit 91de9fb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ import { getTSPOperationGroupName } from "../transforms/transform-arm-resources"
import { generateAugmentedDecorators, generateDecorators } from "../utils/decorators";
import { generateDocs } from "../utils/docs";
import { getLogger } from "../utils/logger";
import { generateLroHeaders } from "../utils/lro";
import { getModelPropertiesDeclarations } from "../utils/model-generation";
import { generateSuppressions } from "../utils/suppressions";
import { generateOperation, generateParameters } from "./generate-operations";
import { generateParameter } from "./generate-parameter";
import { generateLroHeaders } from "../utils/lro";

const logger = () => getLogger("generate-arm-resource");

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { generateSuppressions } from "../utils/suppressions";
import {
TspArmProviderActionOperation,
TypespecOperation,
Expand All @@ -8,8 +7,9 @@ import {
import { getOptions } from "../options";
import { generateDecorators } from "../utils/decorators";
import { generateDocs, generateSummary } from "../utils/docs";
import { generateParameter } from "./generate-parameter";
import { generateLroHeaders } from "../utils/lro";
import { generateSuppressions } from "../utils/suppressions";
import { generateParameter } from "./generate-parameter";

export function generateOperation(operation: TypespecOperation, operationGroup?: TypespecOperationGroup) {
const { isArm } = getOptions();
Expand Down
2 changes: 1 addition & 1 deletion packages/extensions/openapi-to-typespec/src/utils/lro.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { CodeModel, isObjectSchema, Operation } from "@autorest/codemodel";
import { isResponseSchema } from "./schemas";
import { TspLroHeaders } from "../interfaces";
import { isResponseSchema } from "./schemas";

export function markLRO(codeModel: CodeModel) {
for (const operationGroup of codeModel.operationGroups) {
Expand Down

0 comments on commit 91de9fb

Please sign in to comment.