openapi icon indicating copy to clipboard operation
openapi copied to clipboard

openapi schema serialization for rust

Results 27 openapi issues
Sort by recently updated
recently updated
newest added

Support for $ref as text was added before. But ideally these $ref are deserialized into pointers to other structs or something like that. The deserialization should fail if the ref...

It's not easy to initialize a `Parameter` if all fields are not public and I think it makes sens to be able to change the style.

Crate version 0.1.5 does not include OpenApi 3.0 support, though it looks like the code for it has already been written. Can this be published?

Is there a plan to support v3.1 ? https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.1.0.md I would need such parser and I would be willing to contribute it here as a PR.

As [Travis CI seems to phase out its support of open-source projects](https://blog.travis-ci.com/2020-11-02-travis-ci-new-billing), this introduces GitHub Actions instead. With this configuration, tests are run on Ubuntu Linux, macOS, and Windows. On...

this crate is unable to deserialize the document shown here, in the OpenAPI v2 spec: https://swagger.io/docs/specification/2-0/basic-structure/ . It fails with the following error: ``` ---- test_basic_structure stdout ---- thread 'test_basic_structure'...

Fix for failure on securityScheme 'basic' the 'bearer_format' should be optional for http

Hi... First, great work... I'm having a lot of trouble with parsing yaml files. But, it's really difficult to determine where the error lies. All I get is: error: Yaml(Message("data...

Not ready to merge I was testing with some files and most of they failed because of something missing. I've added just what I need. One step at a time!

https://github.com/OAI/OpenAPI-Specification/blob/master/schemas/v2.0/schema.json