Skip to content

Commit

Permalink
chore: remove references to original repository
Browse files Browse the repository at this point in the history
  • Loading branch information
jordanshatford committed Mar 21, 2024
1 parent 7fc14c7 commit 93ed66f
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 28 deletions.
1 change: 0 additions & 1 deletion .github/FUNDING.yml

This file was deleted.

30 changes: 15 additions & 15 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,22 +14,22 @@ appearance, race, religion, or sexual identity and orientation.
Examples of behavior that contributes to creating a positive environment
include:

* Using welcoming and inclusive language
* Being respectful of differing viewpoints and experiences
* Gracefully accepting constructive criticism
* Focusing on what is best for the community
* Showing empathy towards other community members
- Using welcoming and inclusive language
- Being respectful of differing viewpoints and experiences
- Gracefully accepting constructive criticism
- Focusing on what is best for the community
- Showing empathy towards other community members

Examples of unacceptable behavior by participants include:

* The use of sexualized language or imagery and unwelcome sexual attention or
advances
* Trolling, insulting/derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or electronic
address, without explicit permission
* Other conduct which could reasonably be considered inappropriate in a
professional setting
- The use of sexualized language or imagery and unwelcome sexual attention or
advances
- Trolling, insulting/derogatory comments, and personal or political attacks
- Public or private harassment
- Publishing others' private information, such as a physical or electronic
address, without explicit permission
- Other conduct which could reasonably be considered inappropriate in a
professional setting

## Our Responsibilities

Expand All @@ -55,8 +55,8 @@ further defined and clarified by project maintainers.
## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported by contacting the project team at info@madebyferdi.com. All
complaints will be reviewed and investigated and will result in a response that
reported by contacting the project team on [GitHub](https://github.com/nicolas-chaulet/openapi-typescript-codegen).
All complaints will be reviewed and investigated and will result in a response that
is deemed necessary and appropriate to the circumstances. The project team is
obligated to maintain confidentiality with regard to the reporter of an incident.
Further details of specific enforcement policies may be posted separately.
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) Ferdi Koomen
Copyright (c) Nicolas Chaulet

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
8 changes: 1 addition & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "0.27.36",
"type": "module",
"description": "Library that generates Typescript clients based on the OpenAPI specification.",
"author": "Ferdi Koomen",
"author": "Nicolas Chaulet",
"homepage": "https://github.com/nicolas-chaulet/openapi-typescript-codegen/",
"repository": {
"type": "git",
Expand All @@ -26,12 +26,6 @@
"angular",
"node"
],
"maintainers": [
{
"name": "Ferdi Koomen",
"email": "[email protected]"
}
],
"main": "./dist/node/index.js",
"types": "./dist/node/index.d.ts",
"bin": {
Expand Down
4 changes: 2 additions & 2 deletions src/index.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ describe('index', () => {

it('downloads and parses v2 without issues', async () => {
await createClient({
input: 'https://raw.githubusercontent.com/ferdikoomen/openapi-typescript-codegen/master/test/spec/v2.json',
input: 'https://raw.githubusercontent.com/nicolas-chaulet/openapi-typescript-codegen/master/test/spec/v2.json',
output: './generated/v2-downloaded/',
write: false,
});
});

it('downloads and parses v3 without issues', async () => {
await createClient({
input: 'https://raw.githubusercontent.com/ferdikoomen/openapi-typescript-codegen/master/test/spec/v3.json',
input: 'https://raw.githubusercontent.com/nicolas-chaulet/openapi-typescript-codegen/master/test/spec/v3.json',
output: './generated/v3-downloaded/',
write: false,
});
Expand Down
1 change: 0 additions & 1 deletion src/openApi/v3/parser/getModel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ export const getModel = (

/**
* if items are a plain array, infer any-of composition
* {@link} https://github.com/ferdikoomen/openapi-typescript-codegen/issues/2062
*/
const arrayItemsDefinition: OpenApiSchema = Array.isArray(definition.items)
? {
Expand Down
1 change: 0 additions & 1 deletion src/utils/enum.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ export const enumKey = (value?: string | number, key?: string) => {
/**
* Enums can't contain hyphens in their name. Additionally, name might've been
* already escaped, so we need to remove quotes around it.
* {@link https://github.com/ferdikoomen/openapi-typescript-codegen/issues/1969}
*/
export const enumName = (name?: string) => {
if (!name) {
Expand Down

0 comments on commit 93ed66f

Please sign in to comment.