Skip to content

Clarification: Source Description Object - type parameter #368

@ndenny

Description

@ndenny

In the spec, sourceDescriptions contain name, and url, both required. And then also type, which is not explicitly required - but I don't see anywhere where we say what it should be defaulted to if not set. The JSON schema also does not enforce a value, but does say it's an enum.

In discussion on Slack, @jeremyfiel pointed out that I think this is because we (in fact, probably me!) wanted to allow you to potentially specify other API definition types - e.g. for SOAP, or RAML, etc.

In which case, the JSON schema will need to be more permissive? And even then, I think we need to specify that type is required. Or should we just say that openapi or arazzo is the assumption if not set?

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationquestionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions