Skip to content

Commit

Permalink
Merge pull request #149 from hey-api/chore/update-openapi-links
Browse files Browse the repository at this point in the history
chore(docs): update links to openapi spec
  • Loading branch information
jordanshatford authored Mar 26, 2024
2 parents 33a6256 + 293de0d commit e093b95
Show file tree
Hide file tree
Showing 49 changed files with 49 additions and 49 deletions.
2 changes: 1 addition & 1 deletion src/openApi/v2/interfaces/OpenApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import type { OpenApiSecurityScheme } from './OpenApiSecurityScheme';
import type { OpenApiTag } from './OpenApiTag';

/**
* https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md
* {@link} https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md
*/
export interface OpenApi {
basePath?: string;
Expand Down
2 changes: 1 addition & 1 deletion src/openApi/v2/interfaces/OpenApiContact.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#contactObject
* {@link} https://github.com/OAI/OpenAPI-Specification/blob/main/versions/2.0.md#contact-object
*/
export interface OpenApiContact {
name?: string;
Expand Down
2 changes: 1 addition & 1 deletion src/openApi/v2/interfaces/OpenApiExample.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#exampleObject
* {@link} https://github.com/OAI/OpenAPI-Specification/blob/main/versions/2.0.md#example-object
*/
export interface OpenApiExample {
[mimetype: string]: unknown;
Expand Down
2 changes: 1 addition & 1 deletion src/openApi/v2/interfaces/OpenApiExternalDocs.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#externalDocumentationObject
* {@link} https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#external-documentation-object
*/
export interface OpenApiExternalDocs {
description?: string;
Expand Down
2 changes: 1 addition & 1 deletion src/openApi/v2/interfaces/OpenApiHeader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import type { Dictionary } from '../../../types/generic';
import type { OpenApiItems } from './OpenApiItems';

/**
* https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#headerObject
* {@link} https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#header-object
*/
export interface OpenApiHeader {
description?: string;
Expand Down
2 changes: 1 addition & 1 deletion src/openApi/v2/interfaces/OpenApiInfo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import type { OpenApiContact } from './OpenApiContact';
import type { OpenApiLicense } from './OpenApiLicense';

/**
* https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#infoObject
* {@link} https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#info-object
*/
export interface OpenApiInfo {
title: string;
Expand Down
2 changes: 1 addition & 1 deletion src/openApi/v2/interfaces/OpenApiItems.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { WithEnumExtension } from '../../../types/client';

/**
* https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#itemsObject
* {@link} https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#items-object)
*/
export interface OpenApiItems extends WithEnumExtension {
type?: string;
Expand Down
2 changes: 1 addition & 1 deletion src/openApi/v2/interfaces/OpenApiLicense.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#licenseObject
* {@link} https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#license-object
*/
export interface OpenApiLicense {
name: string;
Expand Down
2 changes: 1 addition & 1 deletion src/openApi/v2/interfaces/OpenApiOperation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import type { OpenApiResponses } from './OpenApiResponses';
import type { OpenApiSecurityRequirement } from './OpenApiSecurityRequirement';

/**
* https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#operationObject
* {@link} https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#operation-object
*/
export interface OpenApiOperation {
tags?: string[];
Expand Down
2 changes: 1 addition & 1 deletion src/openApi/v2/interfaces/OpenApiParameter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import type { OpenApiReference } from './OpenApiReference';
import type { OpenApiSchema } from './OpenApiSchema';

/**
* https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#parameterObject
* {@link} https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#parameter-object
*/
export interface OpenApiParameter extends OpenApiReference, WithEnumExtension, WithNullableExtension {
name: string;
Expand Down
2 changes: 1 addition & 1 deletion src/openApi/v2/interfaces/OpenApiPath.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import type { OpenApiParameter } from './OpenApiParameter';
import type { OpenApiReference } from './OpenApiReference';

/**
* https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#pathItemObject
* {@link} https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#path-item-object
*/
export interface OpenApiPath extends OpenApiReference {
get?: OpenApiOperation;
Expand Down
2 changes: 1 addition & 1 deletion src/openApi/v2/interfaces/OpenApiReference.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#referenceObject
* {@link} https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#reference-object
*/
export interface OpenApiReference {
$ref?: string;
Expand Down
2 changes: 1 addition & 1 deletion src/openApi/v2/interfaces/OpenApiResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import type { OpenApiReference } from './OpenApiReference';
import type { OpenApiSchema } from './OpenApiSchema';

/**
* https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#responseObject
* {@link} https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#response-object
*/
export interface OpenApiResponse extends OpenApiReference {
description: string;
Expand Down
2 changes: 1 addition & 1 deletion src/openApi/v2/interfaces/OpenApiResponses.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { OpenApiResponse } from './OpenApiResponse';

/**
* https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#responsesObject
* {@link} https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#responses-object
*/
interface Response {
[httpcode: string]: OpenApiResponse;
Expand Down
2 changes: 1 addition & 1 deletion src/openApi/v2/interfaces/OpenApiSchema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import type { OpenApiReference } from './OpenApiReference';
import type { OpenApiXml } from './OpenApiXml';

/**
* https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#schemaObject
* {@link} https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#schema-object
*/
export interface OpenApiSchema extends OpenApiReference, WithEnumExtension, WithNullableExtension {
title?: string;
Expand Down
2 changes: 1 addition & 1 deletion src/openApi/v2/interfaces/OpenApiSecurityRequirement.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#securityRequirementObject
* {@link} https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#security-requirement-object
*/
export interface OpenApiSecurityRequirement {
[key: string]: string;
Expand Down
2 changes: 1 addition & 1 deletion src/openApi/v2/interfaces/OpenApiSecurityScheme.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { Dictionary } from '../../../types/generic';

/**
* https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#securitySchemeObject
* {@link} https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#security-scheme-object
*/
export interface OpenApiSecurityScheme {
type: 'basic' | 'apiKey' | 'oauth2';
Expand Down
2 changes: 1 addition & 1 deletion src/openApi/v2/interfaces/OpenApiTag.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { OpenApiExternalDocs } from './OpenApiExternalDocs';

/**
* https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#tagObject
* {@link} https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#tag-object
*/
export interface OpenApiTag {
name: string;
Expand Down
2 changes: 1 addition & 1 deletion src/openApi/v2/interfaces/OpenApiXml.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#xmlObject
* {@link} https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#xml-object
*/
export interface OpenApiXml {
name?: string;
Expand Down
2 changes: 1 addition & 1 deletion src/openApi/v3/interfaces/OpenApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import type { OpenApiServer } from './OpenApiServer';
import type { OpenApiTag } from './OpenApiTag';

/**
* https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.2.md
* {@link} https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.1.0.md
*/
export interface OpenApi {
components?: OpenApiComponents;
Expand Down
2 changes: 1 addition & 1 deletion src/openApi/v3/interfaces/OpenApiCallback.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import type { OpenApiPath } from './OpenApiPath';
import type { OpenApiReference } from './OpenApiReference';

/**
* https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.2.md#callbackObject
* {@link} https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.1.0.md#callback-object
*/
interface Callback {
[key: string]: OpenApiPath;
Expand Down
2 changes: 1 addition & 1 deletion src/openApi/v3/interfaces/OpenApiComponents.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import type { OpenApiSchema } from './OpenApiSchema';
import type { OpenApiSecurityScheme } from './OpenApiSecurityScheme';

/**
* https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.2.md#componentsObject
* {@link} https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.1.0.md#components-object
*/
export interface OpenApiComponents {
schemas?: Dictionary<OpenApiSchema>;
Expand Down
2 changes: 1 addition & 1 deletion src/openApi/v3/interfaces/OpenApiContact.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.2.md#contactObject
* {@link} https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.1.0.md#contact-object
*/
export interface OpenApiContact {
name?: string;
Expand Down
2 changes: 1 addition & 1 deletion src/openApi/v3/interfaces/OpenApiDiscriminator.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { Dictionary } from '../../../types/generic';

/**
* https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.2.md#discriminatorObject
* {@link} https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.1.0.md#discriminator-object
*/
export interface OpenApiDiscriminator {
propertyName: string;
Expand Down
2 changes: 1 addition & 1 deletion src/openApi/v3/interfaces/OpenApiEncoding.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import type { Dictionary } from '../../../types/generic';
import type { OpenApiHeader } from './OpenApiHeader';

/**
* https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.2.md#encodingObject
* {@link} https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.1.0.md#encoding-object
*/
export interface OpenApiEncoding {
contentType?: string;
Expand Down
2 changes: 1 addition & 1 deletion src/openApi/v3/interfaces/OpenApiExample.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { OpenApiReference } from './OpenApiReference';

/**
* https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.2.md#exampleObject
* {@link} https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.1.0.md#example-object
*/
export interface OpenApiExample extends OpenApiReference {
summary?: string;
Expand Down
2 changes: 1 addition & 1 deletion src/openApi/v3/interfaces/OpenApiExternalDocs.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.2.md#externalDocumentationObject
* {@link} https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.1.0.md#external-documentation-object
*/
export interface OpenApiExternalDocs {
description?: string;
Expand Down
2 changes: 1 addition & 1 deletion src/openApi/v3/interfaces/OpenApiHeader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import type { OpenApiReference } from './OpenApiReference';
import type { OpenApiSchema } from './OpenApiSchema';

/**
* https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.2.md#headerObject
* {@link} https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.1.0.md#header-object
*/
export interface OpenApiHeader extends OpenApiReference {
description?: string;
Expand Down
2 changes: 1 addition & 1 deletion src/openApi/v3/interfaces/OpenApiInfo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import type { OpenApiContact } from './OpenApiContact';
import type { OpenApiLicense } from './OpenApiLicense';

/**
* https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.2.md#infoObject
* {@link} https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.1.0.md#info-object
*/
export interface OpenApiInfo {
title: string;
Expand Down
2 changes: 1 addition & 1 deletion src/openApi/v3/interfaces/OpenApiLicense.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.2.md#licenseObject
* {@link} https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.1.0.md#license-object
*/
export interface OpenApiLicense {
name: string;
Expand Down
2 changes: 1 addition & 1 deletion src/openApi/v3/interfaces/OpenApiLink.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import type { OpenApiReference } from './OpenApiReference';
import type { OpenApiServer } from './OpenApiServer';

/**
* https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.2.md#linkObject
* {@link} https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.1.0.md#link-object
*/
export interface OpenApiLink extends OpenApiReference {
operationRef?: string;
Expand Down
2 changes: 1 addition & 1 deletion src/openApi/v3/interfaces/OpenApiMediaType.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import type { OpenApiReference } from './OpenApiReference';
import type { OpenApiSchema } from './OpenApiSchema';

/**
* https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.2.md#mediaTypeObject
* {@link} https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.1.0.md#media-type-object
*/
export interface OpenApiMediaType extends OpenApiReference {
schema?: OpenApiSchema;
Expand Down
2 changes: 1 addition & 1 deletion src/openApi/v3/interfaces/OpenApiOAuthFlow.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { Dictionary } from '../../../types/generic';

/**
* https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.2.md#oauthFlowObject
* {@link} https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.1.0.md#oauth-flow-object
*/
export interface OpenApiOAuthFlow {
authorizationUrl: string;
Expand Down
2 changes: 1 addition & 1 deletion src/openApi/v3/interfaces/OpenApiOAuthFlows.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { OpenApiOAuthFlow } from './OpenApiOAuthFlow';

/**
* https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.2.md#oauthFlowsObject
* {@link} https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.1.0.md#oauth-flows-object
*/
export interface OpenApiOAuthFlows {
implicit?: OpenApiOAuthFlow;
Expand Down
2 changes: 1 addition & 1 deletion src/openApi/v3/interfaces/OpenApiOperation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import type { OpenApiSecurityRequirement } from './OpenApiSecurityRequirement';
import type { OpenApiServer } from './OpenApiServer';

/**
* https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.2.md#operationObject
* {@link} https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.1.0.md#operation-object
*/
export interface OpenApiOperation {
tags?: string[];
Expand Down
2 changes: 1 addition & 1 deletion src/openApi/v3/interfaces/OpenApiParameter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import type { OpenApiReference } from './OpenApiReference';
import type { OpenApiSchema } from './OpenApiSchema';

/**
* https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.2.md#parameterObject
* {@link} https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.1.0.md#parameter-object
*/
export interface OpenApiParameter extends OpenApiReference {
name: string;
Expand Down
2 changes: 1 addition & 1 deletion src/openApi/v3/interfaces/OpenApiPath.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import type { OpenApiParameter } from './OpenApiParameter';
import type { OpenApiServer } from './OpenApiServer';

/**
* https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.2.md#pathItemObject
* {@link} https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.1.0.md#path-item-object
*/
export interface OpenApiPath {
delete?: OpenApiOperation;
Expand Down
2 changes: 1 addition & 1 deletion src/openApi/v3/interfaces/OpenApiPaths.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { OpenApiPath } from './OpenApiPath';

/**
* https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.2.md#pathsObject
* {@link} https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.1.0.md#paths-object
*/
export interface OpenApiPaths {
[path: string]: OpenApiPath;
Expand Down
2 changes: 1 addition & 1 deletion src/openApi/v3/interfaces/OpenApiReference.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.2.md#referenceObject
* {@link} https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.1.0.md#reference-object
*/
export interface OpenApiReference {
$ref?: string;
Expand Down
2 changes: 1 addition & 1 deletion src/openApi/v3/interfaces/OpenApiRequestBody.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import type { OpenApiMediaType } from './OpenApiMediaType';
import type { OpenApiReference } from './OpenApiReference';

/**
* https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.2.md#requestBodyObject
* {@link} https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.1.0.md#request-body-object
*/
export interface OpenApiRequestBody extends OpenApiReference {
'x-body-name'?: string;
Expand Down
2 changes: 1 addition & 1 deletion src/openApi/v3/interfaces/OpenApiResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import type { OpenApiMediaType } from './OpenApiMediaType';
import type { OpenApiReference } from './OpenApiReference';

/**
* https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.2.md#responseObject
* {@link} https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.1.0.md#response-object
*/
export interface OpenApiResponse extends OpenApiReference {
description: string;
Expand Down
2 changes: 1 addition & 1 deletion src/openApi/v3/interfaces/OpenApiResponses.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import type { OpenApiReference } from './OpenApiReference';
import type { OpenApiResponse } from './OpenApiResponse';

/**
* https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.2.md#responsesObject
* {@link} https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.1.0.md#responses-object
*/
interface Response {
[httpcode: string]: OpenApiResponse;
Expand Down
2 changes: 1 addition & 1 deletion src/openApi/v3/interfaces/OpenApiSchema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import type { OpenApiReference } from './OpenApiReference';
import type { OpenApiXml } from './OpenApiXml';

/**
* https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.2.md#schemaObject
* {@link} https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.1.0.md#schema-object
*/
export interface OpenApiSchema extends OpenApiReference, WithEnumExtension {
additionalProperties?: boolean | OpenApiSchema;
Expand Down
2 changes: 1 addition & 1 deletion src/openApi/v3/interfaces/OpenApiSecurityRequirement.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.2.md#securityRequirementObject
* {@link} https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.1.0.md#security-requirement-object
*/
export interface OpenApiSecurityRequirement {
[name: string]: string;
Expand Down
2 changes: 1 addition & 1 deletion src/openApi/v3/interfaces/OpenApiSecurityScheme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import type { OpenApiOAuthFlows } from './OpenApiOAuthFlows';
import type { OpenApiReference } from './OpenApiReference';

/**
* https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.2.md#securitySchemeObject
* {@link} https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.1.0.md#security-scheme-object
*/
export interface OpenApiSecurityScheme extends OpenApiReference {
type: 'apiKey' | 'http' | 'oauth2' | 'openIdConnect';
Expand Down
2 changes: 1 addition & 1 deletion src/openApi/v3/interfaces/OpenApiServer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import type { Dictionary } from '../../../types/generic';
import type { OpenApiServerVariable } from './OpenApiServerVariable';

/**
* https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.2.md#serverObject
* {@link} https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.1.0.md#server-object
*/
export interface OpenApiServer {
url: string;
Expand Down
2 changes: 1 addition & 1 deletion src/openApi/v3/interfaces/OpenApiServerVariable.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { WithEnumExtension } from '../../../types/client';

/**
* https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.2.md#serverVariableObject
* {@link} https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.1.0.md#server-variable-object
*/
export interface OpenApiServerVariable extends WithEnumExtension {
enum?: (string | number)[];
Expand Down
Loading

0 comments on commit e093b95

Please sign in to comment.