[ENHANCEMENT]: Make generated openapi spec from backend as detailed and correct as possible

Aperta
#2,404 0 commenti 0 reazioni 2 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@four-random-common-words ci sta già lavorando.

Dal 1/9/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

enhancement server
Description

Currently the openapi json is hand edited in the frontend because the generated openapi spec when last checked is not entirely fitting what is actually returned by the backend.
Make sure that the server generated openapi spec matches current responses and also add a pipeline step so the frontend needs to update and regenerate the zod schemas if the backend changes.

  • Also regard the case that some user responses (also includes in other entities) are filtered based on permissions so only a subset of fields is sometimes returned if the user does not have read permission on users.

Requires both backend and frontend (compare with currently checked in openapi json in frontend and which types are used).

Lingua principale
PHP
Stelle
1.8k
Fork
257
Merge medio
1g 11h
PR unite (30g)
15

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di hashtopolis/server

Tutte le issue di hashtopolis/server

Issue simili

Altre issue su PHP

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.