Skip to content

Missing modular option in TypeScript types while still being functional in v13.2.7 #1334

@Cherepanov-Pavel

Description

@Cherepanov-Pavel

First of all, I want to say thank you for this great project! I've been using swagger-typescript-api extensively and it's been incredibly helpful for my work.

I'm encountering a small inconsistency between versions:

  1. In v13.0.23, the modular option was properly typed and worked as expected in my configuration:
await generateApi({
  // ... other options
  modular: true, // was properly typed
});
  1. After upgrading to v13.2.7, I noticed that:
  • The modular option still works when passed
  • However, it's no longer present in the TypeScript types
  • This causes TypeScript errors in my codebase

Expected Behavior:
The modular option should either:

  1. Be properly typed if it's still supported, or
  2. Be officially deprecated/removed with migration guidance

Additional Context:

  • Looking through recent changes(CHANGELOG), I couldn't find any deprecation notices for this option

Would you be able to clarify the intended status of this option? I'd be happy to help test any fixes if needed.

Thank you for your time and for maintaining this valuable tool!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy