Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(feature): Add ApiVersionSchema type #4068

Merged
merged 9 commits into from
Jul 16, 2024
Merged
Show file tree
Hide file tree
Changes from 8 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions fern.schema.dev.json
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,7 @@
"$ref": "#/properties/types/additionalProperties/anyOf/1/anyOf/0/properties/audiences"
},
"examples": { "$ref": "#/properties/types/additionalProperties/anyOf/1/anyOf/0/properties/examples" },
"default": { "type": "string" },
"enum": {
"type": "array",
"items": {
Expand Down
2 changes: 2 additions & 0 deletions fern.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,7 @@
"$ref": "#/properties/types/additionalProperties/anyOf/1/anyOf/0/properties/audiences"
},
"examples": { "$ref": "#/properties/types/additionalProperties/anyOf/1/anyOf/0/properties/examples" },
"default": { "type": "string" },
"enum": {
"type": "array",
"items": {
Expand Down Expand Up @@ -431,6 +432,7 @@
},
"auth": { "type": "boolean" },
"idempotent": { "type": "boolean" },
"stream-condition": { "type": "string" },
"request": {
"anyOf": [
{ "type": "string" },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

exports[`dependencies correctly incorporates dependencies 1`] = `
"{
"apiVersion": null,
"apiName": {
"originalName": "dependent",
"camelCase": {
Expand Down Expand Up @@ -842,4 +843,4 @@ exports[`dependencies correctly incorporates dependencies 1`] = `
}"
`;

exports[`dependencies file dependencies 1`] = `2805086`;
exports[`dependencies file dependencies 1`] = `2805341`;
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

exports[`ir {"name":"auth-header-prefix"} 1`] = `
"{
"apiVersion": null,
"apiName": {
"originalName": "my-api",
"camelCase": {
Expand Down Expand Up @@ -144,6 +145,7 @@ exports[`ir {"name":"auth-header-prefix"} 1`] = `

exports[`ir {"name":"extended-examples"} 1`] = `
"{
"apiVersion": null,
"apiName": {
"originalName": "api",
"camelCase": {
Expand Down Expand Up @@ -1230,6 +1232,7 @@ exports[`ir {"name":"extended-examples"} 1`] = `

exports[`ir {"name":"file-upload"} 1`] = `
"{
"apiVersion": null,
"apiName": {
"originalName": "my-api",
"camelCase": {
Expand Down Expand Up @@ -7825,6 +7828,7 @@ exports[`ir {"name":"migration","version":"v1"} 1`] = `

exports[`ir {"name":"multiple-environment-urls"} 1`] = `
"{
"apiVersion": null,
"apiName": {
"originalName": "api",
"camelCase": {
Expand Down Expand Up @@ -8521,6 +8525,7 @@ exports[`ir {"name":"multiple-environment-urls"} 1`] = `

exports[`ir {"name":"navigation-points-to"} 1`] = `
"{
"apiVersion": null,
"apiName": {
"originalName": "my-api",
"camelCase": {
Expand Down Expand Up @@ -8817,6 +8822,7 @@ exports[`ir {"name":"navigation-points-to"} 1`] = `

exports[`ir {"name":"nested-example-reference"} 1`] = `
"{
"apiVersion": null,
"apiName": {
"originalName": "api",
"camelCase": {
Expand Down Expand Up @@ -10583,6 +10589,7 @@ exports[`ir {"name":"nested-example-reference"} 1`] = `

exports[`ir {"name":"packages"} 1`] = `
"{
"apiVersion": null,
"apiName": {
"originalName": "packages",
"camelCase": {
Expand Down Expand Up @@ -11750,6 +11757,7 @@ exports[`ir {"name":"packages"} 1`] = `

exports[`ir {"name":"response-property"} 1`] = `
"{
"apiVersion": null,
"apiName": {
"originalName": "response-property",
"camelCase": {
Expand Down Expand Up @@ -13211,6 +13219,7 @@ exports[`ir {"name":"response-property"} 1`] = `

exports[`ir {"name":"simple","audiences":["internal"]} 1`] = `
"{
"apiVersion": null,
"apiName": {
"originalName": "my-api",
"camelCase": {
Expand Down Expand Up @@ -14872,6 +14881,7 @@ exports[`ir {"name":"simple","audiences":["internal"]} 1`] = `

exports[`ir {"name":"simple","audiences":["test"]} 1`] = `
"{
"apiVersion": null,
"apiName": {
"originalName": "my-api",
"camelCase": {
Expand Down Expand Up @@ -18827,6 +18837,7 @@ exports[`ir {"name":"simple","audiences":["test"]} 1`] = `

exports[`ir {"name":"simple"} 1`] = `
"{
"apiVersion": null,
"apiName": {
"originalName": "my-api",
"camelCase": {
Expand Down Expand Up @@ -33361,6 +33372,7 @@ exports[`ir {"name":"simple"} 1`] = `

exports[`ir {"name":"streaming"} 1`] = `
"{
"apiVersion": null,
"apiName": {
"originalName": "my-api",
"camelCase": {
Expand Down Expand Up @@ -33993,6 +34005,7 @@ exports[`ir {"name":"streaming"} 1`] = `

exports[`ir {"name":"variables"} 1`] = `
"{
"apiVersion": null,
"apiName": {
"originalName": "my-api",
"camelCase": {
Expand Down Expand Up @@ -35171,6 +35184,7 @@ exports[`ir {"name":"variables"} 1`] = `

exports[`ir {"name":"webhooks"} 1`] = `
"{
"apiVersion": null,
"apiName": {
"originalName": "my-api",
"camelCase": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ exports[`generate IR 1`] = `
"unsafeName": "api",
},
},
"apiVersion": null,
"auth": {
"docs": null,
"requirement": "ALL",
Expand Down
Loading
Loading