Skip to content

Commit

Permalink
update json schema and remove release blockers
Browse files Browse the repository at this point in the history
  • Loading branch information
dsinghvi committed Nov 20, 2023
1 parent 7c275b1 commit f4238eb
Show file tree
Hide file tree
Showing 2 changed files with 78 additions and 23 deletions.
96 changes: 77 additions & 19 deletions fern.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,10 @@
"docs": { "type": "string" },
"availability": {
"anyOf": [
{ "type": "string", "enum": ["in-development", "pre-release", "deprecated"] },
{
"type": "string",
"enum": ["in-development", "pre-release", "deprecated", "generally-available"]
},
{
"type": "object",
"properties": {
Expand Down Expand Up @@ -465,7 +468,8 @@
"type": "object",
"properties": {
"docs": { "$ref": "#/properties/types/additionalProperties/anyOf/1/anyOf/0/properties/docs" },
"type": { "type": "string" }
"type": { "type": "string" },
"property": { "type": "string" }
},
"required": ["type"],
"additionalProperties": false
Expand Down Expand Up @@ -556,24 +560,78 @@
},
"webhooks": {
"type": "object",
"properties": {
"docs": { "$ref": "#/properties/types/additionalProperties/anyOf/1/anyOf/0/properties/docs" },
"availability": {
"$ref": "#/properties/types/additionalProperties/anyOf/1/anyOf/0/properties/availability"
"additionalProperties": {
"type": "object",
"properties": {
"docs": { "$ref": "#/properties/types/additionalProperties/anyOf/1/anyOf/0/properties/docs" },
"availability": {
"$ref": "#/properties/types/additionalProperties/anyOf/1/anyOf/0/properties/availability"
},
"audiences": { "$ref": "#/properties/types/additionalProperties/anyOf/1/anyOf/0/properties/audiences" },
"method": { "type": "string", "enum": ["GET", "POST"] },
"display-name": { "type": "string" },
"headers": {
"type": "object",
"additionalProperties": {
"$ref": "#/properties/types/additionalProperties/anyOf/1/anyOf/0/properties/properties/additionalProperties"
}
},
"payload": {
"anyOf": [
{ "type": "string" },
{
"type": "object",
"properties": {
"docs": { "$ref": "#/properties/types/additionalProperties/anyOf/1/anyOf/0/properties/docs" },
"type": { "type": "string" }
},
"required": ["type"],
"additionalProperties": false
},
{
"anyOf": [
{
"type": "object",
"properties": {
"name": { "type": "string" },
"extends": {
"$ref": "#/properties/types/additionalProperties/anyOf/1/anyOf/0/properties/extends"
},
"properties": {
"type": "object",
"additionalProperties": {
"$ref": "#/properties/types/additionalProperties/anyOf/1/anyOf/0/properties/properties/additionalProperties"
}
}
},
"required": ["name", "extends"],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"name": { "type": "string" },
"extends": {
"$ref": "#/properties/types/additionalProperties/anyOf/1/anyOf/0/properties/extends"
},
"properties": {
"type": "object",
"additionalProperties": {
"$ref": "#/properties/types/additionalProperties/anyOf/1/anyOf/0/properties/properties/additionalProperties"
}
}
},
"required": ["name", "properties"],
"additionalProperties": false
}
]
}
]
}
},
"audiences": { "$ref": "#/properties/types/additionalProperties/anyOf/1/anyOf/0/properties/audiences" },
"method": { "type": "string", "enum": ["GET", "POST"] },
"display-name": { "type": "string" },
"path": { "type": "string" },
"payload": {
"anyOf": [
{ "type": "string" },
{ "$ref": "#/properties/service/properties/endpoints/additionalProperties/properties/request/anyOf/1" }
]
}
},
"required": ["path"],
"additionalProperties": false
"required": ["method", "payload"],
"additionalProperties": false
}
},
"errors": {
"type": "object",
Expand Down
5 changes: 1 addition & 4 deletions release-blockers-cli.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
# if there are any release blockers in this list, releasing will fail on Circle
release-blockers:
- Breaking changes in fern layout (docs workspaces)
- Breaking changes in docs config (dark/light mode logos)
- New IR types (with zurg)
release-blockers: []

0 comments on commit f4238eb

Please sign in to comment.