ADK for TypeScript: API Reference
    Preparing search index...

    Class OpenApiSpecParser

    • Parameters

      • options: {
            preservePropertyNames?: boolean;
            unconstrainedObjectBodyAsParameter?: boolean;
        } = {}
        • OptionalpreservePropertyNames?: boolean

          Keeps the original parameter and function names instead of converting them to snake_case.

        • OptionalunconstrainedObjectBodyAsParameter?: boolean

          Emits a whole-body parameter named body when an object request body schema has no properties. Defaults to false.

      Returns OpenApiSpecParser

      Retained for backwards compatibility; empty object schemas produce no parameters by default. This option will be removed in a future release.