1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-03 09:49:20 +02:00

Remove reference to openapi generator

OpenAPI generation crashes so we had to remove them
This commit is contained in:
Chocobozzz 2025-07-08 08:26:00 +02:00
parent 49da883f7e
commit b0d5a6776b
No known key found for this signature in database
GPG key ID: 583A612D890159BE
3 changed files with 9 additions and 13 deletions

View file

@ -31,13 +31,14 @@
<span class="fg-100 fs-7 mx-2">·</span> <span class="fg-100 fs-7 mx-2">·</span>
<span i18n class="fg-100 fs-7">{{ object.type }}</span> <span i18n class="fg-100 fs-7">{{ object.type }}</span>
</h1> </h1>
<my-button class="ms-2 d-none-mw" theme="primary" [routerLink]="object.routerLink" [queryParams]="object.queryParams">{{ object.buttonLabel }}</my-button>
</div> </div>
<div class="video-wrapper" *ngFor="let video of object.videos"> <div class="video-wrapper" *ngFor="let video of object.videos">
<my-video-miniature [video]="video" [user]="userMiniature" [displayVideoActions]="true"></my-video-miniature> <my-video-miniature [video]="video" [user]="userMiniature" [displayVideoActions]="true"></my-video-miniature>
</div> </div>
<my-button class="ms-2 d-none-mw" theme="secondary" [routerLink]="object.routerLink" [queryParams]="object.queryParams">{{ object.buttonLabel }}</my-button>
</div> </div>
</div> </div>
} }

View file

@ -1,7 +1,7 @@
@use 'sass:math'; @use "sass:math";
@use '_variables' as *; @use "_variables" as *;
@use '_mixins' as *; @use "_mixins" as *;
@use '_miniature' as *; @use "_miniature" as *;
.root { .root {
--co-image-height: 78px; --co-image-height: 78px;
@ -34,6 +34,7 @@ my-video-thumbnail {
line-height: 1rem; line-height: 1rem;
font-weight: $font-bold; font-weight: $font-bold;
text-decoration: none; text-decoration: none;
max-width: 300px;
} }
.channel { .channel {

View file

@ -13,13 +13,7 @@ info:
altText: PeerTube Project Homepage altText: PeerTube Project Homepage
description: | description: |
The PeerTube API is built on HTTP(S) and is RESTful. You can use your favorite The PeerTube API is built on HTTP(S) and is RESTful. You can use your favorite
HTTP/REST library for your programming language to use PeerTube. The spec API is fully compatible with HTTP/REST library for your programming language to use PeerTube.
[openapi-generator](https://github.com/OpenAPITools/openapi-generator/wiki/API-client-generator-HOWTO)
which generates a client SDK in the language of your choice - we generate some client SDKs automatically:
- [Python](https://framagit.org/framasoft/peertube/clients/python)
- [Go](https://framagit.org/framasoft/peertube/clients/go)
- [Kotlin](https://framagit.org/framasoft/peertube/clients/kotlin)
See the [REST API quick start](https://docs.joinpeertube.org/api/rest-getting-started) for a few See the [REST API quick start](https://docs.joinpeertube.org/api/rest-getting-started) for a few
examples of using the PeerTube API. examples of using the PeerTube API.