Skip to content

Commit

Permalink
Adding overlays (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
octoper authored Nov 15, 2024
1 parent 55bbc61 commit f92a2df
Show file tree
Hide file tree
Showing 490 changed files with 10,198 additions and 4,666 deletions.
151 changes: 151 additions & 0 deletions .speakeasy/fixes.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,151 @@
overlay: 1.0.0
info:
title: Overlay File to fix issues in OAS
version: 0.0.0
actions:
- target: $["components"]["schemas"]["OTP"]["properties"]["strategy"]["enum"][*]
remove: true
- target: $["components"]["schemas"]["OTP"]["properties"]["strategy"]["enum"]
update:
- "phone_code"
- "email_code"
- "email_link"
- "reset_password_email_code"
- "from_oauth_discord"
- "from_oauth_google"
- "from_oauth_apple"
- "from_oauth_microsoft"
- "from_oauth_github"
- target: $["components"]["schemas"]["Oauth"]["properties"]["strategy"]["enum"][*]
remove: true
- target: $["components"]["schemas"]["Oauth"]["properties"]["strategy"]["enum"]
update:
- "oauth_google"
- "oauth_mock"
- "from_oauth_google"
- "from_oauth_discord"
- "from_oauth_microsoft"
- "oauth_apple"
- "oauth_microsoft"
- "oauth_github"
- "email_link"
- target: $["components"]["schemas"]["IdentificationLink"]["properties"]["type"]["enum"]
update:
- "oauth_apple"
- "oauth_discord"
- "oauth_microsoft"
- "oauth_github"
- target: $["components"]["parameters"]["LimitParameter"]["schema"]
update:
type: integer
- target: $["components"]["parameters"]["OffsetParameter"]["schema"]
update:
type: integer
- target: $["paths"]["/email_addresses/{email_address_id}"]["get"]
update:
x-speakeasy-usage-example: true
- target: $["paths"]["/users"]["post"]["requestBody"]["content"]["application/json"]["schema"]["properties"]["public_metadata"]
update:
additionalProperties: true
- target: $["paths"]["/users"]["post"]["requestBody"]["content"]["application/json"]["schema"]["properties"]["private_metadata"]
update:
additionalProperties: true
- target: $["paths"]["/users"]["post"]["requestBody"]["content"]["application/json"]["schema"]["properties"]["unsafe_metadata"]
update:
additionalProperties: true
- target: $["paths"]["/users/{user_id}"]["patch"]["requestBody"]["content"]["application/json"]["schema"]["properties"]["public_metadata"]
update:
additionalProperties: true
- target: $["paths"]["/users/{user_id}"]["patch"]["requestBody"]["content"]["application/json"]["schema"]["properties"]["private_metadata"]
update:
additionalProperties: true
- target: $["paths"]["/users/{user_id}"]["patch"]["requestBody"]["content"]["application/json"]["schema"]["properties"]["unsafe_metadata"]
update:
additionalProperties: true
- target: $["paths"]["/users/{user_id}/oauth_access_tokens/{provider}"]["get"]["responses"]["200"]["content"]["application/json"]["schema"]["items"]["properties"]["public_metadata"]
update:
additionalProperties: true
- target: $["paths"]["/invitations"]["post"]["requestBody"]["content"]["application/json"]["schema"]["properties"]["public_metadata"]
update:
additionalProperties: true
- target: $["paths"]["/organizations"]["post"]["requestBody"]["content"]["application/json"]["schema"]["properties"]["private_metadata"]
update:
additionalProperties: true
- target: $["paths"]["/organizations"]["post"]["requestBody"]["content"]["application/json"]["schema"]["properties"]["public_metadata"]
update:
additionalProperties: true
- target: $["paths"]["/organizations/{organization_id}"]["patch"]["requestBody"]["content"]["application/json"]["schema"]["properties"]["public_metadata"]
update:
additionalProperties: true
- target: $["paths"]["/organizations/{organization_id}"]["patch"]["requestBody"]["content"]["application/json"]["schema"]["properties"]["private_metadata"]
update:
additionalProperties: true
- target: $["paths"]["/organizations/{organization_id}/metadata"]["patch"]["requestBody"]["content"]["application/json"]["schema"]["properties"]["public_metadata"]
update:
additionalProperties: true
- target: $["paths"]["/organizations/{organization_id}/metadata"]["patch"]["requestBody"]["content"]["application/json"]["schema"]["properties"]["private_metadata"]
update:
additionalProperties: true
- target: $["paths"]["/organizations/{organization_id}/invitations"]["post"]["requestBody"]["content"]["application/json"]["schema"]["properties"]["public_metadata"]
update:
additionalProperties: true
- target: $["paths"]["/organizations/{organization_id}/invitations"]["post"]["requestBody"]["content"]["application/json"]["schema"]["properties"]["private_metadata"]
update:
additionalProperties: true
- target: $["paths"]["/organizations/{organization_id}/invitations/bulk"]["post"]["requestBody"]["content"]["application/json"]["schema"]["items"]["properties"]["public_metadata"]
update:
additionalProperties: true
- target: $["paths"]["/organizations/{organization_id}/invitations/bulk"]["post"]["requestBody"]["content"]["application/json"]["schema"]["items"]["properties"]["private_metadata"]
update:
additionalProperties: true
- target: $["paths"]["/organizations/{organization_id}/memberships/{user_id}/metadata"]["patch"]["requestBody"]["content"]["application/json"]["schema"]["properties"]["public_metadata"]
update:
additionalProperties: true
- target: $["paths"]["/organizations/{organization_id}/memberships/{user_id}/metadata"]["patch"]["requestBody"]["content"]["application/json"]["schema"]["properties"]["private_metadata"]
update:
additionalProperties: true
- target: $["components"]["schemas"]["SAMLAccount"]["properties"]["public_metadata"]
update:
additionalProperties: true
- target: $["components"]["schemas"]["User"]["properties"]["public_metadata"]
update:
additionalProperties: true
- target: $["components"]["schemas"]["User"]["properties"]["private_metadata"]
update:
additionalProperties: true
- target: $["components"]["schemas"]["User"]["properties"]["unsafe_metadata"]
update:
additionalProperties: true
- target: $["components"]["schemas"]["Organization"]["properties"]["public_metadata"]
update:
additionalProperties: true
- target: $["components"]["schemas"]["Organization"]["properties"]["private_metadata"]
update:
additionalProperties: true
- target: $["components"]["schemas"]["OrganizationMembership"]["properties"]["public_metadata"]
update:
additionalProperties: true
- target: $["components"]["schemas"]["OrganizationMembership"]["properties"]["private_metadata"]
update:
additionalProperties: true
- target: $["components"]["schemas"]["OrganizationInvitationWithPublicOrganizationData"]["properties"]["public_metadata"]
update:
additionalProperties: true
- target: $["components"]["schemas"]["OrganizationInvitationWithPublicOrganizationData"]["properties"]["private_metadata"]
update:
additionalProperties: true
- target: $["components"]["schemas"]["Invitation"]["properties"]["public_metadata"]
update:
additionalProperties: true
- target: $["components"]["schemas"]["OrganizationInvitation"]["properties"]["public_metadata"]
update:
additionalProperties: true
- target: $["components"]["schemas"]["OrganizationInvitation"]["properties"]["private_metadata"]
update:
additionalProperties: true
- target: $["components"]["schemas"]["SignUp"]["properties"]["unsafe_metadata"]
update:
additionalProperties: true
- target: $["components"]["schemas"]["SignUp"]["properties"]["public_metadata"]
update:
additionalProperties: true
Loading

0 comments on commit f92a2df

Please sign in to comment.