marshmallow-oneofschema icon indicating copy to clipboard operation
marshmallow-oneofschema copied to clipboard

Generated OpenAPI Spec Documentation?

Open arthurvanduynhoven opened this issue 2 years ago • 1 comments

I am using oneOfSchema one of my api endpoints.

I also use autogenerated documentation using apispec library.

I was expecting to see generated docs based on type_field and type_schemas. But I see nothing being generated.

Does this class work with autogenerated docs? or am I missing some configuration?

Thanks,

Art

arthurvanduynhoven avatar Jan 17 '22 10:01 arthurvanduynhoven

There is nothing automatic here to my knowledge.

I think this was already discussed in apispec. A quick searched found this thread: https://github.com/marshmallow-code/apispec/issues/506.

The thing is this lib does not depend on apispec and conversely.

lafrech avatar Jan 17 '22 11:01 lafrech