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: acacode/swagger-typescript-api
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: spearbit/swagger-typescript-api
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 2 commits
  • 2 files changed
  • 1 contributor

Commits on Apr 24, 2025

  1. Support v3.1 typed arrays

    In OpenAPI v3.1 the nullable property was replaced with a "typed array",
    that is an array that can either be of type T or null.
    
    To make the minimal amount of changes this commit converts a type array
    back into what a 3.0 parser would expect.
    
    Closes #991
    Thomasdezeeuw committed Apr 24, 2025
    Configuration menu
    Copy the full SHA
    1e61d2c View commit details
    Browse the repository at this point in the history

Commits on Apr 25, 2025

  1. Show summary before description

    @summary now appears before @description. Also don't show "No
    description" when the description is not set, instead don't print
    anything.
    
    An example:
    
        /**
         * @description Old description
         *
         * @name oldMethod
         * @summary Short summary
         * @request GET:/api/some/path/old
         */
        oldMethod: (params: RequestParams = {}) =>
    
        /**
         * @summary Short summary
         * @description New description
         *
         * @name newMethod
         * @request GET:/api/some/path/new
         */
        newMethod: (params: RequestParams = {}) =>
    Thomasdezeeuw committed Apr 25, 2025
    Configuration menu
    Copy the full SHA
    280ad97 View commit details
    Browse the repository at this point in the history
Loading