Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: api-platform/api-doc-parser
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: api-platform/api-doc-parser
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: remove-lodash.get
Choose a head ref
  • 3 commits
  • 13 files changed
  • 1 contributor

Commits on Jun 30, 2025

  1. refactor: remove lodash.get

    J3m5 committed Jun 30, 2025
    Configuration menu
    Copy the full SHA
    0b6211b View commit details
    Browse the repository at this point in the history
  2. refactor(types): deduplicate RequestInitExtended into src/types.ts

    * Removed duplicate definitions from `src/hydra/types.ts` and deleted `src/openapi3/types.ts`.
    * Added a single canonical `RequestInitExtended` interface in `src/types.ts`.
    * Updated all affected import paths across Hydra and OpenAPI3 modules.
    
    Signed-off-by: J3m5 <5523410+J3m5@users.noreply.github.com>
    J3m5 committed Jun 30, 2025
    Configuration menu
    Copy the full SHA
    7634cdc View commit details
    Browse the repository at this point in the history
  3. feat(openapi3): add fully-dereferenced OpenAPI 3 types and replace cu…

    …stom guards
    
    * Introduce `src/openapi3/dereferencedOpenApiv3.ts`, providing fully-dereferenced
      versions of core OpenAPI 3 objects (Document, OperationObject, SchemaObject,
      etc.).
    * Refactor `handleJson.ts` to consume the new types:
      * Remove bespoke type-guard helpers (`isParameter`, `isSchema`, …).
      * Eliminate most explicit `as` casts and manual type-narrowing logic.
      * Simplify enum/array handling through shared helpers (`buildEnumObject`,
        `getArrayType`).
    
    Signed-off-by: J3m5 <5523410+J3m5@users.noreply.github.com>
    J3m5 committed Jun 30, 2025
    Configuration menu
    Copy the full SHA
    9c54332 View commit details
    Browse the repository at this point in the history
Loading