Skip to content

Commit

Permalink
📝 [maykinmedia/open-api-framework#115] Regenerate schema
Browse files Browse the repository at this point in the history
to add translated messages
  • Loading branch information
stevenbal committed Mar 6, 2025
1 parent 487b678 commit b11a090
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 15 deletions.
3 changes: 2 additions & 1 deletion bin/generate_schema.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@ fi

echo "Generating OAS schema"
src/manage.py spectacular \
--file ${OUTPUT_FILE:-./src/openapi.yaml}
--file ${OUTPUT_FILE:-./src/openapi.yaml} \
--lang="nl-nl"
28 changes: 14 additions & 14 deletions src/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ paths:
type: string
enum:
- application/json
description: Content type van de verzoekinhoud.
description: Inhoudstype van de request body.
required: true
tags:
- abonnement
Expand Down Expand Up @@ -392,7 +392,7 @@ paths:
schema:
type: string
format: uuid
description: Unique resource identifier (UUID4)
description: Unieke resource identificatie (UUID4)
required: true
tags:
- abonnement
Expand Down Expand Up @@ -535,14 +535,14 @@ paths:
type: string
enum:
- application/json
description: Content type van de verzoekinhoud.
description: Inhoudstype van de request body.
required: true
- in: path
name: uuid
schema:
type: string
format: uuid
description: Unique resource identifier (UUID4)
description: Unieke resource identificatie (UUID4)
required: true
tags:
- abonnement
Expand Down Expand Up @@ -703,14 +703,14 @@ paths:
type: string
enum:
- application/json
description: Content type van de verzoekinhoud.
description: Inhoudstype van de request body.
required: true
- in: path
name: uuid
schema:
type: string
format: uuid
description: Unique resource identifier (UUID4)
description: Unieke resource identificatie (UUID4)
required: true
tags:
- abonnement
Expand Down Expand Up @@ -869,7 +869,7 @@ paths:
schema:
type: string
format: uuid
description: Unique resource identifier (UUID4)
description: Unieke resource identificatie (UUID4)
required: true
tags:
- abonnement
Expand Down Expand Up @@ -1156,7 +1156,7 @@ paths:
type: string
enum:
- application/json
description: Content type van de verzoekinhoud.
description: Inhoudstype van de request body.
required: true
tags:
- kanaal
Expand Down Expand Up @@ -1312,7 +1312,7 @@ paths:
schema:
type: string
format: uuid
description: Unique resource identifier (UUID4)
description: Unieke resource identificatie (UUID4)
required: true
tags:
- kanaal
Expand Down Expand Up @@ -1457,14 +1457,14 @@ paths:
type: string
enum:
- application/json
description: Content type van de verzoekinhoud.
description: Inhoudstype van de request body.
required: true
- in: path
name: uuid
schema:
type: string
format: uuid
description: Unique resource identifier (UUID4)
description: Unieke resource identificatie (UUID4)
required: true
tags:
- kanaal
Expand Down Expand Up @@ -1627,14 +1627,14 @@ paths:
type: string
enum:
- application/json
description: Content type van de verzoekinhoud.
description: Inhoudstype van de request body.
required: true
- in: path
name: uuid
schema:
type: string
format: uuid
description: Unique resource identifier (UUID4)
description: Unieke resource identificatie (UUID4)
required: true
tags:
- kanaal
Expand Down Expand Up @@ -1795,7 +1795,7 @@ paths:
type: string
enum:
- application/json
description: Content type van de verzoekinhoud.
description: Inhoudstype van de request body.
required: true
tags:
- notificaties
Expand Down

0 comments on commit b11a090

Please sign in to comment.