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: getkin/kin-openapi
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.128.0
Choose a base ref
...
head repository: getkin/kin-openapi
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.129.0
Choose a head ref
  • 19 commits
  • 77 files changed
  • 15 contributors

Commits on Oct 8, 2024

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

Commits on Oct 14, 2024

  1. openapi3: skip a test in CI to avoid 403s from some remote server (#1019

    )
    
    Signed-off-by: Pierre Fenoll <pierrefenoll@gmail.com>
    fenollp authored Oct 14, 2024
    Configuration menu
    Copy the full SHA
    75728b3 View commit details
    Browse the repository at this point in the history

Commits on Oct 16, 2024

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

Commits on Oct 21, 2024

  1. openapi3: reference originating locations in YAML specs - step 1 (#1007)

    * add origin - step 1
    
    * delete origin from content
    
    * point to Origin
    
    * make include origin configurable
    
    * generic unmarshalStringMap
    
    * add origin to more components
    
    * revert comments
    
    * use const originKey
    
    * comment to Scopes
    
    * test more specs
    
    * Fix Discriminator
    
    * update docs
    
    * test on a decent set of dedicated specs
    
    * remove trainling spaces
    
    * add comments
    
    * remove trailing whitespace
    
    * update docs
    
    * dedicated tests
    
    * update docs
    
    * remove whitespace
    
    * rm empty line
    
    * rm last newline
    
    * add tests
    
    * rm unused test files
    
    * update deps
    
    * fix paths test
    
    * test components/security
    
    * fix LF
    
    * include origin in unmarshal maps
    
    * move component unmarshallers to respective files
    
    * fix test (json-schema 301)
    
    * Add github.com/pb33f/libopenapi (#1004)
    
    * Add github.com/pb33f/libopenapi
    
    it looks like a reasonable alternative
    
    * Update README.md
    
    ---------
    
    Co-authored-by: Pierre Fenoll <pierrefenoll@gmail.com>
    
    * Introduce an option to override the regex implementation (#1006)
    
    * make form required field order deterministic (#1008)
    
    * openapi2: fix un/marshalling discriminator field (#1011)
    
    * fix: issue unmarshalling when discriminator field is set in openapi2.0
    
    * revert original approach
    
    * update with different approach
    
    * Revert "update with different approach"
    
    This reverts commit 2db2b39.
    
    * v2 schema with discriminator field set as string
    
    * update ref link and comment
    
    * run docs.sh
    
    * README: add Fuego to dependents (#1017)
    
    * openapi3: skip a test in CI to avoid 403s from some remote server (#1019)
    
    Signed-off-by: Pierre Fenoll <pierrefenoll@gmail.com>
    
    * revert fix test (json-schema 301)
    
    * openapi3: introduce StringMap type to enable unmarshalling of maps with Origin (#1018)
    
    * add origin to more components
    
    * Fix Discriminator
    
    * update docs
    
    * update doccs
    
    * merge with stringmap
    
    * remove unused Scopes
    
    ---------
    
    Signed-off-by: Pierre Fenoll <pierrefenoll@gmail.com>
    Co-authored-by: Jille Timmermans <jille@quis.cx>
    Co-authored-by: Pierre Fenoll <pierrefenoll@gmail.com>
    Co-authored-by: Alexander Bakker <ab@alexbakker.me>
    Co-authored-by: Justin Sherrill <jlsherrill@gmail.com>
    Co-authored-by: Jay Shah <jay.shah@konghq.com>
    Co-authored-by: Ewen Quimerc'h <46993939+EwenQuim@users.noreply.github.com>
    7 people authored Oct 21, 2024
    Configuration menu
    Copy the full SHA
    c333b34 View commit details
    Browse the repository at this point in the history

Commits on Oct 23, 2024

  1. openapi3: reference originating locations in YAML specs - step 2 (#1024)

    * add origin to example
    
    * remove unneeded test
    
    * add origin to xml
    
    * document origin extra field in example
    reuvenharrison authored Oct 23, 2024
    Configuration menu
    Copy the full SHA
    7145b2c View commit details
    Browse the repository at this point in the history

Commits on Oct 24, 2024

  1. openapi3: process discriminator mapping values as refs (#1022)

    * openapi3: make StringMap generic over value
    
    This allows us to support more use cases than just a string, allowing us to
    attach more metadata onto these StringMap types that we cannot encode in just a
    string.
    
    * openapi3: process discriminator mapping values as refs
    
    While the type of the discriminator mapping values is a string in the
    upstream specs, it contains a jsonschema reference to a schema object.
    It is surprising behaviour that these refs are not handled when calling
    functions such as InternalizeRefs.
    
    This patch adds the data structures to store the ref internally, and
    updates the Loader and InternalizeRefs to handle this case. There may be
    several more functions that need to be updated that I am not aware of.
    
    Since it is not a full Ref object we have to do some fudging to make it
    work with all the existing ref handling code.
    jgresty authored Oct 24, 2024
    Configuration menu
    Copy the full SHA
    4d76e26 View commit details
    Browse the repository at this point in the history

Commits on Nov 3, 2024

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

Commits on Nov 8, 2024

  1. Configuration menu
    Copy the full SHA
    344c7d3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4fda0cc View commit details
    Browse the repository at this point in the history

Commits on Nov 13, 2024

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

Commits on Nov 26, 2024

  1. Configuration menu
    Copy the full SHA
    02a0d6f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    be48da5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    793b28d View commit details
    Browse the repository at this point in the history

Commits on Dec 11, 2024

  1. use forked yaml modules without "replace" (#1038)

    * fix: thoroughly replace yaml packages with oasdiff's
    
    Signed-off-by: Pierre Fenoll <pierrefenoll@gmail.com>
    
    * require updated yaml modules
    
    * go mod tidy
    
    ---------
    
    Signed-off-by: Pierre Fenoll <pierrefenoll@gmail.com>
    Co-authored-by: Pierre Fenoll <pierrefenoll@gmail.com>
    reuvenharrison and fenollp authored Dec 11, 2024
    Configuration menu
    Copy the full SHA
    d819171 View commit details
    Browse the repository at this point in the history
  2. openapi3: update date schema formats to not match months or days of '…

    …00' (#1042)
    
    * Update date schema formats to not match months or days of '00'
    
    * Update schema_issue492_test.go to look for correct DateTime format in error output
    
    * Add test cases for '00' months and days in date and date-time objects
    
    * Change date/time validation test cases to use EqualError
    
    * Fix hour/minute/second matches as well - also update tests
    RulerOfTheQueendom authored Dec 11, 2024
    Configuration menu
    Copy the full SHA
    b82c647 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    20441ea View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    325cecc View commit details
    Browse the repository at this point in the history

Commits on Dec 24, 2024

  1. openapi3filter: validation of x-www-form-urlencoded with arbitrary …

    …nested allOf (#1046)
    
    * improper validation of x-www-form-urlencoded with arbitrary nested allOf (#1045)
    
    * extend test cases
    
    ---------
    
    Co-authored-by: Aleksey Mikhaylov <mikhailov.av@exmo.com>
    mikhalytch and mikhailovavexmocom authored Dec 24, 2024
    Configuration menu
    Copy the full SHA
    f476f7b View commit details
    Browse the repository at this point in the history
  2. openapi2conv: convert references in nested additionalProperties schem…

    …as (#1047)
    
    * Convert references in nested additionalProperties schemas
    
    When the schema specified in additionalProperties contains another
    nested schema with additionalProperties, the references must be
    converted at all of levels of the nested schemas.
    
    * make toV3AdditionalProperties a non-exported function
    travisnewhouse authored Dec 24, 2024
    Configuration menu
    Copy the full SHA
    cea0a13 View commit details
    Browse the repository at this point in the history
Loading