Pierre Fenoll

Results 240 comments of Pierre Fenoll

What does expanding a spec with a self-referencing schema look like?

Can you explain your use case a bit more? Whatโ€™s the benefit here?

So some HTML-generating tools have issues with larger specs. In this case why not patch these tools directly? If I understand correctly you want code that just dereferences some $ref.s,...

One needs a way to be able to pass context or encoding options when marshalling. If you can find the time to do it and open a PR I'll merge...

@bhechinger From #230 we most probably will move to use https://github.com/qri-io/jsonschema instead of the lib in this PR. I didn't start work on this yet.. maybe give it a shot?

This may be related to https://github.com/getkin/kin-openapi/issues/542

@shlomi-dr Oh do you need to set this to a value greater than `3` and if yes can you share that openapi document?

Thanks for the kind words! :) > as long as that same test passes They do. Also #607 has your OpenAPI document but minimized (thanks @TristanSpeakEasy for that!).

Hi @biancarosa! One way to add nullable true is simply to set the Schema struct field. For instance with your Commit example (untested code): ```go // ... gen.addSchema("v1.Image", &models.Image{}) gen.Components.Schemas["v1.Image"].Value.Properties["Commit"].Value.Nullable...

> Is my interpretation correct here? There's only one way to be sure ;)