Skip to content

OauthAuthorization workflow not properly parsed #709

@fjtirado

Description

@fjtirado

When parsing the workflow definition below, The HTTP task is not identified as such.

document:
  dsl: '1.0.0-alpha5'
  namespace: examples
  name: oauth2-authentication
  version: '0.1.0'
do:
  - getPet:
      call: http
      with:
        method: get
        endpoint:
          uri: https://petstore.swagger.io/v2/pet/{petId}
          authentication:
            oauth2:
              authority: http://keycloak/realms/fake-authority
              endpoints: #optional
                token: /auth/token #defaults to /oauth2/token
                introspection: /auth/introspect #defaults to /oauth2/introspect
              grant: client_credentials
              client:
                id: workflow-runtime-id
                secret: workflow-runtime-secret

The POJO generator is not properly handling this part of the schema

Metadata

Metadata

Assignees

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