Skip to content

mollie/openapi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

98 Commits
 
 
 
 

Repository files navigation

Mollie's OpenAPI Specification

This repository contains the OpenAPI specifications for Mollie's API.

Check out the API Reference for the latest, up-to-date documentation of our API.

Files

  • specs.yaml: OpenAPI 3.1 spec matching Mollie's Public API.

Extensions

The specification contains a few fields that help us present the information in ways that are difficult in OpenAPI by default.

x-enumDescriptions

It helps us display a table on the documentation page, where descriptions can be added for each of the enum options.

type: string
enum:
  - EUR
  - GBP
x-enumDescriptions:
  EUR: Euro
  GBP: British Pound

x-readme

It allows us to choose which code snippets are initially shown to users on the documentation page.

x-readme:
  code-samples:
    - language: shell
      code: ...
    - language: php
      code: ...
    - language: node
      code: ...
    - language: python
      code: ...
    - language: ruby
      code: ...

Custom Extensions

x-request

This field allows us to specify a particular request and link it to a response. It's helpful when creating a new example for the Postman Collections.

responses:
  ...
  examples:
    create-payment-example:
      summary: ...
      x-request: requests.yaml#/create-payment-example
      value:
        ...

About

No description, website, or topics provided.

Resources

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •