Skip to content

Commit

Permalink
fix missing type
Browse files Browse the repository at this point in the history
  • Loading branch information
mkhraisha committed Mar 19, 2024
1 parent b80b38b commit 1633096
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,16 +81,17 @@ properties:
description: a list of pollutants that we are tracking the environmental impact of, this is a small non-exhaustive list that we intend to expand.
type: object
properties:
type: array
readOnly: true
const:
- Pollutants
default:
- Pollutants
items:
type: string
enum:
- Pollutants
type:
type: array
readOnly: true
const:
- Pollutants
default:
- Pollutants
items:
type: string
enum:
- Pollutants
CO2:
title: CO2
description: amount of carbon dioxide released into the atmosphere measured in kilograms
Expand Down
12 changes: 12 additions & 0 deletions docs/openapi/openapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2360,6 +2360,18 @@ paths:
$ref: './components/schemas/credentials/EntryNumberCredential.yml'


/schemas/credentials/EnvironmentFootprintCredential.yml:
get:
tags:
- credentials
responses:
'200':
content:
application/yml:
schema:
$ref: './components/schemas/credentials/EnvironmentFootprintCredential.yml'


/schemas/credentials/EventCredential.yml:
get:
tags:
Expand Down

0 comments on commit 1633096

Please sign in to comment.