Skip to content

Sepatrate directories for types #115

@Zarquan

Description

@Zarquan

This is the ideal structure - if the OpenAPI code generator will let us.

The first file in each directory contains the abstract type with discriminator map. Subsequent files contain the individual types.

schema
   |
   +-- types
         |
         +-- executable
         |      |
         |      +-- executable-types.yaml
         |      |
         |      +-- jupyter-notebook.yaml
         |      |
         |      +-- docker-container.yaml
         |      |
         |      \-- singularity-container.yaml
         |
         +-- resources
               |
               +-- data
               |     |
               |     +-- data-resources.yaml
               |     |
               |     +-- simple-data-resource.yaml
               |     |
               |     +-- S3--data-resource.yaml
               |     |
               |     +-- rucio--data-resource.yaml
               |     |
               |     \-- ivoa--data-resource.yaml
               |               
               +-- storage
               |     |
               |     +-- storage-resources.yaml
               |     |
               |     \-- simple-storage-resource.yaml
               |
               +-- compute
                     |
                     +-- compute-resources.yaml
                     |
                     \-- simple-compute-resource.yaml

Metadata

Metadata

Assignees

No one assigned

    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