The Notion API reference is obviously generated from an OpenAPI spec. However I can't find anywhere to download the YAML or JSON source doc (which would be useful).
Has anyone found it?
The Notion API reference is obviously generated from an OpenAPI spec. However I can't find anywhere to download the YAML or JSON source doc (which would be useful).
Has anyone found it?
There doesn't seem to be anything so far. You could follow this discussion to keep yourself updated.
The discussion page @FruitVodka linked does not exists, but I managed to get an functioning OpenAPI YAML from Notion Postman Collection.
First I exported it to a Postman JSON using the UI.
Then you can use postman-to-openapi to convert it to a OpenAPI YAML as addressed here.
>> npm i postman-to-openapi -g
>> p2o ./path/to/PostmantoCollection.json -f ./path/to/result.yml```