Christian Boitel

Results 15 comments of Christian Boitel

i would use serverStartup only if examples are not provided: after all, apisprout is all about serving examples

It's been 6 months since this pull request was submitted (along with some others). Project seems to be stalled: correct ? It is still in active development ? If not,...

When creating a [loader](https://pkg.go.dev/github.com/getkin/kin-openapi/openapi3#Loader), you can define: 1. IsExternalRefsAllowed boolean to allow/prevent external references from being used 3. a ReadFromURIFunc (defaults to [DefaultReadFromURI](https://pkg.go.dev/github.com/getkin/kin-openapi/openapi3#pkg-variables)) which will allow to fine tune operations....

You are right if you disable external reference usage, you will get an error in such case. As for missing external references, your source document is somewhat invalid since it...

Here is an example: ``` package main import ( "bytes" "context" "fmt" "net/http" "github.com/getkin/kin-openapi/openapi3" "github.com/getkin/kin-openapi/openapi3filter" legacyrouter "github.com/getkin/kin-openapi/routers/legacy" ) var openapiDoc = []byte(` openapi: 3.0.3 info: version: v0.1.0 title: Integer Sample...

Note that the following code demonstrate that json encoding always return float64 even for integers while yaml returns int ``` package main import ( "encoding/json" "fmt" "gopkg.in/yaml.v2" ) func main()...

Submitted a PR to: 1. fix this (also added tests with YAML decoded data not only JSON data) 2. enhance integer support (added limit checks for int32/int64 formats)

@fenollp ready for review

@fenollp finally made up with implementing a string format support based on OpenAPI minor version

Nope. Just missed it while I was on vacations. Will get back to it next week.