Comments (9)
Interestingly - I also wrote cornice marshmallow support :), I did not look at cornice.ext.apispec - they have that package that currently supports colander schemes.
I don't know why the docblock is not being read, you would have to do some debugging on your end, probably introspection does not pick cornice services or its wrapped somehow.
from pyramid_apispec.
The problem seems to be, that in pyramid_apispec.helpers.add_pyramid_paths
it detects 3 introspectables
(in the playground, without Cornice, only 1). That alone seems not to be the problem, but that the last of the 3 does not have the __doc__
anymore..
Ideas?
from pyramid_apispec.
Ah. There must be some exclusion on maybe_view.get("callable").__name__ == '_fallback_view'
...
from pyramid_apispec.
That's probably caused by cornice internals and venusian handling that.
I don't really have time to look at that right now, but it would be easier for us to test if you could provide a minimal test case, it would be useful to file a bug against pyramid_apispec or cornice depending on where the problem appears.
I could look at it when I have a moment, debugging from screenshots will be hard.
from pyramid_apispec.
Sure, I will prepare something. Thanks for your fast replies :)
from pyramid_apispec.
Looking forward for your feedback @ergo
from pyramid_apispec.
@pansen Hey, I've left some comments for you.
from pyramid_apispec.
@pansen hey any news on this?
from pyramid_apispec.
This issue was fixed by other commits.
from pyramid_apispec.
Related Issues (13)
- apispec beta tag issue HOT 4
- Overwriting paths in the spec HOT 1
- Unable to generate API specification using marshmallow schema containing field having type as list/array of String eg. myfield = [βstr1β,βstr2β]. My Marshmallow version=3.6.1 HOT 5
- Example in README doesn't work with apispec >= 2.0.0 HOT 4
- Does this SwaggerUI supports swagger format 3.0.0? HOT 2
- Schema exemple render not working properly HOT 1
- Error when loading demo HOT 3
- Redoc UI HOT 2
- Different views based on match_param predicates are not documented separately HOT 1
- New release? HOT 2
- Support routes with regular expression HOT 3
- Internet access is required to use api explorer HOT 2
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 pyramid_apispec.