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.123.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.124.0
Choose a head ref
  • 19 commits
  • 56 files changed
  • 19 contributors

Commits on Jan 22, 2024

  1. ci: make sure go-run'ing binaries works (#894)

    Signed-off-by: Pierre Fenoll <[email protected]>
    fenollp authored Jan 22, 2024
    Configuration menu
    Copy the full SHA
    e0f8dbd View commit details
    Browse the repository at this point in the history

Commits on Jan 23, 2024

  1. Make the JSON body decode public (#896)

    * Make the JSON body decode public
    
    This makes it easier for a consumer of the library to
    register a media type that is JSON formatted, such as
    the many `+json` formats that are available.
    
    Existing tests cover the renamed func.
    
    Fixes #891
    
    * add to .github docs
    cdent authored Jan 23, 2024
    Configuration menu
    Copy the full SHA
    7d030b2 View commit details
    Browse the repository at this point in the history

Commits on Jan 29, 2024

  1. add Delete operation to maplike structs (#899)

    * add Delete operation to maplike structs
    
    * update docs/openapi3.txt
    tcdsv authored Jan 29, 2024
    Configuration menu
    Copy the full SHA
    529285c View commit details
    Browse the repository at this point in the history

Commits on Feb 2, 2024

  1. openapi3filter: fix x-www-form-urlencoded decoder for oneOf, anyOf,…

    … and allOf (#903)
    
    Co-authored-by: Andrii Savitskyi <[email protected]>
    imtaketa and savitskyiandrii authored Feb 2, 2024
    Configuration menu
    Copy the full SHA
    55bc380 View commit details
    Browse the repository at this point in the history

Commits on Feb 11, 2024

  1. openapi3filter: add Unwrap() method to SecurityRequirementsError (#905

    )
    
    * fix: add Unwrap method to SecurityRequirementsError
    
    * openapi3filter: add Example for AuthenticationFunc
    
    ---------
    
    Co-authored-by: Nicholas Jackson <[email protected]>
    nickajacks1 and Nicholas Jackson authored Feb 11, 2024
    Configuration menu
    Copy the full SHA
    439335c View commit details
    Browse the repository at this point in the history
  2. openapi3: introduce LoadFromIoReader (#906)

    * add loader from io.Reader
    
    * fix docs
    
    * fix whitespace
    
    * fix loader := NewLoader()
    Reuven Harrison authored Feb 11, 2024
    Configuration menu
    Copy the full SHA
    3bbab36 View commit details
    Browse the repository at this point in the history

Commits on Feb 20, 2024

  1. openapi3filter: support deepObject with nested objects and array para…

    …meters (#911)
    
    * support arrays
    
    * support for nested objects
    
    * update
    
    * dont check found on error and parse primitives
    
    * update
    
    * make delimiters internal
    
    * equal error
    
    * ParseError
    
    * additionalProperties attempt
    
    * clean
    
    * single delimiter
    
    * implement nested object array
    
    * extra test
    
    * FIXME - nested array type check
    
    * validate array item types - should refactor
    
    * extra index check
    
    * refactor
    
    * add tests
    
    * complete path for parse errors and remove panic
    
    * remove comment
    
    * full coverage on makeObject
    
    * exit early on parse error
    danicc097 authored Feb 20, 2024
    Configuration menu
    Copy the full SHA
    05ccac2 View commit details
    Browse the repository at this point in the history

Commits on Feb 25, 2024

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

Commits on Mar 5, 2024

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

Commits on Mar 9, 2024

  1. openapi3filter: fix array of primitives query parameter types (#921)

    * fix array of primitives query parameter types
    
    * update tests
    
    * fix parameter checks
    
    * add test cases
    danicc097 authored Mar 9, 2024
    Configuration menu
    Copy the full SHA
    05453ef View commit details
    Browse the repository at this point in the history

Commits on Mar 11, 2024

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

Commits on Mar 22, 2024

  1. openapi3filter: deepObject array of objects and array of arrays suppo…

    …rt (#923)
    
    * fix array of primitives query parameter types
    
    * update tests
    
    * fix parameter checks
    
    * add test cases
    
    * update
    
    * update
    
    * deepget
    
    * work on deep set
    
    * working on array of object deep set
    
    * update
    
    * fix current deepset
    
    * attempt array of arrays
    
    * fix deepset - TODO support deeply nested keys via deepget and recursion
    
    * notes for simpler deepset and deepget
    
    * deepset and deepget tests update
    
    * bring back previous deepset and get
    
    * remove duplicate tests with old deepset
    
    * nested array of object test
    
    * deepset construct obj
    
    * intermediate array building
    
    * broken
    
    * update
    
    * update
    
    * fix array of object parsing
    
    * FIXME error messages in tests
    
    * update errors
    
    * update - need error updates
    
    * update some tests
    
    * build array of primitives properly
    
    * dont support implicit array index based on param position
    
    * additional props
    
    * test update
    
    * notes for early return when params not set
    
    * update
    
    * update tests
    
    * FIXME - ignore unset nullable params
    
    * remove empty params from obj
    
    * update tests
    
    * fix tests
    
    * array of arrays check
    
    * dont error on unset keys if addit properties
    
    * additional properties with object properties
    
    * test additional properties
    
    * notes for out of scope validation in decoder
    
    * start moving test
    
    * remove some param validation from decoder
    
    * allow empty map elements
    
    * allow array of arrays
    
    * clean and use primitive return val
    
    * let decoder return wrong values and fix tests
    
    * should bring back array index missing error
    
    * update tests
    
    * validate array indexes are set at decoder level and full coverage
    
    * bring back test
    
    * address issues
    
    * use exp slices
    
    * remove old fn
    
    * remove duplicate parse test
    
    * dont test ParseError in request validation
    
    * oneof anyof allof draft
    
    * primitives anyof oneof allof decode
    
    * pending objects
    
    * notes
    
    * update decode for keywords
    
    * drop exp dependency
    danicc097 authored Mar 22, 2024
    Configuration menu
    Copy the full SHA
    78bb273 View commit details
    Browse the repository at this point in the history

Commits on Apr 6, 2024

  1. openapi3gen: allow overriding how a Schema is generated (#920)

    * openapi3gen: adds custom schema definition for client implementing our interface
    
    * Add Unitest and trigger docs.sh (#1)
    
    * add unitest, generate docs
    
    * test: change test setschema to example
    
    ---------
    
    Co-authored-by: Taufik Rama <[email protected]>
    Co-authored-by: Ferianto Surya Wijaya <[email protected]>
    Co-authored-by: blackhun11 <[email protected]>
    4 people authored Apr 6, 2024
    Configuration menu
    Copy the full SHA
    5aee5fc View commit details
    Browse the repository at this point in the history
  2. openapi3gen: rename example to show up in docs (#932)

    Signed-off-by: Pierre Fenoll <[email protected]>
    fenollp authored Apr 6, 2024
    Configuration menu
    Copy the full SHA
    134eaa0 View commit details
    Browse the repository at this point in the history
  3. openapi3: implement YAML Marshaller interface for paths and responses (

    …#931)
    
    * implement YAML Marshaler for paths and responses
    
    * gen docs
    
    ---------
    
    Co-authored-by: Roman Bolkhovitin <[email protected]>
    nobbynobbs and Roman Bolkhovitin authored Apr 6, 2024
    Configuration menu
    Copy the full SHA
    5a2e949 View commit details
    Browse the repository at this point in the history
  4. openapi3filter: some syntax tweaks (#933)

    Signed-off-by: Pierre Fenoll <[email protected]>
    fenollp authored Apr 6, 2024
    Configuration menu
    Copy the full SHA
    5a6afbe View commit details
    Browse the repository at this point in the history
  5. openapi3: tests for #931 (#887)

    * repro #883
    
    Signed-off-by: Pierre Fenoll <[email protected]>
    
    * try harder
    
    Signed-off-by: Pierre Fenoll <[email protected]>
    
    * skip yaml unmarshaler for maplike types for now
    
    Signed-off-by: Pierre Fenoll <[email protected]>
    
    * docs.sh
    
    Signed-off-by: Pierre Fenoll <[email protected]>
    
    ---------
    
    Signed-off-by: Pierre Fenoll <[email protected]>
    fenollp authored Apr 6, 2024
    Configuration menu
    Copy the full SHA
    b6f165a View commit details
    Browse the repository at this point in the history
  6. openapi3filter: guard BodyEncoder registration behind a RW lock (#934)

    * openapi3filter: guard BodyEncoder registration behind a RW lock
    
    Signed-off-by: Pierre Fenoll <[email protected]>
    
    * docs.sh
    
    Signed-off-by: Pierre Fenoll <[email protected]>
    
    ---------
    
    Signed-off-by: Pierre Fenoll <[email protected]>
    fenollp authored Apr 6, 2024
    Configuration menu
    Copy the full SHA
    8d57cda View commit details
    Browse the repository at this point in the history
  7. openapi3gen: add CreateComponentSchemas option to export object schem…

    …as to components (#935)
    
    Co-authored-by: Omer E <[email protected]>
    fenollp and tcdsv authored Apr 6, 2024
    Configuration menu
    Copy the full SHA
    9dbb4c3 View commit details
    Browse the repository at this point in the history
Loading