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

Does RESTler respect dependencies in the schema? #903

Open
henning410 opened this issue Jul 8, 2024 · 0 comments
Open

Does RESTler respect dependencies in the schema? #903

henning410 opened this issue Jul 8, 2024 · 0 comments

Comments

@henning410
Copy link

Description

Let's say, I have the following OAS content in components --> schema:

Book:
      type: object
      properties:
        id:
          type: number
          example: 1
          description: ID of the book
        title:
          type: string
          example: Harry Potter
          description: Title of the book
        person:
          description: Person who owns the book
          allOf:
            - $ref: '#/components/schemas/Person'
      required:
        - id
        - title
        - person

Does RESTler somehow respect the reference in schema Book to another schema? I have some error in my app that appears, when the person is deleted and the book retrieved. However, RESTler does not find the correct sequence DELETE person --> GET book. In the grammar.json I don't see anything special. Is this something, what RESTler can't do?

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

No branches or pull requests

1 participant