class Open::Api
- Open::Api
- Reference
- Object
Included Modules
- JSON::Serializable
- YAML::Serializable
Extended Modules
Defined in:
open-api.cropen-api/components.cr
open-api/header.cr
open-api/info.cr
open-api/media_type.cr
open-api/operation.cr
open-api/operation_item.cr
open-api/parameter.cr
open-api/path_item.cr
open-api/ref.cr
open-api/response.cr
open-api/schema.cr
open-api/server.cr
open-api/version.cr
Constant Summary
-
VERSION =
"0.1.3"
Constructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
- .new(info : Open::Api::Info)
- .new(title : String)
Class Method Summary
- .route_meta
- .route_meta=(route_meta : Hash(String, Hash(String, Hash(Symbol, Bool | Hash(Symbol, String) | NamedTuple(method: -> Open::Api::Schema, key: String) | Open::Api::Schema | String | Nil))))
- .schema_refs
- .schema_refs=(schema_refs : Hash(String, Open::Api::Schema))
Instance Method Summary
- #components : Open::Api::Components
- #components=(components : Open::Api::Components)
- #info : Open::Api::Info
- #info=(info : Open::Api::Info)
- #openapi : String
- #openapi=(openapi : String)
- #paths : Open::Api::Paths
- #paths=(paths : Open::Api::Paths)
- #servers : Array(Open::Api::Server)
- #servers=(servers : Array(Open::Api::Server))
Constructor Detail
Class Method Detail
def self.route_meta=(route_meta : Hash(String, Hash(String, Hash(Symbol, Bool | Hash(Symbol, String) | NamedTuple(method: -> Open::Api::Schema, key: String) | Open::Api::Schema | String | Nil))))
#