Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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 UPDATING_OPENAPI_JSON.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ This project uses a modified `openapi.json`. Please maintain these instructions
1. Add a `cdp_enabled_contexts` property of type `array` of `string`s to the `Site` object.
1. Add a `hud_enabled` property of type `boolean` to the `Site` object.
1. Duplicate the `Site` object into `PartialSite` and remove the `required` properties.
1. Remove `password`, `password_context`, and `password_hash` from the `required` array of the `Site` object.
1. Change `updateSite` operation to use the `PartialSite` object as the request body schema (NOTE: not the response body schema).
1. Change the type of `LogDrain.id` to `string`.
1. Add the various `log_drains` paths from `bitballoon-openapi`'s `openapi.json` file.
Expand Down
3 changes: 0 additions & 3 deletions internal/netlifyapi/api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11056,9 +11056,6 @@ components:
- managed_dns
- name
- notification_email
- password
- password_context
- password_hash
- plan
- processing_settings
- screenshot_url
Expand Down
104 changes: 64 additions & 40 deletions internal/netlifyapi/model_admin_site.go

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

104 changes: 64 additions & 40 deletions internal/netlifyapi/model_site.go

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

Loading
Loading