Skip to content
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

feat!: drop support for current required behavior and just provide the conversion follow specs #179

Merged
merged 1 commit into from
Mar 4, 2022
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
5 changes: 0 additions & 5 deletions aspida.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,6 @@ module.exports = [
outputEachDir: true,
openapi: { inputFile: 'samples/array-one-of.yml' }
},
{
input: 'samples/default-required',
outputEachDir: true,
openapi: { inputFile: 'samples/default-required.yml', requiredConfig: { schema: false } }
},
{
input: 'samples/path-at-mark',
outputEachDir: true,
Expand Down
10 changes: 5 additions & 5 deletions samples/array-one-of/@types/index.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
/* eslint-disable */
export type User = {
id: string
roles: (RoleA | RoleB)[]
id?: string
roles?: (RoleA | RoleB)[]
}

export type RoleA = {
name: string
name?: string
}

export type RoleB = {
name: string
authority: string
name?: string
authority?: string
}
155 changes: 0 additions & 155 deletions samples/default-required.yml

This file was deleted.

136 changes: 0 additions & 136 deletions samples/default-required/$api.ts

This file was deleted.

14 changes: 0 additions & 14 deletions samples/default-required/@types/index.ts

This file was deleted.

Loading