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: OpenAPITools/openapi-diff
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 40b8c44
Choose a base ref
...
head repository: OpenAPITools/openapi-diff
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 16616c6
Choose a head ref
  • 5 commits
  • 11 files changed
  • 3 contributors

Commits on Jul 7, 2022

  1. Configuration menu
    Copy the full SHA
    f268d1e View commit details
    Browse the repository at this point in the history

Commits on Jul 20, 2022

  1. build(deps): bump cyclonedx-maven-plugin from 2.7.0 to 2.7.1 (#396)

    Bumps [cyclonedx-maven-plugin](https://github.com/CycloneDX/cyclonedx-maven-plugin) from 2.7.0 to 2.7.1.
    - [Release notes](https://github.com/CycloneDX/cyclonedx-maven-plugin/releases)
    - [Commits](CycloneDX/cyclonedx-maven-plugin@cyclonedx-maven-plugin-2.7.0...cyclonedx-maven-plugin-2.7.1)
    
    ---
    updated-dependencies:
    - dependency-name: org.cyclonedx:cyclonedx-maven-plugin
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Jul 20, 2022
    Configuration menu
    Copy the full SHA
    7e78e23 View commit details
    Browse the repository at this point in the history

Commits on Jul 21, 2022

  1. build(deps): bump maven-deploy-plugin from 2.8.2 to 3.0.0 (#395)

    Bumps [maven-deploy-plugin](https://github.com/apache/maven-deploy-plugin) from 2.8.2 to 3.0.0.
    - [Release notes](https://github.com/apache/maven-deploy-plugin/releases)
    - [Commits](apache/maven-deploy-plugin@maven-deploy-plugin-2.8.2...maven-deploy-plugin-3.0.0)
    
    ---
    updated-dependencies:
    - dependency-name: org.apache.maven.plugins:maven-deploy-plugin
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Jul 21, 2022
    Configuration menu
    Copy the full SHA
    f96f35d View commit details
    Browse the repository at this point in the history

Commits on Jul 25, 2022

  1. Fix: Renderers fail when processing range HTTP status code such as '2…

    …XX' (#397)
    
    Both Markdown and Console renderer fail when trying to process a range HTTP status code, e. g. '2XX'. So any diff that results in an output including such a status code fails to render for markdown and console.
    The error occurs when trying to parse the String HTTP status code into an Integer right here (both in Markdown and Console renderer):
    ```java
    if (!code.equals("default")) {
         // Integer.parseInt(code) fails when passing e. g. '2XX'
        status = HttpStatus.getReasonPhrase(Integer.parseInt(code));
    }
    ```
    JSON and HTML renderer are not affected, since they do not try to display the 'reason phrase'. Everything else, the actual diff process etc. is also not affected.
    
    # Expected behavior
    
    Expected ranges of HTTP status codes, like '2XX' covering all codes between 200-299, to be treated like any other HTTP status code, since they have been part of the OpenAPI specification since version [3.0.0](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.0.md#patterned-fields-1).
    TimoBehrendt authored Jul 25, 2022
    Configuration menu
    Copy the full SHA
    da18a85 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    16616c6 View commit details
    Browse the repository at this point in the history
Loading