Skip to content

refactor: review & simplify nsc/builder/build.py #49

@thomaschristory

Description

@thomaschristory

Scope

nsc/builder/build.py (514 lines) — translates a parsed OpenAPI schema into a CommandModel.

Goal

Code review + simplify pass:

  • Look for transformation steps that can be broken into smaller, testable functions
  • Identify any logic leaking concern boundaries (builder touching CLI or HTTP concepts)
  • Remove over-engineered fallback paths
  • Ensure mypy --strict compliance throughout

Files

  • nsc/builder/build.py
  • Related tests: tests/builder/

Metadata

Metadata

Assignees

No one assigned

    Labels

    refactorCode cleanup, simplification, review

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions