MCPcopy
hub / github.com/swagger-api/swagger-core

github.com/swagger-api/swagger-core @swagger-project_2.10-1.3.1 sqlite

repository ↗ · DeepWiki ↗ · release swagger-project_2.10-1.3.1 ↗
1,419 symbols 2,624 edges 215 files 8 documented · 1%
README

Swagger Core library

Build Status

See the Wiki!

The github wiki contains documentation, samples, etc. Start there

Where to get help!

Search the swagger google groups for previously asked questions. Join #swagger on irc.freenode.net to talk to interesting human beings. And if you find a bug, file it in github:

Get started with Swagger!

See the guide on getting started with swagger to get started with adding swagger to your API.

Overview

This is a project to build the swagger-core library, which is required for the Wordnik implementation of the Swagger spec. You can find out more about both the spec and the framework at http://swagger.wordnik.com. For more information about Wordnik's APIs, please visit http://developer.wordnik.com.

Change History

If you're interested in the change history of swagger and the swagger-core framework, see here.

Prerequisites

You need the following installed and available in your $PATH:

  • - Java 1.6 or greater (http://java.oracle.com)
  • - Apache maven 3.0.3 or greater (http://maven.apache.org/) ### To build from source (currently 1.3.1)
    # first time building locally
    mvn -N
    
    Subsequent builds:
    mvn install
    
    This will build the modules and sample apps. Of course if you don't want to build locally you can grab artifacts from maven central: `http://repo1.maven.org/maven2/com/wordnik/` ## Sample Apps There are a number of sample apps in the `samples` folder: [java-jaxrs](https://github.com/wordnik/swagger-core/tree/master/samples/java-jaxrs/README.md) Java-based swagger server with JAX-RS [scala-jaxrs](https://github.com/wordnik/swagger-core/tree/master/samples/scala-jaxrs/README.md) Scala-based swagger server with JAX-RS [scala-jaxrs-apm](https://github.com/wordnik/swagger-core/tree/master/samples/scala-jaxrs-apm/README.md) Scala-based swagger server using wordnik-oss utils for Application Performance Monitoring (APM) To run a sample app after initial compile:
    # run scala-jaxrs sample app
    cd samples/scala-jaxrs
    
    mvn jetty:run
    
    And the [Play2](http://playframework.org) samples: [java-play2](https://github.com/wordnik/swagger-core/tree/master/samples/java-play2) Java-based Play2 sample app [scala-play2](https://github.com/wordnik/swagger-core/tree/master/samples/scala-play2) Scala-based Play2 sample app To run the Play2 sample apps:
    cd samples/java-play2
    
    play run
    
    License ------- Copyright 2013 Reverb Technologies, Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at [apache.org/licenses/LICENSE-2.0](http://www.apache.org/licenses/LICENSE-2.0) Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
  • Core symbols most depended-on inside this repo

    require
    called by 45
    samples/java-grails2/web-app/lib/shred.bundle.js
    require
    called by 35
    samples/no-server/src/main/webapp/lib/shred.bundle.js
    log
    called by 30
    samples/scala-oauth-authorization-server/src/main/webapp/jso.js
    b
    called by 24
    samples/no-server/src/main/webapp/lib/underscore-min.js
    b
    called by 24
    samples/java-grails2/web-app/lib/underscore-min.js
    j
    called by 21
    samples/no-server/src/main/webapp/lib/highlight.7.3.pack.js
    j
    called by 21
    samples/java-grails2/web-app/lib/highlight.7.3.pack.js
    JsonResponse
    called by 20
    samples/java-play2/app/controllers/BaseApiController.java

    Shape

    Method 687
    Function 571
    Class 158
    Enum 3

    Languages

    Java60%
    TypeScript40%

    Modules by API surface

    samples/scala-oauth-authorization-server/src/main/webapp/lib/jquery-1.8.0.min.js60 symbols
    samples/no-server/src/main/webapp/lib/jquery-1.8.0.min.js60 symbols
    samples/java-grails2/web-app/lib/jquery-1.8.0.min.js60 symbols
    samples/no-server/src/main/webapp/lib/shred.bundle.js40 symbols
    samples/java-grails2/web-app/lib/shred.bundle.js40 symbols
    samples/no-server/src/main/webapp/swagger-ui.js29 symbols
    samples/java-grails2/web-app/swagger-ui.js29 symbols
    samples/no-server/src/main/webapp/lib/highlight.7.3.pack.js23 symbols
    samples/java-grails2/web-app/lib/highlight.7.3.pack.js23 symbols
    samples/scala-oauth-authorization-server/src/main/webapp/lib/modernizr-2.5.3.min.js21 symbols
    samples/scala-oauth-authorization-server/src/main/webapp/js/libs/modernizr-2.5.3.min.js21 symbols
    samples/no-server/src/main/webapp/swagger-ui.min.js20 symbols

    Dependencies from manifests, versioned

    ${project.groupId}:swagger-jaxrs_2.10
    ch.qos.logback:logback-classic1.0.9 · 1×
    ch.qos.logback:logback-core
    com.fasterxml.jackson.core:jackson-annotations
    com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider2.0.0 · 1×
    com.fasterxml.jackson.module:jackson-module-jsonSchema2.1.0 · 1×
    com.fasterxml.jackson.module:jackson-module-scala_2.10
    com.sun.jersey.contribs:jersey-multipart
    com.sun.jersey:jersey-bundle
    com.sun.jersey:jersey-client
    com.sun.jersey:jersey-core
    com.sun.jersey:jersey-server

    For agents

    $ claude mcp add swagger-core \
      -- python -m otcore.mcp_server <graph>

    ⬇ download graph artifact