Skip to content

main: move old schemas to _archive_ #4435

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Mar 20, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ node_modules/
deploy/
deploy-preview/
coverage/
history
_site/
Gemfile.lock
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ This GitHub project is the starting point for OpenAPI. Here you will find the in

This repository contains [the Markdown sources](versions) for [all published OpenAPI Specification versions](https://spec.openapis.org/). For release notes and release candidate versions, refer to the [releases page](releases).

Each folder in this repository, such as [schemas](schemas) and [tests](tests), should contain folders pertaining to the current and previous versions of the specification.

## See It in Action

If you just want to see it work, check out the [list of current examples](https://learn.openapis.org/examples/).
Expand Down
3 changes: 3 additions & 0 deletions _archive_/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Archive

This folder contains files that are no longer actively maintained.
9 changes: 9 additions & 0 deletions _archive_/schemas/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Archive of outdated JSON Schema Files

> [!TIP]
> JSON Schema files for validating OpenAPI descriptions using current OpenAPI versions are available on https://spec.openapis.org/#openapi-specification-schemas.
>
> These schema files are maintained in the `src/schemas` folder of the corresponding `vX.Y-dev` branch in this repository.

> [!CAUTION]
> Schema files in this folder are not maintained any more and are not intended for productive use.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ const parseYamlFromFile = (filePath) => {

setMetaSchemaOutputFormat(BASIC);

const validateOpenApi = await validate("./schemas/v3.0/schema.yaml");
const folder = './tests/v3.0/pass/';
const validateOpenApi = await validate("./_archive_/schemas/v3.0/schema.yaml");
const folder = './_archive_/schemas/v3.0/pass/';

describe("pass", async () => {
readdirSync(folder, { withFileTypes: true })
Expand Down
File renamed without changes.
54 changes: 0 additions & 54 deletions schemas/v3.1/README.md

This file was deleted.

21 changes: 0 additions & 21 deletions schemas/v3.1/dialect.yaml

This file was deleted.

70 changes: 0 additions & 70 deletions schemas/v3.1/meta.yaml

This file was deleted.

20 changes: 0 additions & 20 deletions schemas/v3.1/schema-base.yaml

This file was deleted.

Loading
Loading