Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add license to info block #120

Open
mnahkies opened this issue Apr 22, 2023 · 0 comments
Open

Add license to info block #120

mnahkies opened this issue Apr 22, 2023 · 0 comments
Labels

Comments

@mnahkies
Copy link

Similar vein to #72 - there is now a LICENSE file in the repo which is great, but if it's not too much hassle it would be nice to include this in the specifications themselves. Eg:

info:
  contact:
    email: [email protected]
    name: Stripe Dev Platform Team
    url: 'https://stripe.com'
  description: >-
    The Stripe REST API. Please see https://stripe.com/docs/api for more
    details.
  license:
    name: MIT
    url: https://spdx.org/licenses/MIT
  termsOfService: 'https://stripe.com/us/terms/'
  title: Stripe API
  version: '2022-11-15'

ref: https://spec.openapis.org/oas/v3.0.3#info-object

mnahkies added a commit to mnahkies/openapi-code-generator that referenced this issue Apr 22, 2023
- obtained from https://github.com/stripe/openapi

- licensed as MIT (https://github.com/stripe/openapi/blob/master/LICENSE)
  although this is currently missing from the specification itself
  (see stripe/openapi#120)
mnahkies added a commit to mnahkies/openapi-code-generator that referenced this issue Apr 23, 2023
- obtained from https://github.com/stripe/openapi

- licensed as MIT
(https://github.com/stripe/openapi/blob/master/LICENSE)
  although this is currently missing from the specification itself
  (see stripe/openapi#120)

surfaced numerous issues that are now fixed:
- #50
- #55
- #56
- #57
- #58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants