Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dist/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"info": {
"title": "Mastodon API",
"version": "4.5.0",
"description": "Unofficial documentation for the Mastodon API. Generated with [mastodon-openapi](https://github.com/abraham/mastodon-openapi) from [0afc571](https://github.com/mastodon/documentation/commit/0afc57159aecf25fd22522e948c07b4fdad332a3).",
"description": "Unofficial documentation for the Mastodon API. Generated with [mastodon-openapi](https://github.com/abraham/mastodon-openapi) from [0afc571](https://github.com/mastodon/documentation/commit/0afc57159aecf25fd22522e948c07b4fdad332a3). Targets [supported](https://github.com/mastodon/mastodon/security/policy#supported-versions) Mastodon versions.",
"license": {
"name": "GFDL-1.3",
"url": "https://www.gnu.org/licenses/fdl-1.3.en.html"
Expand Down Expand Up @@ -10646,7 +10646,7 @@
]
}
},
"/api/v2/filters/keywords/{id}": {

Check warning on line 10649 in dist/schema.json

View workflow job for this annotation

GitHub Actions / test

no-ambiguous-paths

Paths should resolve unambiguously. Found two ambiguous paths: `/api/v2/filters/{filter_id}/keywords` and `/api/v2/filters/keywords/{id}`.
"get": {
"operationId": "getFiltersKeywordsByIdV2",
"summary": "View a single keyword",
Expand Down Expand Up @@ -11098,7 +11098,7 @@
]
}
},
"/api/v2/filters/statuses/{id}": {

Check warning on line 11101 in dist/schema.json

View workflow job for this annotation

GitHub Actions / test

no-ambiguous-paths

Paths should resolve unambiguously. Found two ambiguous paths: `/api/v2/filters/{filter_id}/keywords` and `/api/v2/filters/statuses/{id}`.
"get": {
"operationId": "getFiltersStatusesByIdV2",
"summary": "View a single status filter",
Expand Down
2 changes: 1 addition & 1 deletion src/generators/SpecBuilder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class SpecBuilder {
}
}

const description = `Unofficial documentation for the Mastodon API. Generated with [mastodon-openapi](https://github.com/abraham/mastodon-openapi) from [${config.mastodonDocsCommit.substring(0, 7)}](https://github.com/mastodon/documentation/commit/${config.mastodonDocsCommit}).`;
const description = `Unofficial documentation for the Mastodon API. Generated with [mastodon-openapi](https://github.com/abraham/mastodon-openapi) from [${config.mastodonDocsCommit.substring(0, 7)}](https://github.com/mastodon/documentation/commit/${config.mastodonDocsCommit}). Targets [supported](https://github.com/mastodon/mastodon/security/policy#supported-versions) Mastodon versions.`;

return {
openapi: '3.1.0',
Expand Down