Skip to content

Commit

Permalink
Add ApiDefinitionSourceId
Browse files Browse the repository at this point in the history
  • Loading branch information
amckinney committed Aug 6, 2024
1 parent 1c56012 commit 402556d
Show file tree
Hide file tree
Showing 7 changed files with 38 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/ir-sdk/fern/apis/ir-types-latest/definition/ir.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,12 +81,18 @@ types:
sources:
docs: The raw API definitions that produced the IR.
type: list<ApiDefinitionSource>
ApiDefinitionSourceId:
docs: |
Uniquely identifies a specific API definition source. This allows us to clearly identify
what source a given type, endpoint, etc was derived from.
type: string
ApiDefinitionSource:
union:
proto: ProtoSource
openapi: {}
ProtoSource:
properties:
id: ApiDefinitionSourceId
protoRootUrl:
docs: |
The URL containing the `.proto` root directory source. This can be used
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions packages/ir-sdk/src/sdk/api/resources/ir/types/ProtoSource.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions packages/ir-sdk/src/sdk/api/resources/ir/types/index.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 402556d

Please sign in to comment.