Skip to content

Commit

Permalink
Removed obsolete parameters from OpenAPI specs
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Wolf <git@christianwolf.email>
  • Loading branch information
Leptopoda authored and Christian Wolf committed Mar 17, 2023
1 parent 66b2319 commit 07954bf
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 22 deletions.
10 changes: 0 additions & 10 deletions docs/dev/api/0.1.0/objects.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -110,10 +110,6 @@ Instruction:
Nutrition:
type: object
properties:
"@type":
type: string
example: NutritionInformation
description: Schema.org object description
calories:
type: string
description: The number of calories for the given amount
Expand Down Expand Up @@ -162,8 +158,6 @@ Nutrition:
type: string
description: The number of grams of unsaturated fat
example: 40 g
required:
- "@type"

Recipe:
#type: object
Expand All @@ -172,10 +166,6 @@ Recipe:
- $ref: "#/RecipeStubInformation"
- type: object
properties:
"@type":
type: string
example: "Recipe"
description: Schema.org object type identifier
id:
type: string
description: The index of the recipe. Note the representation as a string as the representation might change in the future.
Expand Down
12 changes: 0 additions & 12 deletions docs/dev/api/0.1.1/objects.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -148,11 +148,6 @@ Instruction:
Nutrition:
type: object
properties:
"@type":
type: string
example: NutritionInformation
description: Schema.org object description
default: NutritionInformation
calories:
type: string
description: The number of calories for the given amount
Expand Down Expand Up @@ -201,8 +196,6 @@ Nutrition:
type: string
description: The number of grams of unsaturated fat
example: 40 g
required:
- "@type"

Recipe:
#type: object
Expand All @@ -211,11 +204,6 @@ Recipe:
- $ref: "#/RecipeStubInformation"
- type: object
properties:
"@type":
type: string
example: "Recipe"
default: Recipe
description: Schema.org object type identifier
id:
type: string
description: The index of the recipe. Note the representation as a string as the representation might change in the future.
Expand Down

0 comments on commit 07954bf

Please sign in to comment.