Skip to content

Commit

Permalink
Add Qiita API v2 openapi.yml (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
nanato12 authored May 9, 2024
1 parent 52b264a commit fd579e2
Show file tree
Hide file tree
Showing 3 changed files with 1,352 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/openapi_yaml_lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: openapi-yaml-lint

on:
pull_request:
paths:
- openapi.yml
- .github/workflows/openapi_yaml_lint.yml

push:
branches:
- develop
paths:
- openapi.yml

jobs:
spectral_lint:
name: Run Spectral
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- uses: stoplightio/spectral-action@latest
with:
file_glob: "openapi.yml"
6 changes: 6 additions & 0 deletions .spectral.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
extends: ["spectral:oas"]
overrides:
- files:
- "openapi.yml"
rules:
oas3-unused-component: off
Loading

0 comments on commit fd579e2

Please sign in to comment.