Skip to content

generate type / spec Go code when spec is nil #12

@bradrydzewski

Description

@bradrydzewski

abort and ignore types do not have a spec, however, the current Go code generator requires a target spec for all objects. Update the code generation to support this use case and then remove the failure_abort and failure_ignore schemas

oneOf:
- allOf:
  - properties:
      type:
        const: abort
  - properties:
      spec:
        $ref: ./failure_abort.yaml
- allOf:
  - properties:
      type:
        const: ignore
  - properties:
      spec:
        $ref: ./failure_ignore.yaml

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions