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

Response schema validation #720

Closed
yaswanth-godspeed opened this issue Nov 1, 2023 · 0 comments
Closed

Response schema validation #720

yaswanth-godspeed opened this issue Nov 1, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@yaswanth-godspeed
Copy link
Contributor

yaswanth-godspeed commented Nov 1, 2023

Response schema validation is not working.
With below event and workflow examples, not getting any error or warning.
directly getting output - {name:{}}

Event:

http.get./helloworld:
  fn: helloworld
  authn: false
  body:
    type: object
    properties:
      name:
        type: string
  responses:
    200:
      content:
        application/json:
          schema:
            type: object
            properties:
              name:
                type: string

workflow:

id: helloworld
tasks:
  - id: fist_task
    fn: com.gs.return
    args:
      name: {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants