• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

supabase / auth / 8996091849
69%

Build:
DEFAULT BRANCH: master
Ran 08 May 2024 04:11AM UTC
Jobs 1
Files 116
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

08 May 2024 04:06AM UTC coverage: 65.474%. Remained the same
8996091849

push

github

web-flow
feat: update openapi spec with identity and is_anonymous fields (#1573)

## What kind of change does this PR introduce?

Adds the `Identity` and `is_anonymous` fields to OpenAPI spec. This is
so we can use the `openapi.yml` as a sgeneral reference from which to
generate Hook Payloads, which contain `User` objects.

Identity Fields taken from the [identity
model](https://github.com/supabase/auth/blob/master/internal/api/identity.go)

## More Context

User objects are generated by:

1. Converting the `openapi.yml` into JSONSchema. Currently this is done
via OpenAI though a modified version of [a yml to jsonschema converter
should work with modifications as
well](https://www.npmjs.com/package/yaml-to-json-schema). We don't use
the latter as there's an additional step of converting the output
jsonschema into a format that JSON Faker can accept (adding the
JSONSchema version etc)
2. Using [JSONSchema to generate a fake
payload](https://json-schema-faker.js.org/)

## Use

The plan is to embed the JSONSchema into each Hook example so developers
can copy paste into JSONSchema Faker or similar tool to generate a fake
payload.

8365 of 12776 relevant lines covered (65.47%)

64.73 hits per line

Jobs
ID Job ID Ran Files Coverage
1 8996091849.1 08 May 2024 04:11AM UTC 116
65.47
GitHub Action Run
Source Files on build 8996091849
  • Tree
  • List 116
  • Changed 1
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 86a79df9 on github
  • Prev Build on master (#8973487260)
  • Next Build on master (#8997004849)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc