Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redundant description on arrays #61

Closed
jayvdb opened this issue May 22, 2020 · 3 comments
Closed

Redundant description on arrays #61

jayvdb opened this issue May 22, 2020 · 3 comments
Labels
enhancement New feature or request

Comments

@jayvdb
Copy link
Contributor

jayvdb commented May 22, 2020

    InlineConcreteBundle:
      type: object
      properties:
        id:
          type: integer
          readOnly: true
        triggering_product:
          type: integer
          description: Which product should trigger this bundle?
        suggested_products:
          type: array
          items:
            type: integer
            description: Which product(s) should this bundle suggest when triggered?
          description: Which product(s) should this bundle suggest when triggered?
      required:
      - id
      - suggested_products
      - triggering_product
@tfranzel
Copy link
Owner

good catch. i see that the improved introspection also brought some unintended side effects.

@tfranzel tfranzel added the enhancement New feature or request label May 22, 2020
@tfranzel
Copy link
Owner

i could only see the issue with m2m fields which is fixed now. that is what i assume this is here.

if it persists, i would like to see a snippet of that serializer.

@jayvdb
Copy link
Contributor Author

jayvdb commented May 22, 2020

I didnt confirm it was a m2m field, but your fix did the trick. Thx.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants