Skip to content

Commit

Permalink
Add resourceId to superclasses
Browse files Browse the repository at this point in the history
  • Loading branch information
gne committed Jan 2, 2024
1 parent 3db4d7d commit a471207
Showing 1 changed file with 32 additions and 2 deletions.
34 changes: 32 additions & 2 deletions openapi/spec3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2129,6 +2129,7 @@ components:
schemas:
Base:
type: object
x-resourceId: Base
properties:
id:
type: string
Expand All @@ -2155,6 +2156,7 @@ components:

ArkivBase:
type: object
x-resourceId: ArkivBase
allOf:
- $ref: "#/components/schemas/Base"
- properties:
Expand All @@ -2173,8 +2175,8 @@ components:
- journalenhet

Arkiv:
x-resourceId: Arkiv
type: object
x-resourceId: Arkiv
allOf:
- $ref: "#/components/schemas/ArkivBase"
- properties:
Expand All @@ -2185,8 +2187,8 @@ components:
- tittel

Arkivdel:
x-resourceId: Arkivdel
type: object
x-resourceId: Arkivdel
allOf:
- $ref: "#/components/schemas/ArkivBase"
- properties:
Expand All @@ -2201,6 +2203,7 @@ components:
- tittel

Klasse:
type: object
x-resourceId: Klasse
allOf:
- $ref: "#/components/schemas/ArkivBase"
Expand All @@ -2217,6 +2220,8 @@ components:
- tittel

Registrering:
type: object
x-resourceId: Registrering
allOf:
- $ref: "#/components/schemas/ArkivBase"
- type: object
Expand Down Expand Up @@ -2258,6 +2263,7 @@ components:
- dokumentbeskrivelse

Journalpost:
type: object
x-resourceId: Journalpost
allOf:
- $ref: "#/components/schemas/Registrering"
Expand Down Expand Up @@ -2296,6 +2302,8 @@ components:
- saksmappe

Mappe:
type: object
x-resourceId: Mappe
allOf:
- $ref: "#/components/schemas/ArkivBase"
- type: object
Expand Down Expand Up @@ -2327,6 +2335,7 @@ components:
- parent

Saksmappe:
type: object
x-resourceId: Saksmappe
allOf:
- $ref: "#/components/schemas/Mappe"
Expand Down Expand Up @@ -2367,6 +2376,7 @@ components:
- administrativEnhetObjekt

Moetemappe:
type: object
x-resourceId: Moetemappe
allOf:
- $ref: "#/components/schemas/Mappe"
Expand Down Expand Up @@ -2433,6 +2443,7 @@ components:
- moetesak

Moetesak:
type: object
x-resourceId: Moetesak
allOf:
- $ref: "#/components/schemas/Registrering"
Expand Down Expand Up @@ -2492,6 +2503,7 @@ components:
- moetemappe

Utredning:
type: object
x-resourceId: Utredning
allOf:
- $ref: "#/components/schemas/ArkivBase"
Expand Down Expand Up @@ -2527,6 +2539,7 @@ components:
- utredningsdokumenter

Vedtak:
type: object
x-resourceId: Vedtak
allOf:
- $ref: "#/components/schemas/ArkivBase"
Expand Down Expand Up @@ -2574,6 +2587,7 @@ components:
- vedtaksdokumenter

Votering:
type: object
x-resourceId: Votering
allOf:
- $ref: "#/components/schemas/ArkivBase"
Expand Down Expand Up @@ -2607,6 +2621,7 @@ components:
- representerer

Moetesaksbeskrivelse:
type: object
x-resourceId: Moetesaksbeskrivelse
allOf:
- $ref: "#/components/schemas/ArkivBase"
Expand All @@ -2627,6 +2642,7 @@ components:
- tekstFormat

Behandlingsprotokoll:
type: object
x-resourceId: Behandlingsprotokoll
allOf:
- $ref: "#/components/schemas/ArkivBase"
Expand All @@ -2647,6 +2663,7 @@ components:
- tekstFormat

Moetedeltaker:
type: object
x-resourceId: Moetedeltaker
allOf:
- $ref: "#/components/schemas/ArkivBase"
Expand All @@ -2666,6 +2683,7 @@ components:
- moetedeltakerNavn

Korrespondansepart:
type: object
x-resourceId: Korrespondansepart
allOf:
- $ref: "#/components/schemas/ArkivBase"
Expand Down Expand Up @@ -2698,6 +2716,7 @@ components:
- journalpost

Skjerming:
type: object
x-resourceId: Skjerming
allOf:
- $ref: "#/components/schemas/ArkivBase"
Expand All @@ -2716,6 +2735,7 @@ components:
- tilgangsrestriksjon

Identifikator:
type: object
x-resourceId: Identifikator
allOf:
- $ref: "#/components/schemas/ArkivBase"
Expand All @@ -2738,6 +2758,7 @@ components:
maxLength: 500

Bruker:
type: object
x-resourceId: Bruker
allOf:
- $ref: "#/components/schemas/Base"
Expand Down Expand Up @@ -2776,6 +2797,7 @@ components:
- savedSearches

Innsynskrav:
type: object
x-resourceId: Innsynskrav
allOf:
- $ref: "#/components/schemas/Base"
Expand Down Expand Up @@ -2819,6 +2841,7 @@ components:
- innsynskravDel

InnsynskravDel:
type: object
x-resourceId: InnsynskravDel
allOf:
- $ref: "#/components/schemas/Base"
Expand All @@ -2845,6 +2868,7 @@ components:
- journalpost

Enhet:
type: object
x-resourceId: Enhet
allOf:
- $ref: "#/components/schemas/Base"
Expand Down Expand Up @@ -2927,6 +2951,7 @@ components:
- parent

Dokumentbeskrivelse:
type: object
x-resourceId: Dokumentbeskrivelse
allOf:
- $ref: "#/components/schemas/Base"
Expand All @@ -2953,6 +2978,7 @@ components:
- tilknyttetRegistreringSom

Dokumentobjekt:
type: object
x-resourceId: Dokumentobjekt
allOf:
- $ref: "#/components/schemas/Base"
Expand All @@ -2976,6 +3002,7 @@ components:
- sjekksumAlgoritme

Moetedokument:
type: object
x-resourceId: Moetedokument
allOf:
- $ref: "#/components/schemas/Registrering"
Expand All @@ -2988,6 +3015,7 @@ components:
type: string

LagretSoek:
type: object
x-resourceId: LagretSoek
allOf:
- $ref: "#/components/schemas/Base"
Expand All @@ -3000,6 +3028,7 @@ components:
type: string

LagretSak:
type: object
x-resourceId: LagretSak
allOf:
- $ref: "#/components/schemas/Base"
Expand All @@ -3012,6 +3041,7 @@ components:
type: string

ResultList:
type: object
x-resourceId: ResultList
properties:
next:
Expand Down

0 comments on commit a471207

Please sign in to comment.