Skip to content

Commit

Permalink
refactor: special barrel file naming
Browse files Browse the repository at this point in the history
  • Loading branch information
RanolP committed Mar 1, 2024
1 parent cb66ba4 commit ef84782
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/main.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import "@typespec/openapi";
import "@typespec/openapi3";
import "@typespec/versioning";

import "./operations/main.tsp";
import "./models/main.tsp";
import "./operations/_barrel.tsp";
import "./models/_barrel.tsp";

using TypeSpec.Http;
using TypeSpec.OpenAPI;
Expand Down
File renamed without changes.
1 change: 1 addition & 0 deletions src/operations/_barrel.tsp
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
import "./account/_barrel.tsp";
2 changes: 2 additions & 0 deletions src/operations/account/_barrel.tsp
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
import "./redeem.tsp";
import "./update_settings.tsp";
2 changes: 0 additions & 2 deletions src/operations/main.tsp

This file was deleted.

0 comments on commit ef84782

Please sign in to comment.