oas3-rs icon indicating copy to clipboard operation
oas3-rs copied to clipboard

Structures and tools to parse, navigate and validate OpenAPI v3 specifications.

Results 11 oas3-rs issues
Sort by recently updated
recently updated
newest added

Hi, thank you for creating this crate - very useful! I am trying to see if i can extract custom extensions (in my case for Operation struct). According to spec,...

Hello there, I was having to parse a 3.1 json and noticed that some of the structures hadn't been updated yet. The documents I used were: - https://www.openapis.org/blog/2021/02/16/migrating-from-openapi-3-0-to-3-1-0 - https://spec.openapis.org/oas/v3.1.0.html#parameter-object...

Cannot call `resolve` on `ObjectOrReference`. In a minimal example project, the compiler error message: > the method `resolve` exists for enum `ObjectOrReference`, but its trait bounds were not satisfied the...

I run into a stack overflow due to a unrestricted recursion in some of my defined schemas while using `ValidationTree::from_schema`. Test case: ```rust const SCHEMA: &str = r##"{ "openapi": "3.0.3",...

bug
help wanted

Bumps [taiki-e/install-action](https://github.com/taiki-e/install-action) from 2.44.5 to 2.44.35. Release notes Sourced from taiki-e/install-action's releases. 2.44.35 Update release-plz@latest to 0.3.99. 2.44.34 Update cargo-binstall@latest to 1.10.8. Update xh@latest to 0.23.0. 2.44.33 Update cargo-llvm-cov@latest to...

dependencies
github_actions

Bumps [actions-rust-lang/setup-rust-toolchain](https://github.com/actions-rust-lang/setup-rust-toolchain) from 1.9.0 to 1.10.1. Release notes Sourced from actions-rust-lang/setup-rust-toolchain's releases. v1.10.1 Fix problem matcher for rustfmt output. The format has changed since rust-lang/rustfmt#5971 and now follows the form...

dependencies
github_actions

As per https://spec.openapis.org/oas/v3.1.1.html#fixed-fields, there is an optional property named `jsonSchemaDialect`. On this one (and maybe others), one should be aware of the followings: 1. it is optional and has a...

enhancement
help wanted

I was test driving the library using the pet-store example on swagger.io: https://petstore31.swagger.io/api/v31/openapi.json This contains things like: ``` "requestBody" : { "description" : "Pet object that needs to be updated...

This pull request refactors the `ObjectSchema` struct to use the more general `Schema` type for several fields, allowing support for boolean schemas (`true`/`false`) in places like `properties`, `allOf`, `anyOf`, `oneOf`,...

**Bug** Parsing OpenAPI 3.1 schemas generated by [aide](https://github.com/tamasfe/aide), where some properties use boolean schemas (e.g. `"data": true`), fails with an error: ``` did not match any variant of untagged enum...