kin-openapi icon indicating copy to clipboard operation
kin-openapi copied to clipboard

OpenAPI 3.0 (and Swagger v2) implementation for Go (parsing, converting, validation, and more)

Results 214 kin-openapi issues
Sort by recently updated
recently updated
newest added

Fixes stack overflow panic when schema includes link to itself, like: ``` components: schemas: Item: type: object properties: Name: type: string ParentLink: $ref: '#/components/schemas/Item' ```

Signed-off-by: Pierre Fenoll

This PR aims at closing issue #482. I also added support for int32/64 integer formats during data validation.

When trying to load a spec from a YAML file containing an object with a key called `null` the following error is raised: ``` error converting YAML to JSON: Unsupported...

FIndRoute Does Not Check enum server port. Ports are specified by Server Variable Object, enumeration values that were not declared as default cannot use. I referred to the example of...

**Maintainer EDIT:** *Want to see this move forward? Jump to [this comment](https://github.com/getkin/kin-openapi/issues/230#issuecomment-1002659224)* --- First release candidate has been put up: https://github.com/OAI/OpenAPI-Specification/releases/tag/3.1.0-rc0 Creating this issue to track what work needs to...

enhancement
help wanted

I'm trying to parse an OpenAPI 3.0.3 document that exists on my local file system, divided into several files. I've narrowed the behaviour to following test case. Files (all exist...

According to the json schema upon which OpenAPI spec relies, `type` keyword can be either a string or an array. > The value of this keyword MUST be either a...

when i try to test oneOf under reference object, it matches single individual input data with all the schemas under oneOf and giving error as below. > request body has...

bug