Skip to content

Commit

Permalink
changed/fixed reexport from openapi3-ts, version bump for 0.6.0-alpha.2
Browse files Browse the repository at this point in the history
  • Loading branch information
eropple committed Mar 9, 2024
1 parent d43b818 commit 2d02c2c
Show file tree
Hide file tree
Showing 3 changed files with 97 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@eropple/fastify-openapi3",
"version": "0.6.0-alpha.1",
"version": "0.6.0-alpha.2",
"author": "Ed Ropple",
"license": "LGPL-3.0",
"type": "module",
Expand Down
4 changes: 1 addition & 3 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
import "./extensions.js";
import * as _OAS31 from "openapi3-ts";

import { oas3Plugin } from "./plugin.js";

export default oas3Plugin;
export { OAS3PluginOptions } from "./plugin.js";

export const OAS31 = _OAS31;
export type * as OAS31 from "./oas31-types.js";

export { schemaType, TaggedSchema } from "./schemas.js";
95 changes: 95 additions & 0 deletions src/oas31-types.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
import {
BaseParameterObject,
CallbackObject,
CallbacksObject,
ComponentsObject,
ContactObject,
ContentObject,
DiscriminatorObject,
EncodingObject,
EncodingPropertyObject,
ExampleObject,
ExamplesObject,
ExternalDocumentationObject,
HeaderObject,
HeadersObject,
ISpecificationExtension,
InfoObject,
LicenseObject,
LinkObject,
LinkParametersObject,
LinksObject,
MediaTypeObject,
OAuthFlowObject,
OAuthFlowsObject,
OpenAPIObject,
OperationObject,
ParameterObject,
ParameterLocation,
ParameterStyle,
PathItemObject,
PathObject,
PathsObject,
ReferenceObject,
RequestBodyObject,
ResponseObject,
ResponsesObject,
SchemaObject,
SchemasObject,
ScopesObject,
SecurityRequirementObject,
SecuritySchemeObject,
SecuritySchemeType,
ServerObject,
ServerVariableObject,
TagObject,
XmlObject,
} from "openapi3-ts";

export {
BaseParameterObject,
CallbackObject,
CallbacksObject,
ComponentsObject,
ContactObject,
ContentObject,
DiscriminatorObject,
EncodingObject,
EncodingPropertyObject,
ExampleObject,
ExamplesObject,
ExternalDocumentationObject,
HeaderObject,
HeadersObject,
ISpecificationExtension,
InfoObject,
LicenseObject,
LinkObject,
LinkParametersObject,
LinksObject,
MediaTypeObject,
OAuthFlowObject,
OAuthFlowsObject,
OpenAPIObject,
OperationObject,
ParameterObject,
ParameterLocation,
ParameterStyle,
PathItemObject,
PathObject,
PathsObject,
ReferenceObject,
RequestBodyObject,
ResponseObject,
ResponsesObject,
SchemaObject,
SchemasObject,
ScopesObject,
SecurityRequirementObject,
SecuritySchemeObject,
SecuritySchemeType,
ServerObject,
ServerVariableObject,
TagObject,
XmlObject,
};

0 comments on commit 2d02c2c

Please sign in to comment.