SDK: rename SkyvernEnvironment (#3870)

This commit is contained in:
Stanislav Novosad
2025-10-31 10:40:33 -06:00
committed by GitHub
parent e849c64cad
commit 393bae88fe
10 changed files with 52 additions and 52 deletions

View File

@@ -43,9 +43,9 @@ def custom_openapi() -> dict:
routes=app.routes,
)
openapi_schema["servers"] = [
{"url": "https://api.skyvern.com", "x-fern-server-name": "Production"},
{"url": "https://api.skyvern.com", "x-fern-server-name": "Cloud"},
{"url": "https://api-staging.skyvern.com", "x-fern-server-name": "Staging"},
{"url": "http://localhost:8000", "x-fern-server-name": "Development"},
{"url": "http://localhost:8000", "x-fern-server-name": "Local"},
]
app.openapi_schema = openapi_schema
return app.openapi_schema