Skip to content

Commit

Permalink
Adjusted files for compilation to succeed
Browse files Browse the repository at this point in the history
  • Loading branch information
jpalvarezl committed Jan 29, 2025
1 parent b3d82ad commit 346d048
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .typespec.azure/chat/models.request.tsp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import "@typespec/versioning";

import "../../.typespec/chat/models.tsp";
import "../main.tsp";
// import "../main.tsp";
import "./models.oyd.auth.tsp";
import "./models.oyd.vectorization.tsp";

Expand Down
2 changes: 1 addition & 1 deletion .typespec.azure/common/models.rai.tsp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import "@typespec/versioning";
import "../main.tsp";
// import "../main.tsp";

using TypeSpec.Versioning;

Expand Down
2 changes: 1 addition & 1 deletion .typespec.azure/files/models.tsp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import "@typespec/versioning";
import "../main.tsp";
// import "../main.tsp";
import "../../.typespec/files/models.tsp";

using TypeSpec.OpenAPI;
Expand Down
5 changes: 3 additions & 2 deletions .typespec.entry_points/full_azure/tspconfig.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
emit:
- "@typespec/openapi3"
- "@azure-tools/typespec-csharp"
# - "@azure-tools/typespec-csharp"
options:
"@typespec/openapi3":
output-file: "{project-root}/../.openapi3.azure/openapi3-azure-openai-{version}-generated.yaml"
# {project-root} seems to be the path of where the tspconfig.yaml file is located
output-file: "{project-root}/../../.openapi3.azure/openapi3-azure-openai-{version}-generated.yaml"
"@azure-tools/typespec-csharp":
namespace: "Azure.AI.OpenAI"
emitter-output-dir: "{project-root}/../.dotnet.azure/sdk/openai/Azure.AI.OpenAI/src"
Expand Down
5 changes: 3 additions & 2 deletions .typespec.entry_points/full_openai/tspconfig.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
emit:
- "@typespec/openapi3"
- "@open-ai/plugin"
# - "@open-ai/plugin"
options:
"@typespec/openapi3":
output-file: "{project-root}/../.openapi3/openapi3-openai.yaml"
# {project-root} seems to be the path of where the tspconfig.yaml file is located
output-file: "{project-root}/../../.openapi3/openapi3-openai.yaml"
"@typespec/http-client-csharp":
emitter-output-dir: "{project-root}/../.dotnet"
unreferenced-types-handling: keepAll
Expand Down

0 comments on commit 346d048

Please sign in to comment.