Comments (4)
Here's a minimal sample I made:
Here's the output when compiling:
$ RUST_BACKTRACE=1 cargo-swagg openapi-with-array.yaml
thread 'main' panicked at 'not implemented', /home/jarcand/.cargo/registry/src/github.com-1ecc6299db9ec823/swagg-0.3.0/src/highway/mod.rs:269:40
stack backtrace:
0: rust_begin_unwind
at /rustc/8f349be27815d43d462a32faeb270a22a68486b6/library/std/src/panicking.rs:493:5
1: core::panicking::panic_fmt
at /rustc/8f349be27815d43d462a32faeb270a22a68486b6/library/core/src/panicking.rs:92:14
2: core::panicking::panic
at /rustc/8f349be27815d43d462a32faeb270a22a68486b6/library/core/src/panicking.rs:50:5
3: swagg::highway::parse_ref_or_schema
4: swagg::highway::parse_ref_or_schema
5: swagg::to_string
6: cargo_swagg::main
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
from actix-swagger.
Hello, thank you for contribution.
can you attach an example swagger file with spec that fails? I going to implement array support
from actix-swagger.
Thank you. I'm going to review and fix it
from actix-swagger.
This is a significant blocker for adoption of actix-swagger.
from actix-swagger.
Related Issues (20)
- Add support for security schemes
- Custom attributes
- Custom type
- Add github-action to regenerate code on swagger file changes
- Ignore clippy warnings in generated code HOT 2
- Generate path with `Answer` HOT 1
- Convert generated response to `actix_swagger::Answer` through `Into`
- Extract header value
- no default features for actix-web HOT 2
- Usage issue HOT 1
- Think about plugin system for presets
- Cannot use project with Actix-web 4.2.1 HOT 1
- Parsing arguments fails HOT 3
- Isolate implementation details from application
- Remove Answer<'static from route implementation HOT 1
- Add option to serve Swagger UI
- Add support for JSON Swagger Schema
- Generator fails on simple input
- Escape reserved keywords
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from actix-swagger.