OpenAPI Best Practices

info-license

general > info-license


Guidance / Message

You should include licensing information.

Examples

valid

openapi: "3.0.0"
info:
  title: example API
  version: "1.0.0"
  license:
    name: Apache 2.0
    url: https://www.apache.org/licenses/LICENSE-2.0

invalid

openapi: "3.0.0"
info:
  title: example API
  version: "1.0.0"

Applies to WebAPI

Constraint

Type: Declarative Validation
TypeRuleset
OrganizationMuleSoft
Published by
MuleSoft Organization
Published onNov 29, 2023
Asset overview

Asset versions for 1.1.x

Asset versions
VersionActions
1.1.0

Tags