Skip to content
FeedbackDashboard

Frequently Asked Questions (FAQs) (Archived)

Answers to common questions about Stainless, including migration, testing, and more.

Have a look at our test documentation for details about the tests we generate and run.

What if my API defines endpoints that aren’t stable yet?

Section titled “What if my API defines endpoints that aren’t stable yet?”

See our documentation for how to handle unstable or undocumented endpoints.

How can I migrate an endpoint to a new version?

Section titled “How can I migrate an endpoint to a new version?”

See our documentation for migrating an endpoint to a new version.

Our API spec is made of multiple OpenAPI files but Stainless only supports a single file. What can we do?

Section titled “Our API spec is made of multiple OpenAPI files but Stainless only supports a single file. What can we do?”

See our documetnation about using multiple OpenAPI specs with Stainless.

Our OpenAPI spec has errors or is auto-generated with incorrect types. What can we do?

Section titled “Our OpenAPI spec has errors or is auto-generated with incorrect types. What can we do?”

See our documentation about spec transforms.

We are using Postman collections, how can we get an OpenAPI file?

Section titled “We are using Postman collections, how can we get an OpenAPI file?”

See our documentation about creating an OpenAPI spec from a Postman collection.

Does Stainless support runtime request validation?

Section titled “Does Stainless support runtime request validation?”

See our documentation about runtime request validation.

Why doesn’t Stainless generate TypeScript classes for API models?

Section titled “Why doesn’t Stainless generate TypeScript classes for API models?”

See our documentation about why we don’t generate TypeScript classes for API models.

Why does the TypeScript SDK preserve the original API property names instead of converting to camelCase?

Section titled “Why does the TypeScript SDK preserve the original API property names instead of converting to camelCase?”

See our documentation about why we use camelCase in TypeScript.

Can I use the TypeScript SDK in the browser?

Section titled “Can I use the TypeScript SDK in the browser?”

See our documentation about supported environments for TypeScript.

Why doesn’t Stainless use Python’s Enum class for enums?

Section titled “Why doesn’t Stainless use Python’s Enum class for enums?”

See our documentation about why we don’t use Python’s Enum class.

Why is there both a Java and Kotlin SDK when the Java SDK is written in Kotlin?

Section titled “Why is there both a Java and Kotlin SDK when the Java SDK is written in Kotlin?”

See our documentation that explains why we have separate Kotlin and Java SDKs.

How does Stainless handle dependency security?

Section titled “How does Stainless handle dependency security?”

See our security documentation.

See our security documentation.