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: go-openapi/analysis
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.21.5
Choose a base ref
...
head repository: go-openapi/analysis
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.22.2
Choose a head ref
  • 6 commits
  • 40 files changed
  • 1 contributor

Commits on Dec 21, 2023

  1. fix(flatten): added option to skip automatic camel-case

    * contributes go-swagger/go-swagger#2334
    
    Signed-off-by: Frederic BIDON <[email protected]>
    fredbi committed Dec 21, 2023
    Configuration menu
    Copy the full SHA
    b9463f9 View commit details
    Browse the repository at this point in the history

Commits on Dec 22, 2023

  1. fix(flatten): allows the use of pointers to schemas in x-... extensions

    This PR allows for reusing schemas stored in x-... extensions of the
    spec, via json pointers.
    
    We have seen some specs using such extensions to create "alternate
    definitions". The spec flattening canonicalizes such schemas by
    reintroducing them as #/definitions, so they can be consumed by codegen.
    
    * requires: go-openapi/jsonpointer#16
    * contributes: go-swagger/go-swagger#1898
    
    Signed-off-by: Frederic BIDON <[email protected]>
    fredbi committed Dec 22, 2023
    Configuration menu
    Copy the full SHA
    9c9799f View commit details
    Browse the repository at this point in the history
  2. chore(deps): updated go-openapi deps

    Signed-off-by: Frederic BIDON <[email protected]>
    fredbi committed Dec 22, 2023
    Configuration menu
    Copy the full SHA
    6064bf5 View commit details
    Browse the repository at this point in the history

Commits on Dec 23, 2023

  1. fix(flatten): remove unused acts recursively

    Whenever unused definitions are removed, some new definitions may appear
    as unused. This PR goes does this rabbit hole to delete all unused
    definitions until no unused candidate shows up.
    
    * contributes go-swagger/go-swagger#2657
    
    Signed-off-by: Frederic BIDON <[email protected]>
    fredbi committed Dec 23, 2023
    Configuration menu
    Copy the full SHA
    3f1a920 View commit details
    Browse the repository at this point in the history

Commits on Dec 26, 2023

  1. Fix/ci warnings (#92)

    * fix(ci): muted warnings in CI runs due to cache conflicts
    * ci: fixed test coverage for sub packages
    * tests: added unit tests to the internal packages
    
    This recovers a bit of the loss of test coverage ratio after accounting
    for all source files.
    
    Signed-off-by: Frederic BIDON <[email protected]>
    fredbi authored Dec 26, 2023
    Configuration menu
    Copy the full SHA
    3e717a5 View commit details
    Browse the repository at this point in the history

Commits on Jan 9, 2024

  1. test(flatten): asserts that the ExpandSpec fix in spec works

    This reproduces the $ref issue with relative paths in sibling folders
    in responses (same applies to parameters, but not schemas).
    
    Added a test to verify that:
    * (i) the invalid path that used to work no longer does
    * (ii) the valid path that used not to work now does
    
    * contributes go-swagger/go-swagger#2743
    
    Signed-off-by: Frederic BIDON <[email protected]>
    fredbi committed Jan 9, 2024
    Configuration menu
    Copy the full SHA
    5d13d1c View commit details
    Browse the repository at this point in the history
Loading