10000 Can't decorate Swagger documentation · Issue #414 · api-platform/api-platform · GitHub
[go: up one dir, main page]

Skip to content
Can't decorate Swagger documentation #414
Closed
@reminec

Description

@reminec
  1. create a fresh project api-platform 2.1 with composer create-project
  2. Trying to decorate the Swagger documentation following the guide
  3. Get error :
[Symfony\Component\DependencyInjection\Exception\RuntimeException]             
app_1      |     The definition "serializer" has a reference to an abstract definition "abst    
app_1      |     ract.instanceof.AppBundle\Swagger\SwaggerDecorator". Abstract definitions c    
app_1      |     annot be the target of references. 

This MR in docs repository api-platform/docs#267 don't solve the problem.

I setup a repository if you want reproduce the issue :
https://github.com/reminec/api-platform-swagger-decorator-issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0